Need review for "good parboiled practice"...

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
Report Content as Inappropriate

Need review for "good parboiled practice"...


I have made a parboiled CSS grammar here:

I still don't understand parboiled too much. I am asking for feedback on how the code could be made better etc.

Right now it's a true/false process, what I'd like to be able to do is output custom error messages (say, "invalid color format at line x column y" for instance): how can I do this? Do I need to implement my own ParseRunner? Can I link rules to error messages?