An open API service indexing awesome lists of open source software.

https://github.com/metafates/simple-interpreter


https://github.com/metafates/simple-interpreter

Last synced: 10 months ago
JSON representation

Awesome Lists containing this project

README

          

# Simple language interpreter

An interpreter for a simple programming language
with the support of mathematical expressions, variable assignment, and function definition.

## Examples

```
>>> fn avg x y => (x + y) / 2
>>> avg 1 10
5
>>> a = 10
10
>>> b = 10 + avg 1 100
60
```