A web interface for ruby with a focus on doing math.
lnmaurer/rubymath
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
rubymath -- a web interface for ruby with a focus on doing math. The goal is to make a coplete computer algebra system with a web interface like SAGE (http://www.sagemath.org/), but be written in ruby. It uses the symbolic library to do symbolic mathematics, and currently supports syntax highlighting and basic 2D plotting. See an example worksheet at: https://mywebspace.wisc.edu/lnmaurer/web/rubymath/example.xhtml It is in a rough but working state, and can use any help that it can get. This program relies on require haml, sinatra, and coderay -- available as ruby gems. It also requires a recent version of symbolic: http://github.com/brainopia/symbolic The mathserver.rb file should be edited to reflect the location of this library. To start the program, run mathserver.rb with ruby ("ruby mathserver.rb" on the command line) and then open http://localhost:4567 with a web browser. The server may take some seconds to start, so if nothing shows up at that address, hit refresh until it does. Enter any ruby commands in the input and you're good to go. Files in 'svg/' are modified versions of Yuya Kato's Ruby/SVG library. The original is available under the LGPL: http://ruby-svg.sourceforge.jp/ All the files that make up this program are copyright 2009 by Leon Maurer. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You can find a copy of the GNU General Public License at <http://www.gnu.org/licenses/>.
About
A web interface for ruby with a focus on doing math.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published