[HN Gopher] Lila: A Lil Interpreter in Posix Awk
___________________________________________________________________
Lila: A Lil Interpreter in Posix Awk
Author : RodgerTheGreat
Score : 51 points
Date : 2024-05-06 20:29 UTC (1 days ago)
(HTM) web link (beyondloom.com)
(TXT) w3m dump (beyondloom.com)
| DerekL wrote:
| Title has a mistake: it should be "POSIX AWK", in all caps.
| dang wrote:
| We don't do that for household names (e.g. NVIDIA) - it's
| easier on the eyes not to.
| DerekL wrote:
| Okay.
| smartmic wrote:
| Not mentioned in the article, but good to know: Lil is the
| scripting language of Decker, which itself is a fantastic
| reincarnation of Hypercard with 1-bit graphics.
|
| https://www.beyondloom.com/decker/index.html
| imglorp wrote:
| It looks like there's another language also called Lil, for
| "native apps and games".
|
| http://lil-language.com
| RodgerTheGreat wrote:
| Fun fact: While Decker's UI is mostly black-and-white, it
| represents graphics in an 8-bit paletted fashion, with patterns
| as "logical colors"; this is very convenient for flood-fills,
| scaling, and other drawing operations. There is also a user-
| facing 16-color palette which can be accessed with drawing
| tools via the "Style -> Color" menu item.
| anthk wrote:
| >AWK is frequently regarded as a domain-specific language akin to
| sed
|
| Oh, well, I think a bit more than that:
|
| https://hoi.st/posts/2024-01-22-lets-play-some-cards-in-awk....
|
| http://git.vgx.fr/gem.awk/
|
| Gem client in AWK, with just openssl as a dependency, as even
| GAWK can just do plain connections.
|
| https://git.sr.ht/~akarle/gc/tree/main/item/gc
|
| This does gopher, and you can replace the netcat code on GAWK
| with connections, and the usage on writting against the socket
| would be pretty much the same but using AWKs printf instead of
| echo:
| tmaly wrote:
| My understanding of Lil is that is it written in Lua.
|
| I wonder if Lil could run in the implementation of Lua that
| Roblox offers?
| RodgerTheGreat wrote:
| Lil is not written in Lua; its design is _influenced_ by Lua.
| Including Lila, there are now Lil implementations written in C,
| JavaScript, and Awk.
___________________________________________________________________
(page generated 2024-05-07 23:01 UTC)