Test Lua generator with random nodes
Some kind of fuzz testing can be used to test the Lua generation.
The idea is to generate a random block and generate the Lua code from it. Then, the generated code is parsed again and the blocks are compared.
Some kind of fuzz testing can be used to test the Lua generation.
The idea is to generate a random block and generate the Lua code from it. Then, the generated code is parsed again and the blocks are compared.