Joy (wikipedia page: 
http://en.wikipedia.org/wiki/Joy_%28programming_language%29),
(homepage: http://www.latrobe.edu.au/philosophy/phimvt/joy.html) is a
purely functional concatenative language.  The reference
implementation is in C; JoyJ is my attempt at an implementation in
Java.  The first release, JoyJ-0.06, (http://appforge.apc.edu.ph/
projects/joyj/) was written in NetRexx and stored Joy data objects as
Rexx strings.  To process e.g. a set meant parsing out  each word and
treating it as an element--easy enough, but what about a string that
represented a list (which could contain another list)?

So, the next (latest, JoyJ-0.3) release uses JSON as the data object
format.  I could perhaps have stayed with NetRexx but there seemed to
be no way to use Java generics from NetRexx, so it's now all Java with
an "outer" interpreter generated using ANTLR.

I haven't done any testing though so maybe changing the data
representation was "premature optimization" ?

I guess that means I do have to get a testing framework in place.

BTW, thanks to everybody on the list--I'm learning something new
everyday.

Best,

Ray



On Apr 30, 3:23 am, Charles Oliver Nutter <[EMAIL PROTECTED]>
wrote:
> raybaq wrote:
> > Hi,
>
> > Couldn't resist delurking to mention the JVM language I'm working on:
> > JoyJ (Joy in Java, available 
> > athttp://appforge2.apc.edu.ph/gf/project/joyj/scmsvn/),
> > an interpreter for the concatenative programming language Joy (http://
> >www.latrobe.edu.au/philosophy/phimvt/joy.html).  I used ANTLR in
> > developing the interpreter.
>
> You should start another thread with an overview of the language and the
> implementation's design. We'd love to hear about any implementation
> challenges you've run into.
>
> - Charlie
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "JVM 
Languages" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jvm-languages?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to