4 ms·
That'd be nice.. i am currently contemplating to move or not. Nom does run on Rust stable, right? Although i find rust-peg super easy to use, i don't like that
by buster 11y ago
That'd be nice.. i am currently contemplating to move or not.
Nom does run on Rust stable, right? Although i find rust-peg super easy to use, i don't like that it's only working on nightly. A difference in performance would be another reason to switch over.. or not.. :)
Anyway, thanks for this great project!
- geal 11y agoNom 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-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 https://github.com/Geal/nom_in_c ).
- steveklabnik 11y agoYou shouldn't need no_std specifically to embed in C anymore.
- geal 11y agoThat's nice to know, thanks!
- steveklabnik 11y agoAny 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.