Lex: Difference between revisions
Appearance
mNo edit summary |
mNo edit summary |
||
Line 8: | Line 8: | ||
;Editor support | ;Editor support | ||
* [[jEdit]] - Java based - Lex syntax highlighting built in, YACC available as a separate download | * [[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 - | * [[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 | |||
==Links== | |||
* [http://dinosaur.compilertools.net The Lex & Yacc Page] | |||
[[Category:Lexical analyser]] | [[Category:Lexical analyser]] |
Revision as of 06:58, 17 December 2018
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 [1]
- 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