Skip to content
my toy implementation of the lex
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
BitSet.h
DFA.cpp
DFA.h
Define.h
LEX_TEMPLATE.CPP
LEX_TEMPLATE.H
Lex.sln
Lex.vcxproj
Lex.vcxproj.filters
LexParser.cpp
LexParser.h
LexScanner.cpp
LexScanner.h
LexTokens.h
Lexical.cpp
Lexical.h
NFA.cpp
NFA.h
README.md
Stack.h
State.h
YYSTYPE.h
lexmain.cpp
main.cpp

README.md

lex

This is my toy implementation of the lex (the lexcial analyzer).

The code is over 3-years old. I don't have time to maintain it right now, so it may not work as expected.

The LexScanner.h/.cpp LexParser.h/.cpp are for parsing the .l file, they are generated by my lex/yacc themselves (I hardcode the lexical and grammatical rules, please see the project lygen)

You can’t perform that action at this time.