
js_grammar.pl -- JavaScript grammar
This file provides a tokenizer for JavaScript (EcmaScript). This code
supports the quasi quotation syntax javascript
, defined in
library(http/js_write).
- See also
- - http://tomcopeland.blogs.com/EcmaScript.html is used for the
high-level syntax.
- - http://www.ecma-international.org/ecma-262/5.1/ is used for
implementing the tokenization code.
js_token(-TokenType)//- Matches and classifies the next JavaScript token.