|
@@ -1,9 +1,9 @@
|
|
|
# lex
|
|
|
|
|
|
> Lexical analyser generator.
|
|
|
-> Given a lexical analyser, generates C code implementing it.
|
|
|
+> Given the specification for a lexical analyser, generates C code implementing it.
|
|
|
|
|
|
-- Generate analyser from Lex file:
|
|
|
+- Generate an analyser from a Lex file:
|
|
|
|
|
|
`lex {{analyser.l}}`
|
|
|
|
|
@@ -11,6 +11,6 @@
|
|
|
|
|
|
`lex {{analyser.l}} --outfile {{analyser.c}}`
|
|
|
|
|
|
-- Compile a C file generated by lex:
|
|
|
+- Compile a C file generated by Lex:
|
|
|
|
|
|
`cc {{path/to/lex.yy.c}} --output {{executable}}`
|