Porting some Lua packages to Teal #887
catwell
started this conversation in
Show and tell
Replies: 1 comment
-
The particular case of |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I wrote a small gfshare implementation in Lua for fun and converted it to Teal.
Its tests used base2base (a base-to-base converter, here to convert to and from hex). I started by writing a .d.tl file but eventually I converted base2base to Teal (it was easy).
... but the base2base tests used cwtest (a test helper), so eventually I converted it to Teal as well (it was... a bit less easy, but still manageable :p). I published both cwtest and base2base to luarocks.
I will probably keep doing this with more of my Lua packages, Teal is now usable enough. I just wish luarocks had better support for Teal (in particular I wish I could use
luarocks test
like I did before) but this is hardly enough to keep me from using Teal by default now.Beta Was this translation helpful? Give feedback.
All reactions