Skip to content

A simple configurable lexical analyzer , which requires two files to run, one is the regular expressions of all the tokens, the other is code file.

Notifications You must be signed in to change notification settings

YLonely/configurable-lexical-analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a configurable lexical analyzer written by C,by modifying my older project:Simple-regex-engine,what we need is a file to discribe all the lexical unit.For example,in a file named regex.txt,we can discribe some lexical units like this:

identifier:[_a-zA-Z0-9]+
num:[0-9]+
symbol:\+|\*|?

About

A simple configurable lexical analyzer , which requires two files to run, one is the regular expressions of all the tokens, the other is code file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published