5 ms·
Lila: A Lil Interpreter in Posix Awk
- DerekL 2y agoTitle has a mistake: it should be “POSIX AWK”, in all caps.
- dang 2y agoWe don't do that for household names (e.g. NVIDIA) - it's easier on the eyes not to.
- DerekL 2y agoOkay.
- tomhoward 2y agoIt 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 https://en.m.wikipedia.org/wiki/Acronym
- luaRage 2y ago[flagged]
- smartmic 2y agoNot 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 https://www.beyondloom.com/decker/index.html
- imglorp 2y agoIt looks like there's another language also called Lil, for "native apps and games". http://lil-language.com http://lil-language.com
- msephton 2y agoLol
- RodgerTheGreat 2y agoFun 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 2y ago>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.txt https://hoi.st/posts/2024-01-22-lets-play-some-cards-in-awk.... http://git.vgx.fr/gem.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 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:
- tmaly 2y agoMy 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 2y agoLil is not written in Lua; its design is influenced by Lua. Including Lila, there are now Lil implementations written in C, JavaScript, and Awk.