Re: list of syntactic forms?

"Scott G. Miller" <[email protected]> Thu, 22 Jan 2009 16:51:43 -0600
Newsgroups gmane.comp.java.sisc.user
Message-ID <[email protected]>
--===============5942642417140915744==
Content-Type: multipart/alternative; boundary=000e0cd56b08c9556f04611a1d1f

--000e0cd56b08c9556f04611a1d1f
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

I believe this is what you want.  Obviously non-portable:

(get-sidecar-environment '*sc-expander* (interaction-environment))

On Thu, Jan 22, 2009 at 1:08 PM, Mike J. Bell <[email protected]> wrote:

> 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
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> Sisc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sisc-users
>
>

--000e0cd56b08c9556f04611a1d1f
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

I believe this is what you want.&nbsp; Obviously non-portable:<br><br>(get-=
sidecar-environment &#39;*sc-expander* (interaction-environment))<br><br><d=
iv class=3D"gmail_quote">On Thu, Jan 22, 2009 at 1:08 PM, Mike J. Bell <spa=
n dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]">[email protected]</a>&=
gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, =
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I&#39;m trying to=
 implement a rudimentary code-completion for a SISC REPL/console that I emb=
edded in our program.&nbsp; I found a nice example snippet somewhere that b=
asically shows if I eval &quot;(interaction-environment)&quot; it gives me =
back a MemorySymEnv, which has a symbolMap which provides me all the symbol=
s that are defined at the current toplevel.&nbsp; Of course 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"><font color=
=3D"#888888"><br>-- <br>Mike J. Bell on gmail<br>
</font><br>----------------------------------------------------------------=
--------------<br>
This SF.net email is sponsored by:<br>
SourcForge Community<br>
SourceForge wants to tell your story.<br>
<a href=3D"http://p.sf.net/sfu/sf-spreadtheword" target=3D"_blank">http://p=
.sf.net/sfu/sf-spreadtheword</a><br>_______________________________________=
________<br>
Sisc-users mailing list<br>
<a href=3D"mailto:[email protected]">[email protected]=
forge.net</a><br>
<a href=3D"https://lists.sourceforge.net/lists/listinfo/sisc-users" target=
=3D"_blank">https://lists.sourceforge.net/lists/listinfo/sisc-users</a><br>
<br></blockquote></div><br>

--000e0cd56b08c9556f04611a1d1f--


--===============5942642417140915744==
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
--===============5942642417140915744==
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

--===============5942642417140915744==--