Skip to content

chengtie/sedlex-menhir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

It is a very basic calculator written in OCaml, Sedlex and Menhir.

Run

Compile the files:

$ chmod 777 build.sh

$ ./build.sh

Run the executable:

$ ./calc

Then you could write expressions such as 2+3, 4*5, and press Enter (and eventually Ctrl+D) to check the result.

Clean

$ make clean

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published