Jump to content

Lex/YACC: Difference between revisions

From EDM2
Ak120 (talk | contribs)
Ak120 (talk | contribs)
mNo edit summary
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Lex and YACC are tools originally developed for the [[Multics]] operating system  
'''[[Lex]]''' and '''[[yacc]]''' are parser generating tools originally developed for the MULTICS operating system, basically Lex does lexical analysis while Yacc handles syntax analysis. The two are always distributed together and complement each other but are also useful on their own to a degree.


====YACC====
==Links==
YACC is a Look-Ahead LR parser generator that takes Backus–Naur Form text files and generates LALR parsers from it. Primarily used as tool for generating front end parsers for compilers or formal validation for file formats in export filters and so on, so forth.
* [http://dinosaur.compilertools.net/ Lex & YACC homepage] at Compilertools.net


==Lex/YACC compatible tools that run under OS/2==
[[Category:Generic Unix Tools]][[Category:Parsing Tools]][[Category:Compiler construction]]
* [http://hobbes.nmsu.edu/download/pub/os2/dev/misc/flex254-2.zip flex 2.5.4]
* Berkeley [http://hobbes.nmsu.edu/download/pub/os2/dev/util/byacc.zip Yacc 1.8] - LALR parser generator
* GNU [http://hobbes.nmsu.edu/download/pub/os2/dev/util/bison-2.7.91.zip bison 2.7.91]
* Thinkage YAY [http://hobbes.nmsu.edu/download/pub/os2/dev/util/yay-1_0.zip]
* [[Turbo Pascal Lex/YACC]] - Open source tool that uses L/Y syntax but outputs [[Turbo Pascal]] compatible code.
 
====OS/2 text & programmers editors with Lex file and YACC BNF file support====
* [[jEdit]] - Java based - Lex and YACC syntax highlighting built in - Current.
* [[NEdit]] - XFree86 - Autoindent, autocomplete and syntax highlighting for YACC BNF files - Open source - Discontinued.
 
==Links & publications==
* [http://www.techworld.com.au/article/252319/a-z_programming_languages_yacc The A-Z of Programming Languages: YACC] An interview with Stephen C. Johnson - From Techworld.
 
==Author==
* Stephen C. Johnson
 
[[Category:Tools]]
[[Category:MS Windows Tools]]
[[Category:Generic Unix Tools]]
[[Category:Parsing Tools]]
[[Category:Compiler construction]]

Latest revision as of 12:43, 20 March 2018

Lex and yacc are parser generating tools originally developed for the MULTICS operating system, basically Lex does lexical analysis while Yacc handles syntax analysis. The two are always distributed together and complement each other but are also useful on their own to a degree.

Links