Skip to content

tobsa/S-Expression-Interpreter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

S-Expression Interpreter
========================

This is an interpreter that can read mathematical expressions and evaluate them. Implemented by using
s-expressions.

Operations supported: Addition, subtraction, multiplication, division. In addition parantheses and 
variables are supported.

Usage example:

==> fx = 5                      // Create the variable fx and set it to 5
5
==> fx + fx                     // Add them together
10
==> (g = fx) + 5 + (h = 3)      // Create two new variables (g and h) and add them together
13

About

An interpreter that uses s-expressions in order to create complex mathematical expressions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages