leekscript
leekscript copied to clipboard
The LeekScript language, the language of Leek Wars
I am trying to store data in my registers using `jsonDecode`/`jsonEncode`. Once I decode my object I want to convert it to a Map by iterating over the object's keys....
#21 The parser for numbers is a bit weird as it eagerly eats all the dots. Now they are only eaten if the dot is not part of `..`.
A set is a data structure that holds an unordered list of unique values. It's optimized to know whether a value is present in the set. - [x] Syntax ``...
Generate a trace that can be used with https://github.com/brendangregg/FlameGraph to visualize which functions takes the most operations. Trace example for basic.leek: ``` runIA;count 115 runIA;debug 2300 runIA;getNearestEnemy 575 runIA;getWeapons 3450...
Interval
An `Interval` represents a continuous range of numbers between two bounds. Both endpoints are contained in the interval. Moreover, the interval can be unbounded; but this iteration won't allow to...