Closed stefan-brus closed 10 years ago
This also requires adding support for command-line arguments.
The user should be able to call dmath like so:
dmath -f file.dmath
Note that the .dmath extension should not be a requirement.
.dmath
The program should then parse and evaluate each line in the file as its own expression.
A function should also be added that returns an array of expressions, one for each line in the file.
This also requires adding support for command-line arguments.
The user should be able to call dmath like so:
Note that the
.dmath
extension should not be a requirement.The program should then parse and evaluate each line in the file as its own expression.