Re:Nom, a byte oriented, streaming, zero copy, parser combin...
by geal on Tuesday May 26, 2015 @09:50AM
(#9604793)
Nom works on stable, but there are nice things you can do if you use the nightly, like matching on error codes with slice or box patterns ( https://github.com/Geal/nom/wiki/Error-management#with-slice... ) or use no_std to embed the parser as a C library ( https://github.com/Geal/nom_in_c ).
Re:Nom, a byte oriented, streaming, zero copy, parser combin...
by steveklabnik on Tuesday May 26, 2015 @10:38AM
(#9605147)
You shouldn't need no_std specifically to embed in C anymore.
Re:Nom, a byte oriented, streaming, zero copy, parser combin...
by geal on Tuesday May 26, 2015 @02:24PM
(#9606597)
That's nice to know, thanks!
Re:Nom, a byte oriented, streaming, zero copy, parser combin...
by steveklabnik on Tuesday May 26, 2015 @05:26PM
(#9607778)
Any time. Basically, one the runtime was removed[1], this became true.
1: Of course, all programming languages have runtimes, but once we got down to C or C++ levels of runtime, that is.
Anyway, thanks for this great project!