Lex

(redirected from Lex (disambiguation))
Also found in: Dictionary, Thesaurus, Legal.

Lex

(tool)
A lexical analyser generator for Unix and its input language. There is a GNU version called flex and a version written in, and outputting, SML/NJ called ML-lex. A version, by David Poole at Montana has been retargeted to Turbo Pascal, ftp://iecc.com/pub/file/lyprg.zip.

["Lex - A Lexical Analyzer Generator", M.E. Lesk, CS TR 39, Bell Labs, Oct 1975].

Lex

(language, specification)
The lexical specification language for COPS.

["Metalanguages of the Compiler Production System COPS", J. Borowiec, in GI Fachgesprach "Compiler-Compiler", ed W. Henhapl, Tech Hochs Darmstadt 1978, pp.122-159].
This article is provided by FOLDOC - Free Online Dictionary of Computing (foldoc.org)

yacc

(Yet Another Compiler Compiler) A Unix compiler used to create a compiler. The operators, variables and constants of the program are typically defined in C using lex (LEXical analyzer), which converts them into preprocessed, machine-readable tokens for yacc. The grammar of the new language is written in C and compiled in yacc. The combination of lex (define elements) and yacc (define actions) creates a new compiler. For more information, visit www.epaperpress.com. See bison.
Copyright © 1981-2019 by The Computer Language Company Inc. All Rights reserved. THIS DEFINITION IS FOR PERSONAL USE ONLY. All other reproduction is strictly prohibited without permission from the publisher.