Hi, I’m just getting started with Modalys and have a quick question about setting up my environment:
Is there any way to run an interactive interpreter on the command line as an alternative to using the ModaLisp application?
The Modalys package (MacOS) installs /usr/bin/modalys, which gives me a mlys>
prompt, but which does not seem to be a working Lisp interpreter. For example:
mlys> (new)
[t 0.00, step 0]
***
*** ERROR: undefined variable 'new' in line: 'new) '
***
mlys> (+ 2 2)
[t 0.00, step 0]
***
*** ERROR: unknown function 'modalys_'
***
By contrast, in the “Listener” tab of the ModaLisp application:
MODALYS 1 > (new)
Warning: (DEFUN VGET) being redefined in LISTENER (previously in /Applications/Modalys/Components/init/lisp/init.lisp).
Warning: (DEFUN VSET) being redefined in LISTENER (previously in /Applications/Modalys/Components/init/lisp/init.lisp).
T
MODALYS 2 > (+ 2 2)
4
I haven’t been able to find any documentation that mentions the command line application or its relationship to the ModaLisp gui application. Please let me know if I’m missing anything.
Ideally I’d like to be able to work with Modalys/Lisp in the same way that I do with other interpreted languages (using Vim/vim-slime). Thanks!