Open tooolbox opened 8 months ago
Looks like bvisness is not interested in extracting it, but is fine with the code being used. Added an MIT license but annoyingly pkg.go.dev still doesn't pick it up, may or may not recognize the license in the subdirectory, so the API is not super visible.
Still, this is exported and looks appropriate: func Transpile(source, filename string) (string, error)
See https://bvisness.me/luax/
Essentially you could output HTML pages using a JSX-like syntax:
I would vastly prefer this to any of the other template systems that exist. It does depend on LuaX getting extracted from the creator's personal project and made into a module that can be imported, which I have raised an issue on here: https://github.com/bvisness/bvisness.me/issues/1