Top Down Operator Precedence
HTML JavaScript
Switch branches/tags
Nothing to show
Latest commit 491da71 Feb 19, 2016 @douglascrockford douglascrockford Merge pull request #3 from Vasya-Chajko/patch-2
Update parse.js
Failed to load latest commit information.
README n Dec 2, 2010
index.html first commit Nov 12, 2010
parse.js Update parse.js Feb 18, 2016
tdop.html first commit Nov 12, 2010
tokens.js (condition) Jan 14, 2016


TDOP, Top Down Operator Precedence

Douglas Crockford


tdop.html contains a description of Vaughn Pratt's Top Down Operator Precedence,
and describes a parser for Simplified JavaScript in Simplified JavaScript.

index.html parses parse.js and displays its AST. The page depends on json2.js
(which is not included in this project) and on parse.js and tokens.js (which

tdop.js contains a Simplified JavaScript parser. See tdop.html for commentary.

tokens.js produces an array of token objects from a string.