Patrick Dubroy: Parsing, Compiling, and Static Metaprogramming -- JSConf EU 2013

preview_player
Показать описание
Learn how to use compilers and parser generators to remove boilerplate, build DSLs, and generally do the impossible.

I'll explain the basics of how compilers work, and give an overview of some popular JS tools & libraries. I'll demonstrate how they can help you do all kinds of useful things, like:

presubmit checks for style guide violations
extracting strings requiring translation in your code
automatically inserting logging statements around certain function calls
Finally, for the budding language designers, I'll explain how to create your own compiled-to-JS language in five minutes using a parser generator.

License: For reuse of this video under a more permissive license please get in touch with us. The speakers retain the copyright for their performances.
Рекомендации по теме
Комментарии
Автор

If you join youtube.com / html5, then any video with no ads should be adjustable. This video has no ads, and I am able to watch it at 2x. Are you in HTML5 beta?

yonran
Автор

I don't think we can, but if it is possible, please let me know how.

MalteUbl
Автор

he forgot to define a "term" at 23:27

vyorkin
Автор

Please turn on ability to change speed at video

VladimirMinkin
Автор

Static Metaprogramming? Never heard of macros enabling "static metaprogramming" and apparently neither has google with its 2290 hits for it.

PuercoPop