Skip to content
This repository was archived by the owner on Aug 28, 2023. It is now read-only.
/ LFA-2016-2 Public archive

🎓 📚 Linguagens Formais e Autômatos (ICC040) 🏠 :octocat:

Notifications You must be signed in to change notification settings

micalevisk/LFA-2016-2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Text2JGrammar

to download and change permission (bash):

wget "https://raw.githubusercontent.com/micalevisk/LFA-2016-2/master/Text2JGrammar.sh" &&
chmod +x "Text2JGrammar.sh"

Input Syntax:

  • 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.

To Use (on terminal)

./Text2JGrammar.sh "P > 0P,1P,1A; A > 0B; B > 1; B>0" mygrammar.jff

e.g.:

this input plain text: P > 0P,1P,1A; A > 0B; B > 1

means: http://image.prntscr.com/image/a261182c347a4c7daa7694029105d5af.png on JFLAP

Preview

asciicast


About

🎓 📚 Linguagens Formais e Autômatos (ICC040) 🏠 :octocat:

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages