For Programmers: Free Programming Magazines  


Home > Archive > Scheme > March 2007 > Re: Toy scheme compiler written in c or c++









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Toy scheme compiler written in c or c++
fireblade

2007-03-27, 4:22 am

On Mar 26, 10:49 pm, nottysym...@yahoo.ca wrote:
> On Mar 26, 6:39 am, "fireblade" <slobodan.blaze...@gmail.com> wrote:
>
>
>
> Have you looked at Tiny Scheme? It's small and easy to understand.
>
> Brad


What GC it uses?

Nils M Holm

2007-03-27, 4:22 am

fireblade <slobodan.blazeski@gmail.com> wrote:
> On Mar 26, 10:49 pm, nottysym...@yahoo.ca wrote:
>
> What GC it uses?


Constant space mark and sweep using Deutsch/Schorr/Wait pointer reversal.

BTW, I do not find Tinyscheme particularly easy to understand. You may
also want to have a look at Minischeme, which is the basis from which
Tinyscheme evolved. It is less than half the size of Tinyscheme and about
as easy to follow.

And S9fES is making some progress, too.

--
Nils M Holm <n m h @ t 3 x . o r g> -- http://t3x.org/nmh/
Nathan Thern

2007-03-27, 10:11 pm

Nils M Holm wrote:
> BTW, I do not find Tinyscheme particularly easy to understand.

+1
> You may
> also want to have a look at Minischeme, which is the basis from which
> Tinyscheme evolved. It is less than half the size of Tinyscheme and about
> as easy to follow.
>
> And S9fES is making some progress, too.
>


In point of fact, Nils, I found your sketchy to be both smaller and
easier to understand than tinyscheme. It's definitely a toy; but since
it's so easy to understand, modifying it for a purpose should be a breeze.

S9fES looks pretty simple, too.

regards,
Nate T.
Nils M Holm

2007-03-28, 8:18 am

Nathan Thern <nthern@yahoo.com> wrote:
> In point of fact, Nils, I found your sketchy to be both smaller and
> easier to understand than tinyscheme. It's definitely a toy; but since
> it's so easy to understand, modifying it for a purpose should be a breeze.


Good to hear. My primary motivation for S9fES is that Sketchy
is purely functional by design. Modifying it to support mutable
objects is not really trivial, because it binds directly to
values, not to locations.

--
Nils M Holm <n m h @ t 3 x . o r g> -- http://t3x.org/nmh/
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com