Computers make very fast, very accurate mistakes.
|
Overview | |
|
most recent version: |
0.7.5 (change log) |
|
release date: |
2012-05-16 |
|
dependent on: |
Java JRE 6 (1.6) or higher |
|
development state: |
active |
setlX is an interpreter for the SetlX (set language extended) programming-language.
The SetlX language was mostly designed by Prof. Dr. Karl Stroetmann and is an evolution of Setl by Jack Schwartz. It was specifically conceived to make the unique features of Setl more accessible to today’s students of set theories.
The setlX interpreter is currently the SetlX reference implementation. You may send bug-reports and/or questions about setlX via e-mail to setlx@randoom.org.
java -version‘setlX.jar’-file into some folder, which is accessible by all users, who should be able to execute setlX (e.g. ‘/usr/local/setlX/’).‘/home/<user>/programs/setlX/’).
‘setlX’-script in your favorite editor (either ‘vi’ or ‘emacs’ of course).
‘setlXJarLocation’-variable to the full path of the jar-file, including the filename itself, e.g. setlXJarLocation="/usr/local/setlX/setlX.jar"‘setlX’-script into some folder, which is in the search path of all users which should be able to execute setlX (e.g. ‘/usr/local/bin’).‘bin’ directory in his home instead (e.g. ‘/home/<user>/bin’).
chmod +x /usr/local/bin/setlX java -version‘setlX.jar’ and ‘setlX.cmd’-files into some folder, which is accessible by all users, who should be able to execute setlX (e.g. ‘C:\Progam Files\setlX\’).
‘setlX.cmd’-script in your favorite editor.
‘setlXJarLocation’-variable to the full path of the jar-file, including the filename itself, e.g. set setlXJarLocation=C:\Progam Files\setlX\setlX.jar[Win]+[Pause] key combination to open system preferences.
‘Advanced system settings’ on the left pane, which opens a new window.‘Advanced’ tab in the current window.
‘Environment Variables’ on the bottom, which opens another window.
‘Path’ variable in the ‘System variables’ section and click on ‘Edit...’, which opens jet another window.
‘;’) followed by the full path to the folder where you installed setlX to the very end of the string in the ‘Variable value’ field. The new value should look like: <previous value>;C:\Progam Files\setlX‘OK’ in all windows you opened before.
setlX for (l in [83,101,116,108,88]) {char(l);} exit;To execute a file, start the interpreter with the path to the SetlX source file as an argument:
setlX <path>/<name>.stlx
Various SetlX code files are available, which demonstrate some features of the language.
(click the image to show a higher quality version)
You may distribute setlX, to anyone and for any purpose, and make changes to it,
even without permission from the author or notice to the author, as long as you do not
remove any copyright information, and also comply with the antlr license.
This program uses the antlr parser generator in version 3.4. As per its license antlr is not
guaranteed to work and might even destroy all life on this planet. The full text of antlr's
license is included in the download.
The full change log can be viewed here.
---v0.7.5--- 2012/05/16
+ added \ operator for integer division, e.g. a \ b == floor(a/b) + round() works for unlimited precision values
---v0.7.4--- 2012/05/12
+ implemented matching for sets + implemented splitting lists and sets in match + added permutations() function + added sleep() function + updated development manual # fixed bug when reading from stdin * renamed examples folder
---v0.7.3--- 2012/04/26
+ added assert function and option to disable assertions + updated aStar hanoi examples