Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/Paulo-D2000/FUKompiler

FUKompiler is a basic C compiler written in C++
https://github.com/Paulo-D2000/FUKompiler

Last synced: 2 months ago
JSON representation

FUKompiler is a basic C compiler written in C++

Awesome Lists containing this project

README

        

# FUKompiler
FUKompiler is a basic C compiler written in C++

### Usage Example :
```FUK ..\example\test.c```

### Supports:
- Literals: [int] `0`, [char] `'c'`, [string] `"text"`
- Keywords: `return`
- Identifiers (Types): `int`, `char`
- Variables (definition): `Identifier varname = Literal;`
- Functions with the signature:
```cpp
Identifier FuncName() {
...
return Literal;
}
```

#### *EXPERIMENTAL -> Python3 Target only*

```FUK ..\example\test.c > output.py```\
```python3 ./output.py```