Dave Halter
|
68eab72229
|
Some slight changes to error recovery
|
2018-06-22 01:59:39 +02:00 |
|
Dave Halter
|
d9264609f2
|
Get quite a bit of the error recovery working
|
2018-06-22 01:56:29 +02:00 |
|
Dave Halter
|
79c7e0b59d
|
Use the new parser. Error recovery is not yet working
|
2018-06-22 00:38:18 +02:00 |
|
Dave Halter
|
f03a87b876
|
Actually parse some first things with the new approach
|
2018-06-21 23:56:34 +02:00 |
|
Dave Halter
|
2a082d69df
|
Add better reprs
|
2018-06-21 22:13:27 +02:00 |
|
Dave Halter
|
e6fc739670
|
Get most things ready for plans
|
2018-06-21 21:32:05 +02:00 |
|
Dave Halter
|
12e11b3d16
|
Remove a while loop that is not necessary
|
2018-06-21 21:14:14 +02:00 |
|
Dave Halter
|
cc8038966b
|
isfinal -> is_final
|
2018-06-21 21:11:46 +02:00 |
|
Dave Halter
|
31aecf2d35
|
Calculate the first plans in a very messy way
|
2018-06-21 21:10:28 +02:00 |
|
Dave Halter
|
d8554d86d1
|
A lot of new code to hopefully transition to a better parsing mechanism in the future
|
2018-06-21 18:17:32 +02:00 |
|
Dave Halter
|
d691bf0fd1
|
Some minor changes
|
2018-06-20 09:42:21 +02:00 |
|
Dave Halter
|
5712ffb5ca
|
Introduce a label cache that is currently not used
|
2018-06-18 20:14:29 +02:00 |
|
Dave Halter
|
55d6a69aad
|
Some more renames
|
2018-06-18 01:14:09 +02:00 |
|
Dave Halter
|
453471eeb6
|
Move some ParserGenerator stuff into the Grammar class
|
2018-06-18 00:15:31 +02:00 |
|
Dave Halter
|
a06c3a3129
|
name -> nonterminal
|
2018-06-17 23:10:27 +02:00 |
|
Dave Halter
|
73ce57428b
|
Try to completely remove the word symbol and use nonterminal
The ones that we could not remove are in grammar.py, because that's the public documented API.
|
2018-06-17 18:30:20 +02:00 |
|
Dave Halter
|
640f544af9
|
One instance of symbol -> terminal
|
2018-06-17 18:12:13 +02:00 |
|
Dave Halter
|
b6cbf306d7
|
Use the name first_terminals instead of first
|
2018-06-17 18:09:12 +02:00 |
|
Dave Halter
|
95e4ecf592
|
next -> next_
|
2018-06-17 17:49:43 +02:00 |
|
Dave Halter
|
fbed1ecfe0
|
More dict to set
|
2018-06-17 17:45:40 +02:00 |
|
Dave Halter
|
1f27fa9320
|
Use more nonterminal/terminal terminology
|
2018-06-17 17:37:15 +02:00 |
|
Dave Halter
|
23362ec2d3
|
Start using the term nonterminal
|
2018-06-17 16:40:11 +02:00 |
|
Dave Halter
|
6b391af071
|
Use sets instead of dicts if possible
|
2018-06-17 16:36:27 +02:00 |
|
Dave Halter
|
c43cb21a0e
|
Add docstring
|
2018-06-15 17:57:59 +02:00 |
|
Dave Halter
|
24346a0d32
|
Add some comments
|
2018-06-15 10:21:00 +02:00 |
|
Dave Halter
|
9d452ec66a
|
Use a set instead of dict if it's not necessary
|
2018-06-15 00:35:39 +02:00 |
|
Dave Halter
|
567e0d7aed
|
Simplify some code
|
2018-06-15 00:06:56 +02:00 |
|
Dave Halter
|
1f02327cff
|
Some refactorings for simplicity
|
2018-06-14 18:18:57 +02:00 |
|
Dave Halter
|
8c348aee6f
|
Use NFAArc as a class
|
2018-06-14 10:29:19 +02:00 |
|
Dave Halter
|
a277ccf288
|
Some more renames
|
2018-06-14 01:10:23 +02:00 |
|
Dave Halter
|
a5ce2caab6
|
Another rename
|
2018-06-13 23:19:52 +02:00 |
|
Dave Halter
|
da4df9c0f1
|
Rename
|
2018-06-13 21:12:48 +02:00 |
|
Dave Halter
|
bd444df417
|
Move the grammar parsing to a separate module
|
2018-06-13 21:01:06 +02:00 |
|
Dave Halter
|
275dbca1b9
|
More renames
|
2018-06-13 20:54:18 +02:00 |
|
Dave Halter
|
9a0b6f4928
|
Rename
|
2018-06-13 20:47:16 +02:00 |
|
Dave Halter
|
fc5560874b
|
Separate generating dfas from parsing
|
2018-06-13 20:46:36 +02:00 |
|
Dave Halter
|
6e5a520e7b
|
Cleanup some names
|
2018-06-13 10:18:05 +02:00 |
|
Dave Halter
|
dcabf3d415
|
Remove some code that is not used anymore
|
2018-06-13 10:15:21 +02:00 |
|
Dave Halter
|
3bc82d112d
|
Some cleanups and documentation
|
2018-06-13 10:10:17 +02:00 |
|
Dave Halter
|
ec186a78f8
|
Move out some more functions out of classes
|
2018-06-13 01:50:25 +02:00 |
|
Dave Halter
|
3818fb2b22
|
Some more refactorings for clarification
|
2018-06-13 01:44:44 +02:00 |
|
Dave Halter
|
95ddeb4012
|
Factor out start_symbol into a better position
|
2018-06-13 00:54:18 +02:00 |
|
Dave Halter
|
f638abb08e
|
Refactor out dfas
|
2018-06-13 00:31:45 +02:00 |
|
Dave Halter
|
f8558df27a
|
Document pgen grammars a bit better
|
2018-06-13 00:27:51 +02:00 |
|
Dave Halter
|
bae56e72e1
|
addarc -> add_arc
|
2018-06-12 22:13:08 +02:00 |
|
Dave Halter
|
41c38311f7
|
Refactor some things in pgen
|
2018-06-12 22:08:19 +02:00 |
|
Dave Halter
|
eeb456a6d4
|
Move some initializations
|
2018-06-12 22:00:49 +02:00 |
|
Dave Halter
|
1c0956d9e0
|
Change license again. The year shouldn't matter
|
2018-06-12 21:58:27 +02:00 |
|
Dave Halter
|
c17156bd36
|
Make first private
|
2018-06-12 21:56:26 +02:00 |
|
Dave Halter
|
8865aa452c
|
Change copyright years
|
2018-06-12 21:55:37 +02:00 |
|