https://gunkies.org/w/index.php?title=Lex&feed=atom&action=historyLex - Revision history2024-03-29T13:53:52ZRevision history for this page on the wikiMediaWiki 1.30.0https://gunkies.org/w/index.php?title=Lex&diff=25781&oldid=prevJnc: Stubby, but a start2022-05-03T19:32:15Z<p>Stubby, but a start</p>
<p><b>New page</b></p><div>'''lex''' is a program which generates a [[parser]] (in either [[C programming language|C]] or [[Ratfor]]), given as input an array of [[regular expression]]s, and accompanying code sections. The generated parser will break an input stream into [[token]]s (defined by the regular expressions), and as each is recognised, the matching code section in executed.<br />
<br />
It was first written for [[UNIX Sixth Edition]], and first distributed outside [[Bell Labs]] as part of [[Unix Seventh Edition]]; it later became a standard part of the [[UNIX]] [[tool suite]] in later versions.<br />
<br />
{{semi-stub}}<br />
<br />
==See also==<br />
<br />
* [[yacc]]<br />
<br />
==External links==<br />
<br />
* [https://minnie.tuhs.org/cgi-bin/utree.pl?file=V7/usr/doc/lex lex] - V7 manual<br />
* [https://minnie.tuhs.org/cgi-bin/utree.pl?file=V7/usr/src/cmd/lex lex] - V7 source<br />
<br />
[[Category: UNIX Applications]]</div>Jnc