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

Implementing Nickle

5 views
Skip to first unread message

Simon Cozens

unread,
Aug 17, 2003, 5:06:36 PM8/17/03
to perl6-i...@perl.org

Not sure if this has been flagged up here or not yet, but it looks
interesting:
http://nickle.org/implement/html

" For non-local jumps caused by break, continue and return statements, Nickle
automatically builds a continuation if necessary to ensure that intervening
twixt blocks are executed appropriately. This is statically decidable because
all of the possible twixt blocks are statically visible from the source
statement and the compiler inserts appropriate Unwind instructions which count
the number of nesting catch/twixt blocks.

The continuation data structure is shared with threads, twixts and
catches. Continuations contain the instruction pointer, frame pointer, stack,
catches and twixts. Threads contain additional scheduling state. Twixts
contain additional instruction pointers that point to the start of the enter
and leave blocks. Catches are labeled with the exception they
catch. Continuations are directly embedded in these other structures to reduce
memory allocator overhead and pointer dereferencing in the interpreter"

Nickle seems a pretty funky language. Might be a good match for Parrot.

--
DYSFUNCTION:
The Only Consistent Feature of All of Your Dissatisfying
Relationships is You.
http://www.despair.com

0 new messages