summaryrefslogtreecommitdiff
path: root/RGens/src/main/java/bjc/rgens
AgeCommit message (Collapse)Author
2017-03-21Add flat rules.bjculkin
Flat rules, which are any rules that have the symbol '+' in their name, have all of their spaces replaced with "" to have the effect of directly conjoining a bunch of rules together.
2017-03-21Add rangesbjculkin
Ranges can now be used with the syntax [start..end] inline to generate numbers instead of having to create a special rule for them.
2017-03-21Add formatterbjculkin
Adds a formatter capable of taking in a parsed grammar and printing it out in a formatted form, capable of being reparsed.
2017-03-21Add export rules to grammarsbjculkin
2017-03-21Finish basic implementationbjculkin
This finishes a basic implementation. It now handles literal strings and rule references, allowing it to handle basic grammars.
2017-03-20Work more on parserbjculkin
This does more work on the parser, including moving from the old LineReader/Scanner combo to BlockReader. It includes more syntax checking, but still doesn't actually do anything. With some dummy methods in RGrammarBuilder, should be able to see if the basic file parser is working correctly. Where blocks and their syntax still need to implemented, and actual pragma implementations need to be provided.
2017-03-18More work on new parserbjculkin
2017-03-17Continue work on new parser.bculkin2442
Continued work on the new parser. new-syntax.txt is a description of the parser grammar in itself.
2017-03-17Move things around, and start on new parser.student