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)
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment