roman-vorobiov / evolve_script_manager

https://roman-vorobiov.github.io/evolve_script_manager/
MIT License
1 stars 0 forks source link

Decompile a JSON config into the DSL format #6

Open roman-vorobiov opened 2 weeks ago

roman-vorobiov commented 2 weeks ago

For starters, just generate a statement per setting/trigger/override of the difference from the default config. Then start thinking about grouping statements. If grouping setting overrides with the same condition, take care not to reorder the overrides of a setting as it changes the behavior.

roman-vorobiov commented 2 weeks ago

Last time I tried this, I got a huge amount of priority settings, which I don't really want to see in the decompiled code. Maybe https://github.com/roman-vorobiov/evolve_script_manager/issues/7 is a blocker.