Lil
by John Earnest
Multi-paradigm dynamic scripting language with first-class tables and queries.

Lil is the scripting language of a programming environment called Decker. It is designed to be visually similar to Lua and other mainstream imperative languages, but semantically it has a great deal in common with Q, a functional language in the APL family.

Lil offers basic functional pleasantries (value types, everything-is-an-expression, tail call elimination), implicit scalar-list-dictionary "broadcasting" (as in APLs), and a first-class table type with a SQL-like query language.

on mode a do   # line comment
 r:()
 each x in a
  r[x]:1+r[x]
 end
 first extract key orderby value desc from r
end

mode[1,2,2,3,4,2,1]
Information updated 03/28/24
Note: This entry has not yet been moderated.
View Comments