inspect.lua is now written in Teal #509
kikito
started this conversation in
Show and tell
Replies: 2 comments 3 replies
-
Why did you need to do that? That was unrelated to Teal, right? |
Beta Was this translation helpful? Give feedback.
3 replies
-
Great news, thanks! I glad that you do not abandon this useful project. But I have did my own instect.d.tl wrapper for inspect.lua 😀 |
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
-
Hello Teal Community! (tealers?, tealors?)
I just wanted to announce that I rewrote my most popular library, inspect.lua, to Teal.
The process was very straightforward - I believe the most difficult step was using 3-space indentations instead of my usual 2. My library is unusual in that it has to be able to deal with
any
types (it accepts any Lua value). This turned out to not be a huge deal - I just needed to useas
at some points.I also included some performance-related improvements.
These changes are all backwards-compatible with the library - if you are already using inspect.lua, it should be safe to upgrade. I have some future non-backwards compatible changes in mind.
Beta Was this translation helpful? Give feedback.
All reactions