list of syntactic forms?

"Mike J. Bell" <[email protected]> Thu, 22 Jan 2009 14:08:15 -0500
Newsgroups gmane.comp.java.sisc.user
Message-ID <[email protected]>
--===============5749780423356927742==
Content-Type: multipart/alternative; boundary=000e0cd1e2c49b278b046116fe4e

--000e0cd1e2c49b278b046116fe4e
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

I'm trying to implement a rudimentary code-completion for a SISC
REPL/console that I embedded in our program.  I found a nice example snippet
somewhere that basically shows if I eval "(interaction-environment)" it
gives me back a MemorySymEnv, which has a symbolMap which provides me all
the symbols that are defined at the current toplevel.  Of course I'm messing
with internal SISC architecture stuff but that's OK, this doesn't need to be
portable and I can adapt to future changes.

This is great and all, but I don't have syntax, like "define" and "and" etc.
etc.  All macros are missing in that symbol map because those symbols are
part of syntax, not the environment.

Does anyone know a way (non-portable is fine) to get a similar list of
syntactic forms?

Thanks in advance!
Mike

-- 
Mike J. Bell on gmail

--000e0cd1e2c49b278b046116fe4e
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

I&#39;m trying to implement a rudimentary code-completion for a SISC REPL/c=
onsole that I embedded in our program.&nbsp; I found a nice example snippet=
 somewhere that basically shows if I eval &quot;(interaction-environment)&q=
uot; it gives me back a MemorySymEnv, which has a symbolMap which provides =
me all the symbols that are defined at the current toplevel.&nbsp; Of cours=
e I&#39;m messing with internal SISC architecture stuff but that&#39;s OK, =
this doesn&#39;t need to be portable and I can adapt to future changes.<br>
<br>This is great and all, but I don&#39;t have syntax, like &quot;define&q=
uot; and &quot;and&quot; etc. etc.&nbsp; All macros are missing in that sym=
bol map because those symbols are part of syntax, not the environment.<br><=
br>
Does anyone know a way (non-portable is fine) to get a similar list of synt=
actic forms?<br><br>Thanks in advance!<br>Mike<br clear=3D"all"><br>-- <br>=
Mike J. Bell on gmail<br>

--000e0cd1e2c49b278b046116fe4e--


--===============5749780423356927742==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
--===============5749780423356927742==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Sisc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisc-users

--===============5749780423356927742==--