ocean
Programming language that compiles into a x86 ELF executable. (by riicchhaarrd)
ravi-compiler
Parser and compiler for Ravi and Lua (by dibyendumajumdar)
ocean | ravi-compiler | |
---|---|---|
9 | 2 | |
170 | 68 | |
- | - | |
0.0 | 0.0 | |
over 2 years ago | over 2 years ago | |
C | C | |
BSD 3-clause "New" or "Revised" License | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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
Posts with mentions or reviews of ocean.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-08-03.
- 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)
ravi-compiler
Posts with mentions or reviews of ravi-compiler.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-12-16.
-
Working on a Lua to machine-code compiler
hi, you may find my project https://github.com/dibyendumajumdar/ravi-compiler to be of interest
-
A new compiler for Lua and Ravi that can also generate code AOT
The compiler is work in progress but can handle a large subset of Ravi code at the moment. Full details are available at the Github project.
What are some alternatives?
When comparing ocean and ravi-compiler you can also consider the following projects:
imp - Imp is a statically typed and compiled scripting language with the goal of increasing programmer confidence.
pl0c - Self-hosting PL/0 to C compiler to teach basic compiler construction from a practical, hands-on perspective.
flex - The Fast Lexical Analyzer - scanner generator for lexing in C and C++
stutter - Implement a Lisp, in C, from scratch, no libs
shecc - A self-hosting and educational C optimizing compiler
lua-aot-5.4 - An ahead-of-time compiler for Lua 5.4