Skip to content

A little html-parser that accepts a html file as input and generates a html tree data structure.

Notifications You must be signed in to change notification settings

leonamtv/html-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTMLParser Leonam

Analisador léxico de HTML para a disciplina de compiladores da engenharia de computação CEFET-MG Timóteo.

Instruções de execução

Dê permissão para executar o script:

chmod +x hp.sh

Execute os testes já programados (com os html's da pasta ./samples):

./hp.sh --test

Execute com seu arquivo de preferência:

./hp.sh <arquivo>

Caso queira visualizar uma representação simples da árvore gerada (caso não haja nenhum erro no html), passe o argumento -v ou --verbose, assim:

./hp.sh <arquivo> -v
ou
./hp.sh <arquivo> --verbose

Autor: Leonam T. V.

About

A little html-parser that accepts a html file as input and generates a html tree data structure.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages