19 Commits

Author SHA1 Message Date
David Beazley
3a0ee0d9c1 WIP 2018-03-30 08:29:34 -05:00
David Beazley
08988d2798 Initial work on lexer states (in progress) 2018-03-29 17:51:58 -05:00
David Beazley
b088d9b2ce Changes to token specification. More metamagic 2018-01-27 15:27:15 -06:00
David Beazley
b74e7223ce Added extra validation check in Lexer construction 2018-01-16 08:30:09 -06:00
David Beazley
e9346daff0 Fix default Lexer error() 2018-01-15 10:58:55 -06:00
David Beazley
e05748494c Changes for 0.2 2018-01-10 06:09:20 -06:00
David Beazley
d8903d8301 Added Lexer state change 2017-09-01 06:31:51 -05:00
Christoph Deil
b71fbdafe3 Fix typo in Token repr 2017-05-20 22:24:55 +02:00
David Beazley
4550f0c5d4 Bumped version number 2017-02-25 15:21:41 -06:00
Daniel Roy Greenfeld
732d0819d9 Added index of error to LexError
This allows for easier writing of tools empowered by the `sly` library. Now you can extend the library to get a better context of the lexed data.
2017-02-17 09:35:21 -08:00
David Beazley
b6357d2491 Switch to f-strings 2017-02-01 13:15:34 -06:00
David Beazley
d614aa0e04 Related duplicate rule reporting in lexer 2016-10-09 12:33:27 -05:00
David Beazley
e4fedf022f Updated token repr to include attribute names 2016-09-17 16:49:55 -05:00
David Beazley
dc08a1b466 Modified lex to allow rules to be attached to token strings 2016-09-12 14:24:03 -05:00
David Beazley
05a709aaea Work in progress. Changes to parser production API 2016-09-08 15:05:03 -05:00
David Beazley
fe97ffc0fd doc update 2016-09-07 17:59:09 -05:00
David Beazley
a2a345e689 Improvements to decorators. Change to yacc grammar specification 2016-09-07 13:10:58 -05:00
David Beazley
7bfadaaab3 Cleanup. Improvements to lexer pattern decorator 2016-09-06 14:38:40 -05:00
David Beazley
36cf652eae Initial commit 2016-09-02 14:07:32 -05:00