6 ms·
Check this out: http://piumarta.com/software/cola/ http://piumarta.com/software/cola/
by doelie_ 17y ago
Check this out:
http://piumarta.com/software/cola/ http://piumarta.com/software/cola/
- pmjordan 17y agoBrilliant, thanks. I'll have to have a play with that.
- andreyf 17y agoWhile you're at it, check out http://piumarta.com/ http://piumarta.com/ ;)
- doelie_ 17y agoIndeed. The peg parser generator is quite nice: http://piumarta.com/software/peg/ http://piumarta.com/software/peg/ I recently used it to implement an s-expression reader: http://zwizwa.be/darcs/libprim/ex/sexp.leg http://zwizwa.be/darcs/libprim/ex/sexp.leg (It's incomplete, but it illustrates the principle: peg parsing is very nice for quick & dirty parsing work.)