Skip to content

A recursive descent parser for integer arithmetic written in C

Notifications You must be signed in to change notification settings

knivets/arithmetics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

arithmetics

A recursive descent parser for integer arithmetic written in C.

To compile the parser, run make inside the project's folder.

To invoke the parser run the program passing a path to a file containing arithmetic expressions as an argument:

./main file-with-code

The syntax of the language recognized by this parser is C-like:

 1+2 => 3
 
 (1+5)*10+1 => 61

#Disclaimer The project was written for researching purposes and should be used accordingly.

About

A recursive descent parser for integer arithmetic written in C

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published