lex
How to Use Lex
Learner’s notesIn plain EnglishEither a formal Latin term for "law," or programmer shorthand for scanning code into tokens.
The Latin legal sense is academic/historical; the computing sense is technical jargon.
Word Forms
lexed past tense, lexes plural, leges plural, lexes singular
Fill the Gap
Can you complete this real example?
The compiler will _____ the source file before parsing it.
Etymology
Latin lex, meaning "law." The computing sense comes from "lexical analysis," shortened to "lex."