From: Marcin Borkowski <mbork@mbork.pl>
To: "Etienne Prud’homme" <e.e.f.prudhomme@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Emacs Lisp container
Date: Tue, 27 Jun 2017 06:37:12 +0200 [thread overview]
Message-ID: <87zicuvyfb.fsf@jane> (raw)
In-Reply-To: <87podqdtdu.fsf@x230.lts>
On 2017-06-27, at 05:03, Etienne Prud’homme <e.e.f.prudhomme@gmail.com> 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.
Interesting.
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?
Best,
--
Marcin Borkowski
next prev parent reply other threads:[~2017-06-27 4:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-27 3:03 Emacs Lisp container Etienne Prud’homme
2017-06-27 4:37 ` Marcin Borkowski [this message]
2017-07-02 18:06 ` Wilfred Hughes
2017-06-27 7:22 ` Phillip Lord
2017-06-28 19:07 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zicuvyfb.fsf@jane \
--to=mbork@mbork.pl \
--cc=e.e.f.prudhomme@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.