Email or username:

Password:

Forgot your password?
Top-level
kr1sp1n

@neauoire How do you run the lisp.modal example from your code repo? Where is 'define' defined? Or is this an old syntax, only running with the python implementation from @wryl ?

3 comments
(wryl)

@kr1sp1n @neauoire The C implementation should be able to be invoked by running..

./bin/modal lisp.modal

.. from the top level directory after running `make`.

The old `define` syntax is replaced with `<>` in the C implementation. You can add..

`define <> define`

.. to the top of any Modal source file to run it with the Python implementation. Bear in mind, I/O won't work in the Python implementation.

Jorge Acereda

@wryl @kr1sp1n @neauoire In this case, to run lisp.modal I think you want the reverse:

<> define <>

kr1sp1n

@jacereda @wryl @neauoire
Thanks! Works with `<> define <>` at the top of examples/lisp.modal

Go Up