Open
Description
We need to port JavaScript Module to Java
https://github.com/SimplePEG/JavaScript/blob/master/src/rd_parser.js
I highly recommend to do write tests for each and every method (it will help a lot)
https://github.com/SimplePEG/JavaScript/blob/master/test/rd_parser.combo.spec.js
To make RD parser work we need to write:
- get_last_error
- string
- regex_char
- sequence
- ordered_choice
- zero_or_more
- one_or_more
- optional
- and_predicate
- not_predicate
- end_of_file
- rec
- action
- call_rule_by_name
PS: WARNING - JS, Java, Python and Go version should behave the same, so if you spot problems in code don't fix them, create an issue in SimplePEG/SimplePEG
Metadata
Metadata
Assignees
Labels
No labels