wget "https://raw.githubusercontent.com/micalevisk/LFA-2016-2/master/Text2JGrammar.sh" &&
chmod +x "Text2JGrammar.sh"
- As implicações (setas) são indicadas por >
- As regras são separadas por ;
- O pipe (barra vertical) é indicado por ,
- O lambda é indicado por §
- Caso algum símbolo seja igual a algum caractere especial, altere a keyword no arquivo.
./Text2JGrammar.sh "P > 0P,1P,1A; A > 0B; B > 1; B>0" mygrammar.jff
this input plain text: P > 0P,1P,1A; A > 0B; B > 1