Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/paulo-d2000/fukompiler
FUKompiler is a basic C compiler written in C++
https://github.com/paulo-d2000/fukompiler
Last synced: about 2 months ago
JSON representation
FUKompiler is a basic C compiler written in C++
- Host: GitHub
- URL: https://github.com/paulo-d2000/fukompiler
- Owner: Paulo-D2000
- Created: 2024-03-10T16:05:57.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-03-11T19:53:42.000Z (10 months ago)
- Last Synced: 2024-10-31T04:34:52.307Z (2 months ago)
- Language: C++
- Size: 11.7 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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```