Skip to content
This repository was archived by the owner on Jan 18, 2025. It is now read-only.

Latest commit

 

History

History
10 lines (8 loc) · 1.34 KB

File metadata and controls

10 lines (8 loc) · 1.34 KB

This is the source code gettig slowly written during a series of streams where Olie (@olzh2102) and Peter (@peter-leonov) are trying to re-create the full frontend development stack in pure JavaScript from scratch, including parsing some minimal subset of JavaScript, then interpreting it, making some type checks a-la TypeScript/Flow, playing with bytecode, etc.

Here are the links to the videos:

  1. Writing a JavaScript lexer (scanner, tokeniser) in JavaScript
  2. Writing a JavaScript parser in JavaScript
  3. Unit testing the lexer and parser
  4. Teaching operator precedence to the pico JavaScript parser
  5. Dealing with the famous ambiguity of forward slashes in the pico JavaScript parser
  6. Evaluating the AST to a concrete value