An open API service indexing awesome lists of open source software.

https://github.com/sadkeyvanfar/language-lab

Samples of different programming languages
https://github.com/sadkeyvanfar/language-lab

bash c clojure cobol fortran haskell java javascript kotlin make pascal perl python ruby shell sql

Last synced: 16 days ago
JSON representation

Samples of different programming languages

Awesome Lists containing this project

README

          

# πŸ§ͺ Language Lab

**Status:** πŸ› οΈ *Active – Educational Sample Code Repository*

---

## Overview

**Language Lab** is a curated collection of **simple and educational sample programs** organized by language. It’s designed to help learners explore and compare the **basics of programming syntax and features** across multiple languages.

---

## Project Structure

Each language folder contains topics such as:
- Syntax basics
- Input/Output
- Control structures
- Threading or concurrency
- System calls (where applicable)

---

## Purpose

- Provide **hands-on learning** through runnable code samples.
- Act as a **reference or playground** for exploring different programming styles and patterns.
- Help newcomers understand **how core concepts differ or overlap** across languages.

---

## Getting Started

1. Clone the repository:
```bash
git clone https://github.com/your-username/language-lab.git
cd language-lab
```

2. Navigate to the language you want to explore:
```bash
cd c/src/
```

3. Compile & run (example for C with Make):
```
make
./build/loop-example
```

πŸ’‘ Each language folder may include its own Makefile, IDE tasks, or build instructions.

## Requirements

- C/C++: `gcc`, `clang`, or LLVM toolchain
- Java: JDK 8+
- Fortran: `gfortran` or equivalent, ...
- `make` or `cmake` for building (where applicable)
- Basic understanding of programming fundamentals

---

## Samples & Topics

You’ll find samples grouped under folders like:

- `basic/` – core syntax, types, loops, functions
- `io/` – file and console input/output
- `threading/` – simple multithreading examples
- `syscalls/` – low-level system interactions (C)

---

## License

Licensed under the **Apache License**.
Feel free to reuse, modify, and share.