logoalt Hacker News

Teal – A statically-typed dialect of Lua

147 points • by Lyngbakr • last Friday at 9:07 PM • 63 comments • view on HN

Comments

ufo • today at 1:37 PM

A good example of a large Teal codebase is Luarocks, the Lua package manager: https://github.com/luarocks/luarocks/tree/main/src/luarocks

➕ show 1 reply
Kinrany • today at 10:29 AM

I'm curious if there is a comparison to Luau.

➕ show 1 reply
Joker_vD • today at 7:11 PM

How many statically-typed dialects of Lua are there anyway? I know there is Terra. There was also... Sol, I think? Anything else?

Weryj • today at 5:55 PM

How are we supposed to keep up with the sheer volume of cool note-worthy tools coming out. This is getting out of hand

➕ show 1 reply
xyproto • today at 3:07 PM

The Algernon web server comes with built-in support for Teal.

shevy-java • today at 12:02 PM

Hisham is one of the key devs there. He started GoboLinux, htop and some more.

Personally I am not the biggest fan of lua as it really is such a light language in every sense of the word (meaning, syntax too and features - too light IMO). But it's good that creativity keeps pushing things forward.

➕ show 4 replies
peter_d_sherman • today at 5:52 PM

Observation: Teal would make a great scripting language for a simpler web browser, one not based on JavaScript... maybe something like the 'Surf' web browser: (https://surf.suckless.org/).

Also, there should exist the capability to compile Teal to Wasm... or at least Teal to Lua to Wasm(!)... to that end, there exists the following GitHub repo (but I'm not sure if it's 100% operational yet):

https://github.com/ysugimoto/webassembly-lua

arisAlexis • today at 9:30 AM

What is the purpose of these kind of experiments if not for artistic purposes in the new age of AI?

➕ show 11 replies
TealMyEal • today at 5:48 PM

Yoooo