Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bhansconnect/rcc
The Roc C Compiler
https://github.com/bhansconnect/rcc
compiler roc-lang
Last synced: 11 days ago
JSON representation
The Roc C Compiler
- Host: GitHub
- URL: https://github.com/bhansconnect/rcc
- Owner: bhansconnect
- License: bsd-3-clause
- Created: 2023-03-11T02:46:39.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-22T18:24:36.000Z (almost 2 years ago)
- Last Synced: 2024-04-16T04:18:49.968Z (9 months ago)
- Topics: compiler, roc-lang
- Language: Rust
- Homepage:
- Size: 58.6 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RCC: The Roc C Compiler
This is just a fun little test bed for trying to push the performance of the Roc programming language.
This will probably never be a functioning compiler. It may almost never be worked on.
That said, I hope to get some decent pieces complete to do some performance tests.The theoretical end goal would be to create a ISO C compilant compiler (first C99 then later specs) that is competitive (hopefully faster than) [tcc](https://www.bellard.org/tcc/).
It of course would be only focused on dev builds. It would maybe do some minor optimization or half decent code gen.
One day, who knows it might even contain the linker.Anyway, for now, the goal is to make a basic preprocessor.
I found [c-testsuite](https://github.com/c-testsuite/c-testsuite) which may be a good source of test cases for the compiler.