https://github.com/dzagalskii/XML_Parser
Parser for XML code using Lex & Yacc
https://github.com/dzagalskii/XML_Parser
lex parser xml yacc
Last synced: over 1 year ago
JSON representation
Parser for XML code using Lex & Yacc
- Host: GitHub
- URL: https://github.com/dzagalskii/XML_Parser
- Owner: dzagalskii
- Created: 2021-02-14T08:03:46.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-09T10:44:43.000Z (about 5 years ago)
- Last Synced: 2024-10-24T15:37:58.688Z (over 1 year ago)
- Topics: lex, parser, xml, yacc
- Language: Lex
- Homepage:
- Size: 38.1 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# [ENG] XML-PARSER
## Preparing to launch (Ubuntu or other linux )
### Installation of yacc (bison) и lex (flex):
```
$ sudo apt-get update
$ sudo apt-get install bison flex
```
### Building:
```
$ make
```
### Allow script:
```
$ chmod ugo+x xml-parser.sh
```
## Run:
```
$ ./xml-parser.sh
```
### Tests
The tests are located in the "test" folder.
All files are read from this folder
with the extension ".xml".
# [RU] XML-PARSER
## Подготовка к запуску
### Установка yacc (bison) и lex (flex):
```
$ sudo apt-get update
$ sudo apt-get install bison flex
```
### Сборка:
```
$ make
```
### Разрешить скрипт:
```
$ chmod ugo+x xml-parser.sh
```
## Запуск:
```
$ ./xml-parser.sh
```
### Тесты
Тесты располагаются в папке "test".
Из этой папки считываются все файлы
с расширением ".xml".