Commit Graph

20 Commits (30a5296b9b496510458f21c55434ab3a413489d8)

Author SHA1 Message Date
Slava Pestov 736974fe15 Fix PEG tests for multiline changes 2008-09-25 03:37:48 -05:00
Chris Double 7f4fe76698 More peg test fixes 2008-07-10 13:56:06 +12:00
Chris Double 72bd6b4dc8 Fix peg tests 2008-07-10 13:56:06 +12: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 eac450bdcf Add ebnf rule word 2008-04-02 15:55:18 +13:00
Chris Double 34a1505d95 PL0 whitespace handling improvement 2008-04-02 15:47:30 +13:00
Chris Double 1b58ba404e Fix peg.pl0 test failures 2008-04-02 13:50:29 +13:00
Chris Double e7980ebc61 More refactoring of EBNF
<EBNF .. EBNF> now produces a quotation that when called does the parsing
EBNF: foo ... ;EBNF creates a 'foo' word with stack effect (string -- result)
when called it parses the string and returns the result.
2008-03-20 17:11:09 +13:00
Chris Double 39c228db6d Update peg.pl0 to use range pattern syntax
This allows removing the words for ident and number, replacing them
with EBNF expressions.
2008-03-20 14:22:14 +13:00
Chris Double ec4f964e4f Fix pl0 for EBNF syntax changes 2008-03-20 14:06:21 +13:00
Chris Double 208c88c449 Update pl0 for ebnf changes, and add more tests 2008-03-19 18:35:45 +13:00
Doug Coleman 6378d38d63 add missing usings 2008-03-03 14:32:37 -06:00
Slava Pestov e98cd1fd59 New convention for unit tests 2008-03-01 17:00:45 -05:00
Chris Double b655d4c759 Add tags to peg, peg.ebnf and peg.pl0 2007-12-20 17:11:37 +13:00
Chris Double 362f2d3436 Fix packrat caching issue 2007-11-29 23:42:46 +13:00
Chris Double f94c280e06 Fix pl0 tests 2007-11-29 12:49:51 +13:00
Chris Double d3ac10aefc Redo PL/0 parser using ebnf 2007-11-28 16:07:23 +13:00
Chris Double 9f2f45cd71 More peg.pl0 additions
This parser is currently really ugly. The goal is to tidy up peg
so this parser looks more like the EBNF.
2007-11-27 16:45:32 +13:00
Chris Double ea2d4ea261 Work on PL/0 Grammar as a PEG example 2007-11-27 15:56:26 +13:00