Code generator that creates struct bindings for GopherLua #489
ChrisTrenkamp
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I wanted to write a server where I can make on-the-fly changes and see my changes instantly, but didn't want to manually write the bindings. I took a look at gopher-luar, but I'm not a fan of reflection. So I wrote a code generator that'll generate the bindings:
https://github.com/ChrisTrenkamp/gobindlua/
It generates code that allows you to assign Lua tables to slices and maps, and it will convert it for you.
I'm looking for feedback. Are there any obvious flaws or footguns that stick out to you with this code generator?
Beta Was this translation helpful? Give feedback.
All reactions