Git Product home page Git Product logo

picojs's Introduction

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

picojs's People

Contributors

peter-leonov avatar dependabot[bot] avatar

Stargazers

 avatar Roy Teusink avatar Kerian SUISINI avatar MohammadReza Ranjbar  avatar  avatar  avatar Ali Mert Çakar avatar Veysel Usta avatar  avatar Rafael Jürkfitz avatar Stefan Novasky avatar Dana Huang avatar Kent Huang avatar Ricardo Maia avatar Matheus B. Barni avatar Theo Paris avatar Aung Myat Moe avatar  avatar Bart Veneman avatar  avatar Dmitry Kolesnikovich avatar Adrian Miranda avatar RAZAFINARIVO Hanania avatar

Watchers

 avatar James Cloos avatar Kotagiri Ramnarayan Rao avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.