https://github.com/micalevisk/lfa-2016-2
:mortar_board: :books: Linguagens Formais e Autômatos (ICC040) :house: :octocat: :white_check_mark:
https://github.com/micalevisk/lfa-2016-2
2016 formal-languages icomp ufam
Last synced: over 1 year ago
JSON representation
:mortar_board: :books: Linguagens Formais e Autômatos (ICC040) :house: :octocat: :white_check_mark:
- Host: GitHub
- URL: https://github.com/micalevisk/lfa-2016-2
- Owner: micalevisk
- Archived: true
- Created: 2016-11-24T02:52:31.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2021-04-01T21:29:08.000Z (over 5 years ago)
- Last Synced: 2025-02-08T20:47:41.643Z (over 1 year ago)
- Topics: 2016, formal-languages, icomp, ufam
- Language: Shell
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Text2JGrammar
### to download and change permission (_bash_):
```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)
```bash
./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:_ 
_on JFLAP_
### Preview
[](https://asciinema.org/a/94028)
-----------------