3 ms·
I wonder why the author doesn't use Teal [0] - a typed dialect of lua. [O] https://github.com/teal-language/tl https://github.com/teal-language/tl
by conaclos 3y ago
I wonder why the author doesn't use Teal [0] - a typed dialect of lua.
[O] https://github.com/teal-language/tl https://github.com/teal-language/tl
- ckolkey 3y agoLack of tooling/LSP support compared to Lua. A rather popular neovim plugin, gitsigns, recently switched from teal to regular lua because, at least in part, the type annotations available via lua-language-server. https://github.com/lewis6991/gitsigns.nvim/commit/4d63d996b00fe813088b04744fed484fe0fe20f7 https://github.com/lewis6991/gitsigns.nvim/commit/4d63d996b0...
- mrcjkb 3y agoFrom the post: "I’m aware of typed languages that compile to Lua, but here’s a native approach." Regarding teal specifically: It currently doesn't support union types as described in the post (see the 'Current limitations of union types' section of the tutorial: https://pdesaulniers.github.io/tl/tutorial.html https://pdesaulniers.github.io/tl/tutorial.html