Implementing languages
Programming is hard; making compilers is harder. Or so people think. The truth is that making a compiler is just a series of small steps using regular language constructs. It's so easy, we'll make one in this talk.
Talk Title | Implementing languages |
Speakers | Christopher Pitt (SilverStripe) |
Conference | Fluent |
Conf Tag | The Web Platform in Practice |
Location | San Francisco, California |
Date | March 8-10, 2016 |
URL | Talk Page |
Slides | Talk Slides |
Video | |
Many developers (especially those who are self-taught) believe the lie that making compilers is too hard, that they lack the tools and knowledge to bring their ideas about programming languages to life. A lot of complex thinking goes into mainstream compilers, but that’s no reason not to try for yourself. Christopher Pitt demonstrates how to make less efficient compilers and interpreters that enable the same amount of power and flexibility as mainstream compilers. Although tools like parsing expression grammars or Jison can help you build compilers, Christopher illustrates something even simpler. He walks participants through building cross-compilers using regular expressions and a stack to implement their own programming languages in real-time.