Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You could take a look at Marc Cournoyer's course http://createyourproglang.com, check out the compiler course on Cousera https://www.coursera.org/course/compilers and watch Rob Pikes talk on lexical scanning http://www.youtube.com/watch?v=HxaD_trXwRE.b

That should get you going. Oh and don't forget to have a look at Go language specification as well.



what makes the go language a good example?


The language spec is very short compared to others.


thanks!

what about these "PEG" parsers? when/why do they make sense?


"PEG-based transformer provides front-, middle and back-end stages in a simple compiler"

http://www.vpri.org/pdf/tr2010003_PEG.pdf




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: