🌎 Community-curated list of tech conference talks, videos, slides and the like — from all around the world

🎤

I became interested in parsers when I started to use CSS in JS libraries. I am in love with performance and if something works slow - I always try to find the ways to improve it. One of the CSS in JS problem - parsing CSS strings in runtime. Especially if solution should support syntax validation, interpolation for dynamic CSS rules and be super fast and small. Of course we can use postCSS or similar lib to parse CSS to AST, validate it, process it and build final CSS but this approach is not the best for runtime environment (browser). Last year I spent a lot of time for research an development the way to build parser for such cases (and not only for CSS). At OdessaJS I would like to speak about: Basic Parser theory How to build parser using Finite-state machine How to develop parser with super readable code (even juniors could easily contribute it and add new syntax rules without additional knowledges) My fist successful experience using Prepack by Facebook - pre-evaluate parser and compress it to 800 bytes.
This page was generated from this YAML file. Found a typo, want to add some data? Just edit it on GitHub.