|
|
Here it is, first alpha release. If anyone wants to do a Windows/Linux
port, just say so.
Supports:
while loops, if-else conditionals
objects
functions with parameters
1D arrays
file output
mathematical expressions. No boolean operators, just +-*/. Parentheses
should work, but are untested. Vectors and scalars work.
To-do for next release:
boolean operators
global variables
general code cleanup, especially the parser
function return values
better documentation/sample files
I just realized I forgot to document the syntax of the CSDL
interpreter...though it is pretty obvious, "csdl INPUT_FILE". Make sure
the executable is alongside the "library" directory or all the files are
in the same directory, or CSDL won't be able to find the library files.
BTW, if you attempt to run the library files, they will print
information about the file.
Source code (20KB):
homepage.mac.com/chrishuff/csdl_source.tgz
Documentation, example files, library files (12KB):
homepage.mac.com/chrishuff/csdl_dist.tgz
Mac OS X compile (208KB):
homepage.mac.com/chrishuff/csdl_macosx.tgz
--
--
Christopher James Huff <chr### [at] maccom>
Post a reply to this message
|
|