Compiler guidelines for JavaME?

I want to analyze some data, and I have a BNF grammar to analyze it. Can anyone recommend grammar compilers capable of generating code that can be used on a mobile device?

Since this is for JavaME, the generated code should be:

  • Hope pretty small
  • Low dependencies on exotic Java libraries
  • Independent of jar runtime files.
+3
source share
2 answers

JFlex, , . , . manual, DFA , .

+1

: ? LALR Java, JFlex/CUP.

, JavaCC/FreeCC, LL (k). .

+1

Source: https://habr.com/ru/post/1704966/


All Articles