Open CaryCatZ opened 1 year ago
This requires LL(1) parsing, and sadly, I no longer maintain this.
Let if statement and jump-if statement support
OR(||)
AND(&&)
NOT(!)
operation.Expected:
if x > 12 && y < 15 unit-control move x=@thisx y=@thisy else unit-control idle endif
Why don't you take a look at the compiler I wrote? I believe it will be a good alternative https://github.com/A4-Tacks/mindustry_logic_bang_lang
Let if statement and jump-if statement support
OR(||)
AND(&&)
NOT(!)
operation.Expected: