Quantcast

Need review for "good parboiled practice"...

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

Need review for "good parboiled practice"...

fge
Hello,

I have made a parboiled CSS grammar here:

https://github.com/fge/parboiled-css

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?

Loading...