-
Notifications
You must be signed in to change notification settings - Fork 32
Top Down Operator Precedence
douglascrockford/TDOP
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
TDOP, Top Down Operator Precedence Douglas Crockford [email protected] 2010-11-12 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 are). tdop.js contains a Simplified JavaScript parser. See tdop.html for commentary. tokens.js produces an array of token objects from a string.