Tuesday, June 9, 2009

1st Week (06/02/09 - 06/09/09)

Starting with basic syntax, to make the program have some simple translating abilities.

* (multiplication), / (division)
sin, cos, tan, cot
arcsin, arccos, arctan, arccot(this is not available yet)
exp
log

--------------

here is a simple script to run the parser and print it to pdf
(run.sh)

#!/bin/bash

./parser
latex output.tex
dvipdf output.dvi

#pdftex output.tex

----------


Using (latex => dvipdf) is better than pdftex, because it can eliminate some errors. ( i don't know why)

No comments:

Post a Comment