John Benediktsson
|
8aadd38071
|
peg.javascript.tokenizer: rename escape rules slightly.
|
2016-06-12 06:52:23 -07:00 |
John Benediktsson
|
e7fa92baac
|
peg.javascript.tokenizer: support hex and unicode escapes.
|
2016-06-12 06:41:59 -07:00 |
John Benediktsson
|
29a2a25954
|
peg.javascript: add some other escapes since we're doing this. :-)
|
2016-06-11 15:22:20 -07:00 |
catb0t
|
385cf35e7f
|
peg.javascript.tokenizer: allow escaped quotes in strings
Previously, the tokenizer didn't understand
escaped quotes in string literals. Also added was
a test to ensure the escaping works.
|
2016-06-11 15:17:50 -07:00 |
John Benediktsson
|
59caf874a3
|
syntax: removing #! as a comment character.
We don't need two types of comments and shebang (#!) is handled
natively by the lexer, so the original reason for #! is not valid.
|
2015-09-09 18:28:08 -07:00 |
Doug Coleman
|
9fb130791b
|
factor: trim more whitespace from #! comments
|
2015-07-18 20:36:42 -07:00 |
John Benediktsson
|
cd6ccdadc3
|
peg: use escaped character classes.
|
2015-07-16 08:44:59 -07:00 |
Doug Coleman
|
352e5de16a
|
core, basis, extra: Remove DOS line endings from files.
Remove whitespace from end of lines.
Add a newline to the end of each file.
|
2015-06-29 17:25:40 -07:00 |
John Benediktsson
|
c8732657b7
|
Cleanup more lint warnings.
|
2011-10-16 13:01:58 -07:00 |
Chris Double
|
8f718fa41e
|
Parse more valid JavaScript
|
2008-07-10 13:56:06 +12:00 |
Chris Double
|
7404c5dc01
|
Add ShiftExpr to JavaScript parser
|
2008-07-10 13:56:06 +12:00 |
Chris Double
|
4394cb08f6
|
RegExp fix for javascript tokenizer
|
2008-07-10 13:56:06 +12:00 |
Chris Double
|
acb6d3a312
|
Fix peg.ebnf tests. Handle \ in EBNF
|
2008-07-10 13:56:06 +12:00 |
Chris Double
|
cf00bc8a0c
|
Add flags to regexp tokenizer in JavaScript
|
2008-07-10 13:56:06 +12:00 |
Chris Double
|
a15783cabb
|
Fix typo in != in JavaScript parser
|
2008-06-21 10:32:15 +12:00 |
Chris Double
|
5433553571
|
Remove EBNF: and [EBNF EBNF] +tokenizer syntax
replaced with tokenizer support in ebnf grammar itself.
|
2008-06-21 01:00:27 +12:00 |
Chris Double
|
b6b5f12732
|
Provide ability to plug in tokenizers to ebnf parsers
|
2008-06-20 22:45:19 +12:00 |
Chris Double
|
fcd1e39834
|
More JavaScript fixes for keyword handling
|
2008-06-19 01:20:33 +12:00 |
Chris Double
|
c26d87e117
|
Fix handling of JavasScript names which partially match reserved words
|
2008-06-19 01:01:46 +12:00 |
Chris Double
|
fc7baebacb
|
Fix handling of _ and $ in Javascript names
|
2008-06-19 00:51:47 +12:00 |
Chris Double
|
6f8e2a4b0d
|
Refactor JavaScript parser
|
2008-06-19 00:42:11 +12:00 |