mkpro118 / Regex-Engine

Regex Engine in C
MIT License
0 stars 0 forks source link

Develop the Lexer #1

Closed mkpro118 closed 2 months ago

mkpro118 commented 3 months ago

The lexer will take the regex string and convert it into a list of tokens. Tokens can be characters, operators like * or |, and special symbols like ( and )

The terminals recognized by our lexer are

terminal ::  CHAR := Any printable ASCII character except the terminals below.
terminal ::  OR := |
terminal ::  STAR := *
terminal ::  PLUS := +
terminal ::  QUESTION := ?
terminal ::  LPAREN := (
terminal ::  RPAREN := )
mkpro118 commented 2 months ago

Lexer has been developed, with the following PRs