Hacker News new | past | comments | ask | show | jobs | submit login
Lila: A Lil Interpreter in Posix Awk (beyondloom.com)
67 points by RodgerTheGreat 25 days ago | hide | past | favorite | 11 comments



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


It looks like there's another language also called Lil, for "native apps and games".

http://lil-language.com


Lol


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.


>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 AWKś printf instead of echo:


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?


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.


Title has a mistake: it should be “POSIX AWK”, in all caps.


We don't do that for household names (e.g. NVIDIA) - it's easier on the eyes not to.


Okay.


It may be of interest that the BBC’s style guide stipulates that for acronyms pronounced as a word (e.g., NASA - a bona fide acronym [1]) rather than spelled (e.g., BBC - an initialism, rather than an acronym), it should be printed in title case rather than all-caps.

[1] https://en.m.wikipedia.org/wiki/Acronym




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: