From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Marcin Borkowski Newsgroups: gmane.emacs.devel Subject: Re: Emacs Lisp container Date: Tue, 27 Jun 2017 06:37:12 +0200 Message-ID: <87zicuvyfb.fsf@jane> References: <87podqdtdu.fsf@x230.lts> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1498538292 26403 195.159.176.226 (27 Jun 2017 04:38:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 27 Jun 2017 04:38:12 +0000 (UTC) User-Agent: mu4e 0.9.19; emacs 26.0.50 Cc: emacs-devel@gnu.org To: Etienne =?utf-8?Q?Prud=E2=80=99homme?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 27 06:38:09 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dPiGO-0006OY-9i for ged-emacs-devel@m.gmane.org; Tue, 27 Jun 2017 06:38:08 +0200 Original-Received: from localhost ([::1]:50569 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dPiGO-0003gu-Pr for ged-emacs-devel@m.gmane.org; Tue, 27 Jun 2017 00:38:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55257) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dPiFl-0003gM-Dr for emacs-devel@gnu.org; Tue, 27 Jun 2017 00:37:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dPiFi-0001zG-3z for emacs-devel@gnu.org; Tue, 27 Jun 2017 00:37:29 -0400 Original-Received: from mail.mojserwer.eu ([195.110.48.8]:57317) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dPiFh-0001wF-Sy for emacs-devel@gnu.org; Tue, 27 Jun 2017 00:37:26 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id B9005E69D0; Tue, 27 Jun 2017 06:37:22 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Original-Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Fj8SmZ5X1ZVg; Tue, 27 Jun 2017 06:37:20 +0200 (CEST) Original-Received: from localhost (static-dwadziewiec-jedenpiec7.echostar.pl [109.232.29.157]) by mail.mojserwer.eu (Postfix) with ESMTPSA id E7353E62F2; Tue, 27 Jun 2017 06:37:19 +0200 (CEST) In-reply-to: <87podqdtdu.fsf@x230.lts> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.110.48.8 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:216021 Archived-At: On 2017-06-27, at 05:03, Etienne Prud=E2=80=99homme 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=E2=80=99s 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=E2=80=99t make much sense to me. I=E2=80=99m probably = not used enough > with evalutation. I can=E2=80=99t figure out why: > >> (funcall #'setq test 1) > > works while: > >> (funcall #'setq 'test 1) > > doesn=E2=80=99t work. Is it because setq is not a function? Best, --=20 Marcin Borkowski