Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ANN: Mosh 0.0.6 released - A Fast R6RS Scheme interpreter

9 views
Skip to first unread message

higepon

unread,
Aug 27, 2008, 11:43:21 PM8/27/08
to
Mosh is A Fast R6RS Scheme interpreter written in C++.
http://code.google.com/p/mosh-scheme/

About This Release
------------------

Improved load speed of "R6RS batch mode" using psyntax.
Run with -b option like "cd r6rs-examples; mosh -b hello.ss"
There are some samples in mosh/r6rs-examples directory.

Supported running "R6RS test suite".
R6RS test suite written by PLT Scheme project.
http://svn.plt-scheme.org/plt/trunk/collects/tests/r6rs/
Run like following.
mosh -b tests/r6rs/run/mutable-strings.sps
Mosh 0.0.6 passed following tests.
mutable-strings, mutable-pairs,
contrib, programs, control, hashtables,
records/procedural, lists and enums.

Implemented R6RS Hashtables.

Implemented R6RS Records.

Implemented R6RS Exceptions and conditions.

Implemented R6RS List Utilities.

Implemented R6RS Enumerations.

Implemented dynamic-wind.

Improved internal error system.

Fixed bug of call/cc with multiple values.

Applied READ_CHAR/grass.scm patch by IRIE Shinsuke.

Added many procedures.

Fixed many bugs.

Please send your comments on Mosh at:
http://code.google.com/p/mosh-scheme/issues/list

---
Taro Minowa(Higepon)

http://www.monaos.org/
http://code.google.com/p/mosh-scheme/
http://www.facebook.com/people/Taro_Minowa_Higepon/649065487

namekuseijin

unread,
Aug 28, 2008, 4:06:22 PM8/28/08
to
On Aug 28, 12:43 am, higepon <hige...@gmail.com> wrote:
> Mosh is A Fast R6RS Scheme interpreter written in C++.http://code.google.com/p/mosh-scheme/

Nice, man. Good to know Japan isn't only about Ruby. :)

Nice projects as well.

Good to see R6RS getting traction...
I hope SRFI-97 gets supported soon so we can began referencing SRFIs
in a R6RS-compatible portable way.

http://srfi.schemers.org/srfi-97/srfi-97.html

higepon

unread,
Aug 28, 2008, 10:06:43 PM8/28/08
to
Thanks.

I will check srfi-97 later.

On 8月29日, 午前5:06, namekuseijin <namekusei...@gmail.com> wrote:
> On Aug 28, 12:43 am, higepon <hige...@gmail.com> wrote:
>
> > Mosh is A Fast R6RS Scheme interpreter written in C++.http://code.google.com/p/mosh-scheme/
> > Please send your comments on Mosh at:http://code.google.com/p/mosh-scheme/issues/list
> > ---
> > Taro Minowa(Higepon)
>

> >http://www.monaos.org/http://code.google.com/p/mosh-scheme/http://www...

Slobodan Blazeski

unread,
Sep 3, 2008, 7:17:30 AM9/3/08
to

Congratulations.
May I ask how do you implemented the continuations , copying the
stack, cps conversion or something else. Little bit lazy too dig
through source code.

bobi

higepon

unread,
Sep 4, 2008, 3:15:37 AM9/4/08
to
Hi.

> May I ask how do you implemented the continuations

We copy the VM stack for the continuation.
I learned how to implement the continuation from following article by
Kent Dyvbig.
It kindly teach me how to implment Scheme VM also.

http://www.cs.indiana.edu/~dyb/papers/3imp.pdf

Slobodan Blazeski

unread,
Sep 4, 2008, 3:26:10 AM9/4/08
to

higepon wrote:
> Hi.
>
> > May I ask how do you implemented the continuations
>
> We copy the VM stack for the continuation.

That's exactly what I want to avoid, but the only solution seems to be
having a compiler.


> I learned how to implement the continuation from following article by
> Kent Dyvbig.
> It kindly teach me how to implment Scheme VM also.

Thank you very much for the link.

cheers
Bobi

Abdulaziz Ghuloum

unread,
Sep 4, 2008, 11:12:22 AM9/4/08
to
>>> May I ask how do you implemented the continuations
>>>
>> We copy the VM stack for the continuation.
>>
> That's exactly what I want to avoid, but the only solution
> seems to be having a compiler.

How does having a compiler change anything? You can implement
any continuation strategy (explicit heap allocation of frames,
eager copying of the stack, copy-on-write, etc.) regardless of
the implementation strategy for the rest of the system (e.g.,
interpreted, compiled to C, compiled to machine code, CPSed,
SSAed, or not). It is completely orthogonal.

Aziz,,,

0 new messages