unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* How to create hygienic environments?
@ 2015-06-19 14:39 Michael Tiedtke
  2015-06-19 22:08 ` Matt Wette
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Tiedtke @ 2015-06-19 14:39 UTC (permalink / raw)
  To: guile-user

[-- 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 --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-06-20 13:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-19 14:39 How to create hygienic environments? Michael Tiedtke
2015-06-19 22:08 ` Matt Wette
2015-06-20  4:54   ` Michael Tiedtke
2015-06-20 12:54     ` Neil Jerram
2015-06-20 13:16       ` Michael Tiedtke

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).