From 4e7a16f1cd9b778a1c1e1984b4f3f60b462bcd64 Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Thu, 18 Jan 2024 21:39:50 -0500 Subject: updates for the blog entries --- mds/cstruct2luatable.md | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'mds/cstruct2luatable.md') diff --git a/mds/cstruct2luatable.md b/mds/cstruct2luatable.md index 36c9d45..a8eb92c 100644 --- a/mds/cstruct2luatable.md +++ b/mds/cstruct2luatable.md @@ -340,3 +340,11 @@ Any feedback, suggestions and/or fixes to the tutorial is much appreciated.
I needed to turn a C struct into a lua table for an application I'm working [on](https://github.com/bloodstalker/mutator/tree/master/bruiser). Further down the line, I needed to do the same for a lot more C structs with the possibility of me having to do the same for a lot more C structs. I just couldn't bring myself to do it manually for that many C structs so I decided to work on a code generator that does that for me. The result is [luatablegen](https://github.com/bloodstalker/luatablegen).
`luatablegen` is a simple script that takes the description of your C structures in an XML file and generates the C code for your new tables and metatables. It does everything we did by hand automatically for us.
`lautablegen` is in its early stages, so again, any feedback or help will be appreciated.
+ +

+

timestamp:1705630055
+
version:1.0.0
+ +
https://raw.githubusercontent.com/terminaldweller/blog/main/mds/cstruct2luatable.md
+

+
-- cgit v1.2.3