lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


2014-04-10 9:42 GMT+02:00 steve donovan <steve.j.donovan@gmail.com>:

> in the grand tradition of APL

:-) I'm working on a Lua implementation of that, and Lua 5.3, with its
UTF8 support and nicer interactive behaviour is very helpful!

Lua 5.3.0 (work2)  Copyright (C) 1994-2014 Lua.org, PUC-Rio
Lua⋆APL 0.5.0 © Dirk Laurie 2014
Lua⋆APL 0.4.1 (Lua code) © Dirk Laurie 2013
Bug reports are welcome. You'll find me on Lua-L.
If you can't remember the README, do this:
  help'start'
In Lua mode, you will need `apl:import()` first.
--
> 3 4⍴⍳12
1  2  3  4
5  6  7  8
9 10 11 12
> A←3 4⍴⍳12
> 2 3 4⌹A
¯0.35 ¯0.075 0.2 0.475