Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/curtisfenner/math

A simple computer algebra system.
https://github.com/curtisfenner/math

Last synced: 19 days ago
JSON representation

A simple computer algebra system.

Awesome Lists containing this project

README

        

# math
A simple computer algebra system written in Lua.

# Usage:

Run program on an input, where the system picks the most promising step at each moment.

lua engine/math.lua [=, [+, 5, x], 0]

Run in "interactive" mode, where the user selects which step to follow next:

lua engine/math.lua interactive [=, [+, 5, x], 0]

Or,

lua engine/math.lua interactive

and enter the S-expression at the prompt.

The expression is passed in as an S-expression, where [] are used to denote lists.