Skip to content

ronaldhgamez/Scanner_Flex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Proyecto_Flex - RONALD HERRERA GAMEZ

  1. Abrir pdf con evince en pantalla completa: evince -f "filename.pdf"
  2. Instalar flex: sudo apt-get update sudo apt-get install flex
  3. Instalar pdflatex para generar el PDF de la presentación a partir del .tex sudo apt install texlive-latex-base sudo apt-get install texlive sudo apt-get install texlive-latex-extra
  4. Generar el pdf pdflatex "archivo.tex"
  5. comando para generar el lex.yy.c: flex flex_source.l

ARCHIVOS importantes

temp_file.c: archivo c generado por el preprocesador. histograma.tex: el que genera C para mostrar el histograma y el codigo. latex.tex: presentación principal de latex. Esta añade internamente a la generada por C. main.c: el que hay que compilar. este incluye al scanner(lex.yy.c) y al preprocesador flex_source.l: especificación, expresiones regulares del scanner. \test: esta carpeta tiene los archivos C de prueba.

Algunas Fuentes consultadas:

FLEX:

http://www.cs.ecu.edu/karl/5220/spr16/Notes/Lexical/flex.html https://iith.ac.in/~ramakrishna/Compilers-Aug14/doc/flex.pdf https://www.cs.princeton.edu/~appel/modern/c/software/flex/flex.html https://www.youtube.com/watch?v=WJfoIvmoLCk&ab_channel=UnacademyComputerScience

SOBRE DOCUMENTACION DE C

http://di002.edv.uniovi.es/~jotero/apuntesC.pdf https://devdocs.io/c/keyword https://techpubs.jurassic.nl/library/manuals/0000/007-0701-130/pdf/007-0701-130.pdf http://www.carlospes.com/curso_de_lenguaje_c/01_07_02_constantes_de_tipo_real.php https://programacion.net/articulo/lenguaje_c_202/2

PREPROCESADOR DE C:

http://www.it.uc3m.es/pbasanta/asng/course_notes/ch13s11.html https://www.youtube.com/watch?v=_Rg_HxgXwjw&ab_channel=makigas%3Atutorialesdeprogramaci%C3%B3n https://www.youtube.com/watch?v=teamA4rft1E&t=461s&ab_channel=makigas%3Atutorialesdeprogramaci%C3%B3n http://www.it.uc3m.es/~pedmume/asignaturas/2005/LAO/Lab2/tutorial4/www-etsi2.ugr.es/depar/ccia/mp2/old/apoyo/preproc/preproc.html http://www.sc.ehu.es/sbweb/webcentro/automatica/web_avr/archivos/Ensamblador%20AVRs/directivas/direc_preprocesador_tipo_C.htm

LATEX

https://www.uweziegenhagen.de/?p=1641 https://es.wikibooks.org/wiki/Manual_de_LaTeX/Escribiendo_texto/Caracteres_especiales https://tex.stackexchange.com/questions/34580/escape-character-in-latex https://manualdelatex.com/tutoriales/tamano-de-letra https://commons.wikimedia.org/wiki/File:Latex_tikz_9.png

EXPRESIONES REGULARES

https://www.adictosaltrabajo.com/2015/01/29/regexsam/ https://www.regular-expressions.info/refadv.html https://regexr.com/

OTRAS

https://www.tutorialgateway.org/fputc-in-c/ https://www.codegrepper.com/code-examples/c/append+a+char+to+a+string+c https://stackoverflow.com/questions/56855852/why-does-malloc-corrupted-top-size-error-get-fixed-when-i-have-printf-bef https://stackoverflow.com/questions/779875/what-function-is-to-replace-a-substring-from-a-string-in-c https://www.programiz.com/c-programming/c-file-input-output

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published