nqcc
nqcc copied to clipboard
Which repository to follow along with the tutorial
@nlsandler ,
Hi
Many thanks for stacking this up on the Internet and for all your efforts into it. I was looking for something along this part when I came across your incremental compiler write-up for a C language.
My question here is for the tutorials should I following the Ocaml repository? But parser implementation in the tutorials are still done in Python and not in Ocaml, so I am a bit confused. Please explain!
Many thanks!
Hear from you soon!
God blesses!!!
Best regards, Sanyaade
I'm not entirely sure that the project is still being worked on. My guess on the different languages is that the parser is outlined in a python-like pseudocode while the example compiler is written in OCaml. I'd suggest writing your own compiler in your own preferred language as you follow along; I'm currently writing one in C with the hope of eventually being able to compile it within itself (definitely not my first choice, but the platform I'm developing for doesn't currently have an onboarding compiler for any language).
@21aslade
Many thanks for your reply. I did play around it but I am now looking at start on my own from scratch just like everyone else take a deep dive and learn along.
God blesses!!!
Best regards, Sanyaade