I can of course tell you if a given feature is in L2 or how something could be achieved, but I'm not sure about "the subset of L2 which is also a subset of J". L2 includes ideas from J, but also from Matlab, JavaScript and Excel - I didn't just take the easy bits of J as the starting point for L2.
The main advantages of L2 are: - easy to learn - the environment runs in the browser or the desktop - compiles to JavaScript which can be used client-side in webpages/apps or server-side with node.js - easy to make simple apps - for when a UI is required, but minimal time is to be spent creating it. Graham On Wed, May 13, 2015 at 4:06 PM, Raul Miller <[email protected]> wrote: > I would be mostly interested in the subset of L2 which is also a subset of > J. > > Would this subset have any advantages (e.g. compiled code generation) over > J? > > How much capability would exist in that subset? > > Thanks, > > -- > Raul > > > On Wed, May 13, 2015 at 5:03 AM, graham mcneill > <[email protected]> wrote: > > http://l2project.org > > > > The language includes some J features such as: > > - boxes > > - infix notation > > - no precedence > > > > L2 is a much smaller, simpler language: > > > > - no tacit programming > > - just functions and arguments (verbs and nouns); no equivalent to > adverbs > > or conjunctions (write higher-order functions in L2) > > - all tables (arrays) are 3-dimensional > > - no equivalent to cells, frames or items > > - no equivalent to locales and coclass (use closures for classes in L2) > > > > In L2: > > > > - expressions read left to right > > - functions can take more than 2 arguments > > - the core vocabulary uses symbols, but also function names that begin > with > > a period > > - the language includes scalers, but converts between scalers and 1-entry > > tables as required > > - any dimension of a table can have keys; indices or keys can be used to > > get/set entries and subtables > > > > The first version of L2 will be released later this year, but I will post > > examples and write about the design of the language in the meantime. > > > > Graham > > ---------------------------------------------------------------------- > > 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
