On Tue, Jan 25, 2011 at 12:52 AM, Andrzej ndrwr...@googlemail.com wrote:
On Mon, Jan 24, 2011 at 5:50 PM, dennis killme2...@gmail.com wrote:
Hi,
Yes,i have seen the rscheme.
cscheme is just an exercise,it is not practical at all.
So was rscheme. :-) In many respects your implementation is
Thanks,it is an issue.
On Jan 24, 1:09 pm, David dsieg...@yahoo.com wrote:
Line 86 of core.clj is:
(list 'cadr caddr)
and should be:
(list 'caddr caddr)
On Jan 23, 9:45 pm, dennis killme2...@gmail.com wrote:
I have implemented a simple interpreter in clojure,it is just
Hi,
Yes,i have seen the rscheme.
cscheme is just an exercise,it is not practical at all.
On Jan 24, 1:44 pm, Andrzej ndrwr...@googlemail.com wrote:
Hi,
You may want to see if there is anything of interest for you
there:http://clojure.wikidot.com/scheme-interpreter-in-clojure
It has its
On Mon, Jan 24, 2011 at 5:50 PM, dennis killme2...@gmail.com wrote:
Hi,
Yes,i have seen the rscheme.
cscheme is just an exercise,it is not practical at all.
So was rscheme. :-) In many respects your implementation is more
complete than mine.
Cheers,
Andrzej
--
You received this message
Arguably it should be neither of these, but instead a macro of some
kind. The solution that would make it impossible to get this wrong
would be something like:
(defmacro primitives [ specs]
`(list
~@(for [s specs]
(if (coll? s)
`(list '~(first s) ~(second s))
`(list
Line 86 of core.clj is:
(list 'cadr caddr)
and should be:
(list 'caddr caddr)
On Jan 23, 9:45 pm, dennis killme2...@gmail.com wrote:
I have implemented a simple interpreter in clojure,it is just
transformed from the interpreter in SICP.Maybe someone interested in
it.
I
Hi,
You may want to see if there is anything of interest for you there:
http://clojure.wikidot.com/scheme-interpreter-in-clojure
It has its own reader that attempts to be more compatible with Scheme
than the reader used in Clojure. It constructs a fairly elaborate
syntactic tree (perhaps it