Jump to content

Lex/YACC: Difference between revisions

From EDM2
Created page with "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 f..."
 
Ak120 (talk | contribs)
mNo edit summary
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
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.
'''[[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.


====OS/2 text & programmers editors with Yacc BNF file support====
==Links==
* [[NEdit]] - XFree86 - Autoindent, autocomplete and syntax highlighting - Open source - Discontinued.
* [http://dinosaur.compilertools.net/ Lex & YACC homepage] at Compilertools.net
 
[[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