ocean
mini-c
ocean | mini-c | |
---|---|---|
9 | - | |
170 | 521 | |
- | - | |
0.0 | 0.0 | |
over 2 years ago | almost 3 years ago | |
C | C | |
BSD 3-clause "New" or "Revised" License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ocean
- A work-in-progress C compiler from scratch
- Show HN: A work-in-progress C compiler from scratch
-
A work in progress C compiler from scratch
Can't edit my original reply anymore, but fair point, I've changed the keyword 'function' in the AST to a function return type instead. There's no error handling done yet to check whether the variable receiving the function return data matches the function return type, but it's on my todo list.
https://github.com/riicchhaarrd/ocean/commit/0618e0810c8d437...
Then again in C it would work aswell if you type casted the types.
const char *f()
-
Hacker News top posts: Aug 3, 2021
Show HN: A work in progress C compiler from scratch\ (0 comments)
mini-c
We haven't tracked posts mentioning mini-c yet.
Tracking mentions began in Dec 2020.
What are some alternatives?
ravi-compiler - Parser and compiler for Ravi and Lua
frameworks - Microarchitectural attack development frameworks for prototyping attacks in native code (C, C++, ASM) and in the browser
imp - Imp is a statically typed and compiled scripting language with the goal of increasing programmer confidence.
mass - A compiler for a new language focusing on compile-time execution and no LLVM dependency.
flex - The Fast Lexical Analyzer - scanner generator for lexing in C and C++
pl0c - Self-hosting PL/0 to C compiler to teach basic compiler construction from a practical, hands-on perspective.