The two main things that would make it feel more like APL/J are:

- Rhematics (word formation).  See
http://www.jsoftware.com/help/dictionary/d332.htm; or
http://www.jsoftware.com/papers/APLDictionary.htm, the monad ⊥.
- Parsing.  See http://www.jsoftware.com/help/dictionary/dicte.htm, Section
II.E; or http://www.jsoftware.com/papers/APLDictionary.htm, Section II.I
and Table 2.




On Thu, Jan 23, 2014 at 8:56 AM, Joe Bogner <[email protected]> wrote:

> Thanks for the feedback. I just added in the insert adverb and pushed
> the code. It makes it feel more like APL now since I can do the
> prototypical +/1,2,3,4.
>
> Implementing forks might be up next (fun). Then I can do the J "hello
> world" of (+/%#) 5,10,15
>
> On Thu, Jan 23, 2014 at 11:41 AM, Raul Miller <[email protected]>
> wrote:
> > I like this, and I think it is time I learn coffeescript. This relates
> > to some other efforts of mine.
> >
> > Thank you,
> >
> > --
> > Raul
> >
> >
> > On Thu, Jan 23, 2014 at 11:20 AM, John Baker <[email protected]>
> wrote:
> >> Interesting. I don't know cofffescript but it's not hard to figure out
> >> what's going on here.
> >>
> >>
> >> On Wed, Jan 22, 2014 at 9:22 PM, Joe Bogner <[email protected]>
> wrote:
> >>
> >>> I ported Arthur Whitney's one page APL interpreter fragment[1] to
> >>> coffeescript (which enables it to run in javascript) as learning
> >>> exercise.
> >>>
> >>> http://csilo.com/dev/apljs.html
> >>>
> >>> code is here: https://github.com/joebo/apl-js/blob/master/apl.coffee
> >>>
> >>> This could be extended to create in-browser games/learning exercises.
> >>> Of course, it would also make sense to change the symbols to J. I kept
> >>> the original ones for historical reasons for now.
> >>>
> >>> [1] - http://www.jsoftware.com/jwiki/Essays/Incunabulum
> >>> [2] - http://www.jsoftware.com/papers/AIOJ/AIOJ.htm
> >>> ----------------------------------------------------------------------
> >>> For information about J forums see http://www.jsoftware.com/forums.htm
> >>>
> >>
> >>
> >>
> >> --
> >> John D. Baker
> >> [email protected]
> >> ----------------------------------------------------------------------
> >> For information about J forums see http://www.jsoftware.com/forums.htm
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to