Further resources

Eloquent Javascript - Regular Expressions

Chapter 9 of an online book about Javascript programming. The rest of the book is also available here.


PEG.js - Parser Generator for Javascript

This is the tool used in the advanced part of lesson 3. PEG.js is a simple parser generator for JavaScript that produces fast parsers with excellent error reporting. You can use it to process complex data or computer languages and build transformers, interpreters, compilers and other tools easily.



Another Javascript-based parser generator. This one takes its name from Bison, a famous parser generator from the 90's distributed by the GNU project.



ANTLR (ANother Tool for Language Recognition) is a powerful parser generator for reading, processing, executing, or translating structured text or binary files. It's widely used to build languages, tools, and frameworks. From a grammar, ANTLR generates a parser that can build and walk parse trees. The parser can run in Java, C#, Python, or Javascript.


Context Free Art

Context Free is a program that generates images from written instructions called a grammar. The program follows the instructions in a few seconds to create images that can contain millions of shapes.


Last modified: Saturday, 5 November 2016, 11:57 AM