luacheck works with one module at a time, so all I need to do is figure out the _names_ of the callable objects. I could poke at metatables or could assume conservatively that all objects are callable. What I don't know how to do is find callable names that _aren't_ materialized in the `pandoc` table but are available only via an `__index` metamethod.
Den tis 11 maj 2021 01:16Norman Ramsey <fells...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> skrev:I've recently discovered `luacheck`, a fantastic static-analysis tool for Lua programs. I'd like to use it with my Pandoc filters, but it needs a configuration to tell it what functions in the global `pandoc` table are OK to call. If anybody happens to have made such a configuration, please let us know.I guess the fact that most of the constructors in the pandoc library are actually callable objects rather than functions may be a problem one way or another.--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/7fd5e3eb-99cd-4bce-84c4-313077e96637n%40googlegroups.com.