cproc
fpga_craft
Our great sponsors
cproc | fpga_craft | |
---|---|---|
10 | 7 | |
665 | 193 | |
- | - | |
6.8 | 4.4 | |
7 days ago | over 2 years ago | |
C | C | |
GNU General Public License v3.0 or later | Apache License 2.0 |
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.
cproc
-
Oasis – a small, statically-linked Linux system
Michaelforney has also built croc [1], a qbe based C compiler. Really impressive!
- List of (open source) C compilers
- Hand-optimizing the TCC code generator
-
Minias – A mini x86-64 assembler for fun and learning
A word of warning for those wondering: this is not for Intel syntax, despite referencing the Intel doc.
Minias can assemble itself
...but it's written in C and uses a parser generator? IMHO it feels a bit backwards --- and perhaps even a bit cheating if you're doing this for a "bootstrap pilgrimage" --- to write a lower-level tool in a higher-level language. On the other hand, the same author also links to a C compiler in C, without a parser generator: https://github.com/michaelforney/cproc
-
Hacker News top posts: Aug 20, 2021
Cproc C Compiler\ (29 comments)
- Cproc C Compiler
fpga_craft
-
Hand-optimizing the TCC code generator
Thanks! I feel like I actually understand that verilog code! Do you ever see the "rendered" state on the FPGA, or is that all abstracted away?
Would you recommend one of those FPGAs over another? I know iCE40 from this amazing project (https://github.com/nickmqb/fpga_craft) so maybe I'll just get that!
- FPGA Advent Calendar
- FPGA craft - A voxel game/Minecraft clone for the iCE40 UP5K FPGA (for the iCEBreaker board).
- fpga_craft: a Minecraft clone for the iCE40 UP5K
What are some alternatives?
pl0c - Self-hosting PL/0 to C compiler to teach basic compiler construction from a practical, hands-on perspective.
MinecraftHDL - A Verilog synthesis flow for Minecraft redstone circuits
qbe-rs - QBE IR in natural Rust data structures
minias - A mini x86-64 assembler for fun and learning.
projf-explore - Project F brings FPGAs to life with exciting open-source designs you can build on.
unix - Mirror of the Restoration of 1st Edition UNIX kernel sources from pdf document.
c4 - C in four functions
manim - A community-maintained Python framework for creating mathematical animations.
meson - The Meson Build System
GLFW - A multi-platform library for OpenGL, OpenGL ES, Vulkan, window and input