mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-24 13:55:23 +02:00
lex: add page
This commit is contained in:
parent
b89cd0bab3
commit
c358317df4
1 changed files with 12 additions and 0 deletions
12
pages/common/lex.md
Normal file
12
pages/common/lex.md
Normal file
|
@ -0,0 +1,12 @@
|
|||
# lex
|
||||
|
||||
> Lexical analyser generator.
|
||||
> Given a lexical analyser, generates C code implementing it.
|
||||
|
||||
- Generate analyser from Lex file.
|
||||
|
||||
`lex example.l`
|
||||
|
||||
- Compile a C file generated by lex.
|
||||
|
||||
`gcc lex.yy.c -o example`
|
Loading…
Add table
Reference in a new issue