Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/curtisfenner/math
- Owner: CurtisFenner
- Created: 2015-10-27T22:16:41.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-25T05:22:31.000Z (almost 9 years ago)
- Last Synced: 2023-08-07T01:23:16.646Z (over 1 year ago)
- Language: Lua
- Size: 26.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.