c2compiler
ocean
c2compiler | ocean | |
---|---|---|
1 | 9 | |
745 | 170 | |
1.7% | - | |
9.4 | 0.0 | |
10 days ago | over 2 years ago | |
C | C | |
Apache License 2.0 | 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.
c2compiler
-
Interview with C3 language creator, Christoffer Lerno [video]
I discovered C3 from Lerno himself when he was participating in C2's development [1], 6 years ago already; Goodness gracious, time literally flies!
https://github.com/c2lang/c2compiler
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)
What are some alternatives?
MemeAssembly - A Meme-based programming language
imp - Imp is a statically typed and compiled scripting language with the goal of increasing programmer confidence.
holyc-lang - HolyC compiler & transpiler
flex - The Fast Lexical Analyzer - scanner generator for lexing in C and C++
CSpydr - A static typed low-level compiled programming language inspired by Rust and C
ravi-compiler - Parser and compiler for Ravi and Lua
cognate - A human readable quasi-concatenative programming language
shecc - A self-hosting and educational C optimizing compiler
umka-lang - Umka: a statically typed embeddable scripting language
mini-c - Dr Strangehack, or: how to write a self-hosting C compiler in 10 hours
jstar - A lightweight embeddable scripting language
Cwerg - The best C-like language that can be implemented in 10kLOC.