Skip to content

basic c-based interpreter. features a recursive descent parser. For academic purposes.

Notifications You must be signed in to change notification settings

JmBergamoJ/basic-C-interpreter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

basic-C-interpreter

very basic c-based interpreter, using a recursive descent parser. Made for studying purposes.

When compiling, link both PARSER.o and CLIB.o into CINTERP

Using GCC:

gcc PARSER.c -c
gcc CILIB.c -c
gcc CINTERP.c PARSER.o CILIB.o -o interp.exe

It uses command line arguments to run a source code:

interp mySourceCode.c

To show all the features of this interpreter, I've also added a test program.

About

basic c-based interpreter. features a recursive descent parser. For academic purposes.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages