Chris Double
|
72bd6b4dc8
|
Fix peg tests
|
2008-07-10 13:56:06 +12:00 |
Chris Double
|
4c1fe8f0b3
|
Add <EBNF ... ENBF> syntax to return a parser object
|
2008-07-10 13:56:06 +12:00 |
Chris Double
|
8aa7bc6d78
|
[EBNF ... EBNF] now does an implicit call
|
2008-07-10 13:56:06 +12:00 |
Chris Double
|
e47f944cca
|
Print error message nicely
|
2008-07-10 13:56:06 +12:00 |
Chris Double
|
b5cef674b1
|
Pegs throw exceptions on error now
|
2008-07-10 13:56:06 +12:00 |
Chris Double
|
c8511b483f
|
Add support for 'with' in js parser. Now parses jquery successfully
|
2008-07-10 13:56:06 +12:00 |
Chris Double
|
8f718fa41e
|
Parse more valid JavaScript
|
2008-07-10 13:56:06 +12:00 |
Chris Double
|
87bbe8cae1
|
Get for(x in y) { } working in js parser
|
2008-07-10 13:56:06 +12:00 |
Chris Double
|
bf664e7ec8
|
Add ShiftExpr to JavaScript parser
|
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
|
9c96edb805
|
Fix 'For' statement in JavaScript parser
|
2008-07-10 13:56:06 +12:00 |
Chris Double
|
e14bb84a5a
|
More error handling for pegs
|
2008-07-10 13:56:06 +12:00 |
Chris Double
|
00827d3b12
|
Throw error on failed parse, returning relevant error information
|
2008-07-10 13:56:05 +12:00 |
Chris Double
|
37ade561a9
|
Fix unary expression in js grammar
|
2008-07-10 13:56:05 +12:00 |
Slava Pestov
|
9d6f21d83c
|
Fix bug exposed by new/boa change
|
2008-06-27 03:03:31 -05:00 |
Slava Pestov
|
d65a76d10f
|
Fixing builder failures
|
2008-06-25 15:35:14 -05:00 |
Slava Pestov
|
590ccc49e1
|
Fix conflict
|
2008-06-25 04:07:37 -05:00 |
Eduardo Cavazos
|
bf238283da
|
Update code for combinators.short-circuit
|
2008-06-24 13:47:54 -05:00 |
Chris Double
|
75814c35f4
|
Fix MulExpr to use Unary on rhs
|
2008-06-24 10:50:41 +12:00 |
Chris Double
|
f0a1f8fe5f
|
Fix JavaScript new expression
|
2008-06-21 16:56:21 +12:00 |
Chris Double
|
a15783cabb
|
Fix typo in != in JavaScript parser
|
2008-06-21 10:32:15 +12:00 |
Chris Double
|
c5a9ee0e16
|
Add typeof, void and delete to JavaScript grammar
|
2008-06-21 02:40:08 +12:00 |
Chris Double
|
8fa0c80d4e
|
Add regular expressions to JavaScript parser
|
2008-06-21 02:29:47 +12:00 |
Chris Double
|
e8f9904549
|
Add \r to the JavaScript automatic semicolon insertion routine
|
2008-06-21 02:21:54 +12:00 |
Chris Double
|
4a47346bda
|
Fix parse-javascript word for recent changes
|
2008-06-21 02:09:46 +12:00 |
Chris Double
|
ff8e521907
|
Fix automatic semicolon insertion rule in JavaScript parser
|
2008-06-21 02:06:58 +12:00 |
Chris Double
|
6b83ab9d90
|
Fix terminal parser with non-default tokenizers
|
2008-06-21 01:49:07 +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
|
eca8260799
|
peg.ebnf syntax for tokenizers
|
2008-06-21 00:28:13 +12:00 |
Chris Double
|
b6b5f12732
|
Provide ability to plug in tokenizers to ebnf parsers
|
2008-06-20 22:45:19 +12:00 |
Chris Double
|
7239c4d79f
|
Make replace-escapes infer and fix remaining unit test breakage in ebnf
|
2008-06-20 15:14:30 +12:00 |
Chris Double
|
d22a24a90e
|
Fix some failing ebnf unit tests
|
2008-06-20 14:13:50 +12:00 |
Chris Double
|
6bd761e460
|
Another breaking unit test for ebnf
|
2008-06-20 12:35:33 +12:00 |
Chris Double
|
91768f171c
|
Rule 'x' defined more than once unit test
|
2008-06-20 11:53:07 +12:00 |
Chris Double
|
001e866b13
|
Add yet another failing ebnf unit test
|
2008-06-20 11:49:08 +12:00 |
Chris Double
|
9b7e2bacc9
|
Throw an error if there are duplicate rules in ebnf
|
2008-06-19 14:44:13 +12:00 |
Chris Double
|
c92224f5b9
|
Put '..' around parser error messages
|
2008-06-19 14:34:09 +12:00 |
Chris Double
|
3dc3a6f899
|
Remove obsolete ebnf stuff
|
2008-06-19 14:31:14 +12:00 |
Chris Double
|
04453b2421
|
Fix (foo):n usage
|
2008-06-19 14:23:18 +12:00 |
Chris Double
|
2b2ede0a89
|
Add a javascript sc test
|
2008-06-19 01:45:09 +12:00 |
Chris Double
|
d5e5e47944
|
Fix bug in javascript automatic semicolon insertion rule
|
2008-06-19 01:39:51 +12:00 |
Chris Double
|
d58a085598
|
Add additional javascript test
|
2008-06-19 01:24:17 +12:00 |
Chris Double
|
fcd1e39834
|
More JavaScript fixes for keyword handling
|
2008-06-19 01:20:33 +12:00 |
Chris Double
|
179ea21c11
|
Add a couple of failing peg.ebnf tests
|
2008-06-19 01:10:44 +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 |
Chris Double
|
ea6974d5da
|
Add \r to whitespace in javascript tokenizer
|
2008-06-18 23:50:25 +12:00 |
Chris Double
|
fea65df1df
|
Fix ebnf foreign call breakage and add tests
|
2008-06-18 23:07:26 +12:00 |
Chris Double
|
a5719e3397
|
Add javascript tests. Minor changes to javascript grammar
|
2008-06-18 21:30:21 +12:00 |
Chris Double
|
778573106c
|
Fix Sc rule
|
2008-06-18 20:35:32 +12:00 |
Chris Double
|
7694dfd688
|
Allow zero arguments in javascript list handling
|
2008-06-18 20:35:32 +12:00 |
Chris Double
|
e99ff9fa6b
|
Fix list AST in javascript parser
|
2008-06-18 20:35:32 +12:00 |
Chris Double
|
4050ebcbde
|
Javascript parser now works on token sequence
|
2008-06-18 20:35:32 +12:00 |
Chris Double
|
258951d954
|
Split out javascript tokenizer
|
2008-06-18 20:35:32 +12:00 |
Chris Double
|
55216a990d
|
Remove drop from actions
|
2008-06-18 20:35:32 +12:00 |
Chris Double
|
79dfe2806a
|
Remove javascript boa constructors
|
2008-06-18 20:35:32 +12:00 |
Chris Double
|
b338fc8fea
|
Javascript parser
|
2008-06-18 20:35:32 +12:00 |
Chris Double
|
f4f4ea7eb6
|
Fix peg.ebnf unit test failures
|
2008-06-18 20:35:32 +12:00 |
Chris Double
|
0841dbb4ad
|
Fix ebnf unit test
|
2008-06-18 20:35:32 +12:00 |
Chris Double
|
479fa6a5b5
|
Add support for calling foreign peg.ebnf rules
|
2008-06-18 20:35:32 +12:00 |
Chris Double
|
dfa4926a84
|
Print ebnf quotation on error. Fix generated local quotation
|
2008-06-18 20:35:32 +12:00 |
Chris Double
|
f1219c906a
|
Check stack effect of actions in ebnf. Do implicit drop if needed
|
2008-06-18 20:35:31 +12:00 |
Chris Double
|
1b8943a8e0
|
Add failing peg.ebnf tests
|
2008-06-18 20:35:31 +12:00 |
Slava Pestov
|
e55c674a2b
|
Fix again
|
2008-06-18 01:18:39 -05:00 |
Slava Pestov
|
83099e01d4
|
Fixing PEG:
|
2008-06-18 00:58:29 -05:00 |
Slava Pestov
|
dc3929f3db
|
Improve PEG: word
|
2008-06-18 00:35:19 -05:00 |
Slava Pestov
|
685d53e264
|
Add gather word; faster 'implementors' using inverted index
|
2008-06-12 05:49:46 -05:00 |
Eduardo Cavazos
|
c5cc533182
|
peg.ebnf: minor update
|
2008-06-10 20:31:32 -05:00 |
Doug Coleman
|
f706b50ac7
|
remove dipd, it's 2dip
|
2008-05-23 22:48:58 -05:00 |
Slava Pestov
|
c60baf1232
|
sift and harvest words added
|
2008-05-13 23:36:55 -05:00 |
Slava Pestov
|
26aa656123
|
with-locals no longer necessary
|
2008-05-07 08:48:51 -05:00 |
Chris Double
|
e1f82caf83
|
Use accessors in places for peg
|
2008-04-29 14:19:14 +12:00 |
Chris Double
|
c671ccce99
|
{ ... } whitespace grouping
|
2008-04-29 14:15:05 +12:00 |
Chris Double
|
7319dd5165
|
Add ~ grouping operator to ignore whitespace between elements in group
|
2008-04-29 12:37:26 +12:00 |
Doug Coleman
|
4d0ba8c3c1
|
reverse args for assoc-diff, diff
fix lots of usings
fix help lint
|
2008-04-26 02:01:43 -05:00 |
Doug Coleman
|
b7c1f9dbe8
|
extra changes:
index* -> index-from
last-index* -> last-index-from
1 tail -> rest
1 tail-slice -> rest-slice
subset -> filter
prepose
find* -> find-from
find-last* -> find-last-from
before, after generic, < for integers
make between? work for timestamps
|
2008-04-25 23:17:08 -05:00 |
Slava Pestov
|
b7037bf46a
|
Merge commit 'doublec/master'
|
2008-04-14 05:44:28 -05:00 |
Chris Double
|
9f0f2d0bbc
|
peg delay parsers now infer
|
2008-04-14 22:42:45 +12:00 |
Doug Coleman
|
72080fda4a
|
construct-boa -> boa
construct-empty -> new
|
2008-04-13 15:06:27 -05:00 |
Chris Double
|
688cbfaafa
|
Delocalise grow-lr
|
2008-04-11 14:46:11 +12:00 |
Chris Double
|
0dd8e462c6
|
Minor peg refactorings
|
2008-04-09 14:09:30 +12:00 |
Chris Double
|
c39ece54a1
|
Merge commit 'origin/master'
|
2008-04-09 10:49:26 +12:00 |
Slava Pestov
|
9d8062aa46
|
Remove *.lib from using
|
2008-04-07 22:16:51 -05:00 |
Chris Double
|
a641c6d332
|
Add \r to ebnf escape rules
|
2008-04-07 14:39:18 +12:00 |
Chris Double
|
719376e412
|
Remove w-c-u from ebnf transform
|
2008-04-07 13:17:09 +12:00 |
Chris Double
|
463a1991ca
|
Fix peg help
|
2008-04-07 13:02:56 +12:00 |
Chris Double
|
a093943627
|
Remove match from peg.parsers USING: list
|
2008-04-07 12:50:07 +12:00 |
Chris Double
|
00d09d20e2
|
Remove MATCH-VARS not used in pegs
|
2008-04-07 12:07:44 +12:00 |
Chris Double
|
e00a392736
|
Refactor delay parser
|
2008-04-05 18:41:28 +13:00 |
Chris Double
|
2744313ac1
|
Refactor sp peg parser
|
2008-04-05 18:36:17 +13:00 |
Chris Double
|
d93c7958fd
|
Refactor action peg parser
|
2008-04-05 18:33:50 +13:00 |
Chris Double
|
247bf2137b
|
Refactor ensure and ensure-not parsers
|
2008-04-05 18:30:11 +13:00 |
Chris Double
|
796981e192
|
Refactor semantic peg parser
|
2008-04-05 18:19:11 +13:00 |
Chris Double
|
3123654a84
|
Refactor optional peg parser
|
2008-04-05 18:05:09 +13:00 |
Chris Double
|
d4897fa007
|
Refactor repeat0 and repeat1 peg parsers
|
2008-04-05 18:01:18 +13:00 |
Chris Double
|
226d211342
|
Refactor choice peg parser
|
2008-04-05 17:54:18 +13:00 |