Jump to content

Lex: Difference between revisions

From EDM2
Ak120 (talk | contribs)
Ak120 (talk | contribs)
 
Line 4: Line 4:
* MKS lex & yacc
* MKS lex & yacc
* [[flex]]
* [[flex]]
* Thinkage YAY [http://hobbes.nmsu.edu/download/pub/os2/dev/util/yay-1_0.zip]
* Thinkage YAY [yay-1_0.zip]
* [[Turbo Pascal Lex/YACC]] - Open source tool that uses L/Y syntax but outputs [[Turbo Pascal]] compatible code.
* [[Turbo Pascal Lex/YACC]] - Open source tool that uses L/Y syntax but outputs [[Turbo Pascal]] compatible code.



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

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