Lex: Difference between revisions
Appearance
Redirected page to Lex/YACC |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
'''Lex''' is a tool that looks for logical units (lexemes) in sequences of characters. This is typically the first tasks a compiler does after it has when he is has to do is read the source program and group its characters into lexemes. | |||
==OS/2 Tools== | |||
* MKS lex & yacc | |||
* [[flex]] | |||
* Thinkage YAY [yay-1_0.zip] | |||
* [[Turbo Pascal Lex/YACC]] - Open source tool that uses L/Y syntax but outputs [[Turbo Pascal]] compatible code. | |||
;Editor support | |||
* [[jEdit]] - Java based - Lex syntax highlighting built in, YACC available as a separate download | |||
* [[NEdit]] - XFree86 - Auto-indent, autocomplete and syntax highlighting for YACC BNF files | |||
==Publications== | |||
* M.E. Lesk; Eric Schmidt: ''Lex - A Lexical Analyzer Generator'' - Computing Science Technical Report No. 39, Bell Laboratories 1979 | |||
* John R. Levine; Tony Mason; Doug Brown: ''Lex & Yacc'' - O'Reilly 1992, ISBN 1-56592-000-7 | |||
==Links== | |||
* [http://dinosaur.compilertools.net The Lex & Yacc Page] | |||
[[Category:Lexical analyser]] |
Latest revision as of 17:48, 3 July 2022
Lex is a tool that looks for logical units (lexemes) in sequences of characters. This is typically the first tasks a compiler does after it has when he is has to do is read the source program and group its characters into lexemes.
OS/2 Tools
- MKS lex & yacc
- flex
- Thinkage YAY [yay-1_0.zip]
- Turbo Pascal Lex/YACC - Open source tool that uses L/Y syntax but outputs Turbo Pascal compatible code.
- Editor support
- jEdit - Java based - Lex syntax highlighting built in, YACC available as a separate download
- NEdit - XFree86 - Auto-indent, autocomplete and syntax highlighting for YACC BNF files
Publications
- M.E. Lesk; Eric Schmidt: Lex - A Lexical Analyzer Generator - Computing Science Technical Report No. 39, Bell Laboratories 1979
- John R. Levine; Tony Mason; Doug Brown: Lex & Yacc - O'Reilly 1992, ISBN 1-56592-000-7