Commit graph

15 commits

Author SHA1 Message Date
Paul Beckingham
06319711f1 Quoting
- Removed automatic dequoting by the Lexer.
- Implemented Lexer::dequote for manual control.
- Variant dequotes string values when appropriate.
- Fixed some unit tests that became wrong.
2014-11-18 00:59:52 -05:00
Paul Beckingham
aab23692f1 Lexer
- Added a new type Lexer::typeTag.
2014-09-07 01:17:48 -04:00
Paul Beckingham
843f7ce704 Unit Tests
- Corrected Lexer test to use a supported duration.
2014-07-03 15:39:50 -04:00
Paul Beckingham
e14c867a9b Unit Tests
- Added tests for Lexer::boundary.
2014-06-18 17:46:05 -04:00
Paul Beckingham
cbb6decf93 Unit Tests
- Added Lexer test to split 'ordinary' into 'ordinary', not 'or' and 'dinary'.
2014-06-18 00:18:18 -04:00
Paul Beckingham
c9ba7ae301 Unit Tests
- Corrected Lexer tests that used obsolete duration forms.
- Added more duration test parses.
2014-06-09 18:03:36 -04:00
Paul Beckingham
0aa323164a Unit Tests
- Added Lexer tests to make sure '9th' and '10th' are recognized as identifiers.
2014-06-08 14:16:46 -04:00
Paul Beckingham
7598997e70 Lexer
- Implemented ::token_split, which performs a full lex, and doesn't require
  white space like ::word_split does.
- Added unit tests.
2014-05-31 13:51:10 -04:00
Paul Beckingham
0af9bbdc03 Lexer
- Renamed ::split to ::word_split, for clarity and because of the need for a
  full token split, coming next.
2014-05-31 13:48:52 -04:00
Paul Beckingham
8a5d7bb569 Unit Tests
- Added more Lexer::split tests.
2014-04-24 09:08:19 -04:00
Paul Beckingham
611812007a Lexer
- Implemented Lexer::word, which is just like ::token, but does not
  understand dates, durations or operators.
- Implemented Lexer::split, which uses Lexer::word.
- Added unit tests.
2014-04-23 23:19:41 -04:00
Paul Beckingham
2b747e2df2 Unit Tests
- Merged libexpr Lexer tests.
- Updated .gitignore.
2014-01-02 01:12:38 -05:00
Paul Beckingham
9bf1ec2f7c Code Cleanup
- Eliminated Lexer.
2011-07-26 00:37:49 -04:00
Paul Beckingham
62d2dd316b Build
- Fixed broken build on CentOS.
2011-06-11 15:32:33 -04:00
Paul Beckingham
ed8454c202 Expressions
- Implemented sequence --> infix converter.
- Added new Lexer code.
- Added Lexer unit tests.
2011-06-06 01:46:11 -04:00