Mathematical term rewriting system

Taddeus Kroes 74d5caf139 Added short notation for absolute values as only function parameter. %!s(int64=14) %!d(string=hai) anos
docs 8f398255fa Corrected typo in roposal. %!s(int64=14) %!d(string=hai) anos
external 6b25776775 Upgraded graph_drawing to latest version. %!s(int64=14) %!d(string=hai) anos
src 74d5caf139 Added short notation for absolute values as only function parameter. %!s(int64=14) %!d(string=hai) anos
tests 74d5caf139 Added short notation for absolute values as only function parameter. %!s(int64=14) %!d(string=hai) anos
utils 07dc9e8d1f Added unit tests and script to view profiler stats. %!s(int64=14) %!d(string=hai) anos
.gitignore 430573e358 Added 'profile' and 'profile-view' Make targets. %!s(int64=14) %!d(string=hai) anos
.gitmodules 073810b9d7 Added MathJax as an external dependency. %!s(int64=14) %!d(string=hai) anos
Makefile 44cbdd93df Implemented distclean in build system. %!s(int64=14) %!d(string=hai) anos
README 474ea0edd8 Implemented basic symbolic equations and added Sympy to deps. %!s(int64=14) %!d(string=hai) anos
TODO c19155e67d Generalized PI to SPECIAL_TOKENS, now including INFINITY. %!s(int64=14) %!d(string=hai) anos
base.mk e0adb07949 Almost finished project proposal and implemented build system. %!s(int64=14) %!d(string=hai) anos
main.py 04ffd70216 Moved argument parser and added 'hint' and 'apply' %!s(int64=14) %!d(string=hai) anos
test.py 3989e0220f Made test.py executable. %!s(int64=14) %!d(string=hai) anos

README

Introduction
------------

This project comprises the design and production of a web application that can
assist high school students in learning how to apply mathematical term
reductions.

The basic idea is that the student can work on an assignment using an online
text editor. The text entered in the editor is converted to a mathematical
notation and displayed on the screen in real-time. If the student gets stuck
while rewriting a mathematical formula, he or she can request a `hint' from the
system.

The system should recognize a best reduction to apply at that time, and guide
the student in the right direction by displaying a textual hint that tells the
user what sort of reduction can be applied. When asked the system should apply
an appropriate reduction step itself.

This project is implemented and designed by Taddeus Kroes
and Sander Mathijs van Veen and
supervised by drs. Krzysztof Apt of the CWI, Amsterdam.

Dependencies
------------

- GNU Bison and Flex.
- GNU GCC (or another decent C compiler).
- Pyrex .
- Sympy .

In order to run the unit tests and and see how much coverage the unit tests
have, please install:

- Python testrunner .
- Python coverage .

Deployment / Installation
-------------------------

Use the following commands in order to be able to deploy the term rewriting
system on a Linux box:

git clone git@kompiler.org:trs
cd trs
git submodule init
git submodule update
make -j4