liberty/tools
Přemysl Eric Janouch aacf1b1d47
All checks were successful
Alpine 3.20 Success
lxdrgen-go: improve usability
Turning union tags into read-only methods of actual types:
 - eliminates duplicated JSON unmarshalling of tags,
 - makes AppendTo/ConsumeFrom symmetrical in nature,
 - eliminates duplicated AppendTo code,
 - eliminates trivial AppendTo methods for subtypes without fields,
 - gives us an opportunity to use a more specific interface than "any"
   (the type being anonymous is an acknowledged inconvenience).

Implementing our own json.Marshalers some time ago
(for performance reasons) has made this easier to implement.

Also rename "Interface" fields to more suitable "Variant".
2024-11-07 11:01:41 +01:00
..
asciiman.awk asciiman: mildly improve compatibility 2024-02-12 10:57:23 +01:00
cmake-dump.awk Add a rudimentary CMake script parser 2022-09-27 23:27:06 +02:00
cmake-parser.awk cmake-parser: clean up 2022-09-28 00:06:51 +02:00
lxdrgen-c.awk Add a C++ backend for LibertyXDR 2023-07-07 16:43:52 +02:00
lxdrgen-cpp-posix.cpp Add a C++ backend for LibertyXDR 2023-07-07 16:43:52 +02:00
lxdrgen-cpp-win32.cpp lxdrgen-cpp-win32: fix return value handling 2023-07-10 09:34:42 +02:00
lxdrgen-cpp.awk Add a C++ backend for LibertyXDR 2023-07-07 16:43:52 +02:00
lxdrgen-go.awk lxdrgen-go: improve usability 2024-11-07 11:01:41 +01:00
lxdrgen-mjs.awk Add a C++ backend for LibertyXDR 2023-07-07 16:43:52 +02:00
lxdrgen-swift.awk Add a C++ backend for LibertyXDR 2023-07-07 16:43:52 +02:00
lxdrgen.awk Add a C++ backend for LibertyXDR 2023-07-07 16:43:52 +02:00