Главная
Study mode:
on
1
Introduction
2
What is a compiler
3
Parser and Code Generator
4
SPrema
5
Parsing Tree
6
Code
7
Sample Code
8
Parse Tree
9
Compiling Example
10
ContextFree Grammar
11
Parsing arithmetic
12
Left recursion
13
Nested arrays
14
PegJS
15
Snippet Code
16
Arithmetic
17
Multiple Expressions
18
Parse
19
Variable Declarations
20
Clean Up
21
Not JavaScript
22
Conclusion
Description:
Explore the fundamentals of parsing, compiling, and static metaprogramming in this 27-minute JSConf EU 2013 talk by Patrick Dubroy. Discover how to leverage compilers and parser generators to eliminate boilerplate, construct domain-specific languages, and accomplish seemingly impossible tasks. Gain insights into compiler basics and popular JavaScript tools and libraries. Learn practical applications such as implementing presubmit checks for style guide violations, extracting translatable strings from code, and automatically inserting logging statements around specific function calls. For aspiring language designers, find out how to create a custom compiled-to-JS language in just five minutes using a parser generator. Delve into topics including parse trees, code generation, context-free grammar, left recursion, nested arrays, and PegJS. Examine real-world code snippets and examples to reinforce your understanding of these advanced concepts.

Parsing, Compiling, and Static Metaprogramming - JSConf EU

JSConf
Add to list
0:00 / 0:00