Skip to content

subarnop/Daisy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Daisy - Simple Arithmetic and Logical Interpreter

alt text

Daisy is a simple arithmetic and logical Interpreter. It is developed using the very simple methods of developing an Interpreter. It helps to solve simple arithmetic expressions and also implement logical conditions so as to implement very preliminary idea of programming Daisy started as a fun project and loved to be a open source in 2014. Current version of Daisy works on postfix method of solution into a stack data model.

Requirements ✅

📌 gcc version 4.x

📌 GNU Make

Compilation ▶️

Once you have setup the dependencies, download the source and compile:

$ cd ~/Downloads
$ git clone https://github.com/Subarno/Daisy
$ cd Daisy
$ make
$ ./daisy

Input using a script file:

$ ./daisy /path/to/script

Keywords ✅

add   --> Addition
sub   --> Subtraction 
mul   --> Multiplication
div   --> Division
iff   --> Logical operator
more  --> Comparison Operator
less  --> Comparison Operator
equal --> Comparison Operator
quit  --> Quit or End Program

Happy To Code ... Happy To Live :octocat:

About

Simple arithmetic and logical Interpreter.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •