L File Documentation


Overview

Feature Value
File Extension .l
Alternative Extensions .lex
Primary Use Lexical Analysis
Format Type Text
Generated File Type C Source Code
Content Types Patterns, Rules Definitions
Encoding ASCII, UTF-8
Tools to Open Text Editors, IDEs
Compiler Lex to C Compiler
Designed by Eric Schmidt and Mike Lesk
Initial Release Year 1975
MIME Type text/x-lex
Integration Often used with Yacc/Bison
Custom Functions Support Yes
Pattern Matching Algorithm Regular Expressions
Output Language C
Use Cases Compilers, Interpreters, Data Format Analysis
Comments Syntax /* comment */ and // comment
Case Sensitivity Dependent on Context