Jump to content

Lex

From EDM2

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