This project is a bit strange but I think you might find it fun. I'm writing a programming language and I need a bit of help.
I've created the grammar for the language in a Parsing Expression Grammar (http://en.wikipedia.org/wiki/Parsing_expression_grammar). For example, for mathematical expressions such as 3*4/2+1, the PEG would be:
Value ? [0-9]+ / '(' Expr ')'
Product ? Value (('*' / '/') Value)*
Sum ? Product (('+' / '-') Product)*
Expr ? Sum
The task is to arrange the PEG so that it parses correctly. I was able to get a basic version to work but I think I need some further help.
I'm sure it sounds strange to you, but I hope you might find it interesting too. I would, of course, have more details if you're interested.