This talk will be a guided introduction to building a JavaScript parser of one's very own by hand, using artisanal, shade-grown top down operator precedence parsing. It will introduce the audience to problems, techniques, possibilities, and applications of building such a parser.
The audience of this talk will learn about and see examples of:
How to define a simple API that allows language extension without BNF
Differences from LL / LR parsing
How to build a streaming parser
Applications of parsers
How to build a simple parser for a subset of JavaScript
What an AST is, and how to construct one using the above
This talk may also be given as a workshop, given lead time.
Speaker Bio
I'm Chris Dickinson. I am a member of the Node core team, and sit on the io.js technical committee. I've been writing Node programs since 2009, and have apologized for at least 95% of them at some point. I will talk at length about old video games, parsers, color use, JS spec minutea, comics, etymology, or pictures of cats. I am a practiced beginner at all of these things, except for old video games.
tdop to the top – write your own javascript parser
demystify and democratize parsing
This talk will be a guided introduction to building a JavaScript parser of one's very own by hand, using artisanal, shade-grown top down operator precedence parsing. It will introduce the audience to problems, techniques, possibilities, and applications of building such a parser.
The audience of this talk will learn about and see examples of:
This talk may also be given as a workshop, given lead time.
Speaker Bio
I'm Chris Dickinson. I am a member of the Node core team, and sit on the io.js technical committee. I've been writing Node programs since 2009, and have apologized for at least 95% of them at some point. I will talk at length about old video games, parsers, color use, JS spec minutea, comics, etymology, or pictures of cats. I am a practiced beginner at all of these things, except for old video games.