Has anyone done a comparison of memory footprints for parsers? Say, Antlr vs Bison vs ???.<p>I used Antlr3 to create a NLP parser for entering a calendar event. For iOS, the C runtime&#x27;s parse tree source was many megabytes and difficult to debug directly. For Android, the Java runtime parse tree ran out of memory and had to be broken into smaller pieces. Haven&#x27;t tried Antlr4.<p>Current workaround is to parse a document directly into a token tree. Instead of separate lever + parser, merged a tweaked BNF with regex. Memory stays rather small and can download a revised grammar without recompiling a new binary.