3 ms·
You could take a look at Marc Cournoyer's course http://createyourproglang.com http://createyourproglang.com, check out the compiler course on Cousera https://w
by wilsonfiifi 12y ago
You could take a look at Marc Cournoyer's course http://createyourproglang.com http://createyourproglang.com, check out the compiler course on Cousera https://www.coursera.org/course/compilers https://www.coursera.org/course/compilers and watch Rob Pikes talk on lexical scanning http://www.youtube.com/watch?v=HxaD_trXwRE.b 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.
- poseid 12y agothanks! what about these "PEG" parsers? when/why do they make sense?
- jonjacky 12y ago"PEG-based transformer provides front-, middle and back-end stages in a simple compiler" http://www.vpri.org/pdf/tr2010003_PEG.pdf http://www.vpri.org/pdf/tr2010003_PEG.pdf
- poseid 12y agowhat makes the go language a good example?
- hariharan_uno 12y agoThe language spec is very short compared to others.