Ask HN: Resources for building a programming language?
1–10 of 87 posts
Re: Ask HN: Resources for building a programming language?
#2If you are building an interpreter too this was a great inspiration: http://luaforge.net/docman/83/98/ANoFrillsIntroToLua51VMInst...
Re: Ask HN: Resources for building a programming language?
#3Hi, for the parser and compiler this helped me a lot: https://compilers.iecc.com/crenshaw/ If you are building an interpreter too this was a great inspiration: http://luaforge.net/docman/83/98/ANoFrillsIntroToLua51VMInst...
Re: Ask HN: Resources for building a programming language?
#4That will get you started rediculously quickly and give you things like GC and JIT for free. You can always implement it outside of racket once it starts to take further shape
Re: Ask HN: Resources for building a programming language?
#5Hi, for the parser and compiler this helped me a lot: https://compilers.iecc.com/crenshaw/ If you are building an interpreter too this was a great inspiration: http://luaforge.net/docman/83/98/ANoFrillsIntroToLua51VMInst...
Your URL is slightly off: https://compilers.iecc.com/crenshaw/
Re: Ask HN: Resources for building a programming language?
#6https://github.com/andreas-gone-wild/snackis/blob/master/sna...
Re: Ask HN: Resources for building a programming language?
#7http://www.craftinginterpreters.com/ is coming along really nicely.
Reading academic papers can give you some excellent ideas once you get into the weeds (e.g. garbage collection, compiler optimization).
Re: Ask HN: Resources for building a programming language?
#8you can continue with the links from there.
do you want to target something in particular?
implementing a lisp (scheme) or a forth is a good starting point.
Re: Ask HN: Resources for building a programming language?
#9Eg.
Pythons PEP, PHP’s RFC, Mailinglists
Building the language itself is the easy part...