my cortex M7 has to parse SDP packets, for which I have the grammar.
I can’t use flex/bison because I don’t have the libraries (e.g., libfl.a) compiled for cortex M. Is this correct? Are there ways to use them anyway?
What other parser generator could I use?
The constraints for the generated code are:
- must generate C code
- possibly shouldn’t use dynamic memory, because I haven’t implemented the standard
malloc()
. I have thepvPortMalloc()
- possibly do not use I/O functions. I have my own nonstandard implementation that I call
qprintf()
I don’t know ANTLR, would that be okay?
best regards
Max