[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs Lisp container

From: Marcin Borkowski
Subject: Re: Emacs Lisp container
Date: Tue, 27 Jun 2017 06:37:12 +0200
User-agent: mu4e 0.9.19; emacs 26.0.50

On 2017-06-27, at 05:03, Etienne Prud’homme <address@hidden> wrote:

> I finally came up with a small library I named _container_[1].  There
> are many ways to escape the container (like using `funcall` & `apply`
> and also using `eval` on a quoted `eval` form).  It’s more of a proof a
> concept than a working library right now.


Another approach could be to write a metacircular Elisp interpreter.

> * (Work in Progress) Overrides the `funcall` & `apply` functions to
>   apply the rules above.  This is also tricky since the evaluation
>   process doesn’t make much sense to me.  I’m probably not used enough
>   with evalutation.  I can’t figure out why:
>> (funcall #'setq test 1)
> works while:
>> (funcall #'setq 'test 1)
> doesn’t work.

Is it because setq is not a function?


Marcin Borkowski

reply via email to

[Prev in Thread] Current Thread [Next in Thread]