[–] parallax_error 3mo ago ↗ Very cool! I can’t imagine writing everything in C, I’m currently learning this in OCaml which seems nicer for a project like this.
[–] pjmlp 3mo ago ↗ Having it all in C brings back memories from "Compiler Design in C" a famous book for its time, printed in 1990.https://holub.com/compiler/ [–] zar1048576 3mo ago ↗ I remember reading that book (along with the Dragon book!)
[–] skyfantom 3mo ago ↗ This hopefully can be useful as well https://space4links.com/r/writing-a-compiler [–] zar1048576 3mo ago ↗ What a fantastic resource! Thanks for sharing!
[–] Muhammad523 3mo ago ↗ I feel like interpreters and compilers were trendy in 2015/2016, bu i'm too young to know. Am i right?
[–] mzs 3mo ago ↗ "Part 64: Self-compilation on an 8-bit CPU"Unlike how a bunch of projects end right as they start to get good, this has a great ending. Thank you
[–] cxr 3mo ago ↗ (2020)Previously:12 comments; 156 points. 2022 November 29. <https://news.ycombinator.com/item?id=33788013>67 comments; 484 points. 2020 January 8. <https://news.ycombinator.com/item?id=21968420>
11 comments
[ 0.16 ms ] story [ 143 ms ] threadhttps://holub.com/compiler/
Unlike how a bunch of projects end right as they start to get good, this has a great ending. Thank you
Previously:
12 comments; 156 points. 2022 November 29. <https://news.ycombinator.com/item?id=33788013>
67 comments; 484 points. 2020 January 8. <https://news.ycombinator.com/item?id=21968420>