Kim Alvefur
|
7830940a9a
|
Handle special-case numbers in Lua encoder
|
2023-08-05 17:08:38 +02:00 |
|
Kim Alvefur
|
32277e2c7c
|
Handle YAML case varied booleans in Lua encoder
|
2023-08-05 17:08:38 +02:00 |
|
Kim Alvefur
|
1ff44c5d52
|
Panic on unhandled YAML Kind in Lua encoder
|
2023-08-05 17:08:38 +02:00 |
|
Kim Alvefur
|
03560a3d84
|
Allow special characters in Lua prefix and suffix
--lua-suffix='});^M' didn't work, so taking this approach instead
|
2023-08-05 17:08:38 +02:00 |
|
Kim Alvefur
|
c4de13e874
|
Hook up settings for Lua output
|
2023-08-05 17:08:38 +02:00 |
|
Kim Alvefur
|
cabb73b12c
|
Make output of unquoted Lua table keys optional
Generally safer and simpler to not do it.
|
2023-08-05 17:08:38 +02:00 |
|
Kim Alvefur
|
c8919f20da
|
Quote Lua keywords in table keys
Keywords are not valid as unquoted keys, thus must be quoted
|
2023-08-05 17:08:38 +02:00 |
|
Kim Alvefur
|
21fda2eb3d
|
Print simple keys unquoted in Lua output
String keys that satisfy the requirements for variable names can be used
as keys without quotes in tables.
|
2023-08-05 17:08:38 +02:00 |
|
Kim Alvefur
|
21c64fa945
|
Escape larger set of characters in Lua output
Started with a minimum of replacements, this should be more complete,
tho not all substitutions are strictly required in Lua.
|
2023-08-05 17:08:38 +02:00 |
|
Kim Alvefur
|
07b53fca7d
|
Implement basic Lua output support
Ref #1700
Basic but working serialization to Lua tables.
|
2023-08-05 17:08:38 +02:00 |
|