Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 1.07 KB

lexer.md

File metadata and controls

33 lines (22 loc) · 1.07 KB

DFM Lexer

A given DFM file's content is cut into tokens using the following NFA automata by seeking the longest match.

Comment Token

NFA automaton for dfm comment tokens

Float Token

NFA automaton for dfm float tokens

Float Datetime Token

NFA automaton for dfm float datetime tokens

Integer Datetime Token

NFA automaton for dfm float datetime tokens

Hex Number Token

NFA automaton for dfm hex number tokens

Integer Token

NFA automaton for dfm hex number tokens

Word Token

NFA automaton for dfm work tokens

String Token

NFA automaton for dfm string tokens

String Character Token

NFA automaton for dfm string character tokens

Special Character Token

NFA automaton for dfm special character tokens