JirroReo / ull-etsii-grado-pl-minijavascript

Lab: Lexical Analyzer for a Mini JavaScript language

Home Page:http://crguezl.github.io/ull-etsii-grado-pl-minijavascript/tdop.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TDOP, Top Down Operator Precedence Mini JavaScript Parser

Author

Forked from Douglas Crockford TDOP project. douglas@crockford.com

The lexical analyzer is modified to use regular expressions. Casiano Rodriguez Leon crguezl@ull.edu.es

Introduction

  • A full introduction is in the file tdop.html by Douglas Crockford. It contains a description of Vaughn Pratt's Top Down Operator Precedence, and describes a parser for Simplified JavaScript in Simplified JavaScript.

  • Deployment at GitHub pages. The app parses the input file and displays its AST.

  • The exercise is to understand and improve tokens.js. The tokens function produces an array with the tokens for a given input string.

About

Lab: Lexical Analyzer for a Mini JavaScript language

http://crguezl.github.io/ull-etsii-grado-pl-minijavascript/tdop.html


Languages

Language:HTML 64.2%Language:JavaScript 33.2%Language:CSS 2.2%Language:Ruby 0.4%