unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Michael Tiedtke <michele.titke@o2online.de>
To: guile-user@gnu.org
Subject: How to create hygienic environments?
Date: Fri, 19 Jun 2015 16:39:58 +0200	[thread overview]
Message-ID: <558429BE.4070509@o2online.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 924 bytes --]

Does anyone know how I to create empty environments in Guile Scheme 
(preferably 1.8)?

The task at hand is well known: the user of an text editor can input 
complex commands with parameters (a little bit like in Emacs). Now I 
would like to /read/ these commands as single procedure calls with its 
parameters as an s-expression. But then how do I /eval/uate it in a 
special environment where only the editor commands are available by default?

The /(null-environment 5)/ gives me an empty environment but how should 
I insert the editor commands? Last time I checked (that was about some 
years ago when I didn't really need it) I found some C only routines but 
maybe I mixed them up with the UNIX process environment (variables).

How do I create a hygienic algorithmic text editor language within the 
Algorithmic Language Scheme?

Perhaps it's even better to give access to the usual Guile top level 
environment ...

[-- Attachment #2: Type: text/html, Size: 1208 bytes --]

             reply	other threads:[~2015-06-19 14:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-19 14:39 Michael Tiedtke [this message]
2015-06-19 22:08 ` How to create hygienic environments? Matt Wette
2015-06-20  4:54   ` Michael Tiedtke
2015-06-20 12:54     ` Neil Jerram
2015-06-20 13:16       ` Michael Tiedtke

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

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=558429BE.4070509@o2online.de \
    --to=michele.titke@o2online.de \
    --cc=guile-user@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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).