Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/densinh/epicalyx
A toy C compiler
https://github.com/densinh/epicalyx
Last synced: about 2 months ago
JSON representation
A toy C compiler
- Host: GitHub
- URL: https://github.com/densinh/epicalyx
- Owner: DenSinH
- Created: 2021-01-11T15:27:47.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-04-13T20:04:20.000Z (9 months ago)
- Last Synced: 2024-04-14T09:03:26.089Z (9 months ago)
- Language: C++
- Size: 10.3 MB
- Stars: 13
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## TODO:
- some pre-processor directives
- struct/union sized fields
- optimize `tests/suites/scctests/cc/execute/0033-ptrindec.c` example
- ExpressionParser cast -> unary in `0160-cpp_if.c`
- optimize pointer adds / loc addrs in `0139-ptr_ary.c`
## Unsupported
- `_Generic` related statements
- Empty argument names for external function definitions
```C
void func(int) {
return;
}
```
- Array size `static` and `type-specifier` declarations
```C
int test[static 12];
```
- Identifier lists in K&R style functions
```C
void func(identifier-list)
declaration-list
{
body
}
```
e.g:
```C
void func(x) int x;
```