When I was studying in University, this project was the most difficult and impressive one, it could be separate to three parts, tokenization, lexical analyzer and evaluator, and I introduced a design pattern which is interpreter pattern into my project, the pattern makes my code clear and scalability. The interpreter could deal with statements and expressions, such as IF ELSE, WHILE, DO WHILE, block scope variable declaration, and detect grammar error.
-
Notifications
You must be signed in to change notification settings - Fork 0
cacocacoon/c-interpreter
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
a simple C-like interpreter
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published