Use Condy to implement a Lisp evaluator in the constant pool

B. Blaser bsrbnd at gmail.com
Sun Oct 1 15:26:42 UTC 2017


Hi Rémi,

On 1 October 2017 at 12:47, Remi Forax <forax at univ-mlv.fr> wrote:
> With a bootstrap method that evaluates what is sent as parameter, it's possible to encode s-expressions as a bunch condys.
>   https://github.com/forax/cplisp
>
> enjoy,
> Rémi

!!! GREAT !!!

I didn't had time to play with it yet, but I have a few questions
since I tried to do something like that some time ago at a higher
level (using an annotation processor and reflection [1]):

1) As s-expressions are encoded in the constant pool, it seems that
they are static. So, it's possible to compile and evaluate them, but
it doesn't seem possible to dynamically (at runtime) modify them, is
that right?

2) I didn't see any quotation feature, did I miss it? Note that
implementing a "quote()" function wouldn't be too difficult, I
think...

Cheers,
Bernard

[1] https://github.com/bsrbnd/draft


More information about the amber-dev mailing list