1
0
Fork 0
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:
Liam McMenemie 2017-12-11 13:57:43 +00:00
parent b89cd0bab3
commit c358317df4

12
pages/common/lex.md Normal file
View 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`