Skip to content

RonaldDomi/Python-interpretor-writen-on-C

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Programming language interpreter implemented with C. The entry point is main.c, and the test files are entree1.txt, etc.

The program works like this: Structure of solution

The recognition of lexemes is made with an automat while the recognition of the syntax is made with a grammer. After the syntax analysis an "abstract syntax tree" is created and then evaluated.

This is the evaluation of the entree4.txt Example of execution

The test cases are made in order, starting with basic affirmations (entree1.txt). Next level is write/read functions. Then conditional statements and finishing with loops.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published