lex: improve wording
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
# lex
|
# lex
|
||||||
|
|
||||||
> Lexical analyser generator.
|
> 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}}`
|
`lex {{analyser.l}}`
|
||||||
|
|
||||||
@@ -11,6 +11,6 @@
|
|||||||
|
|
||||||
`lex {{analyser.l}} --outfile {{analyser.c}}`
|
`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}}`
|
`cc {{path/to/lex.yy.c}} --output {{executable}}`
|
||||||
|
Reference in New Issue
Block a user