overpy
overpy copied to clipboard
High-level language for the Overwatch Workshop with support for compilation and decompilation.
Seems the compiler is kinda slow :( - [ ] Implement operator optimization in parsing (do not check for operators that would've been parsed before) - [ ] Cache results...
- [x] Allow macros inside rules - [ ] Add #!undef - [ ] Add #!ifdef and #!ifndef with #!else and #!endif
- [x] Add the return type of each function - [ ] Add a warning if comparing types that are not equal (the special "any" type returned from variables is...
Remove declaring variables with the #!declareGlobal/Player directive, instead do it using the new globalvar/playervar keywords. Types can be specified, eg `globalvar int A` will declare A as an int, and...
- [x] Add the @Disabled annotation for rules - [ ] Add the `disabled` keyword for conditions - [ ] Add the `disabled` keyword for actions
The current way files are split is very developer unfriendly, as we get basically no IntelliSense. Debugging is okayish because of demo.html and DevTools, but it could be better. Consider...
Add f strings so we can make code easier like so: (mind you the 'print' action is the macro) ` rule 'pizza': print('hello {}'}.format('world')` ^ hard `rule 'pizza': print(f'hello {'world'}')`...
``` __splitObjectArray__({ hero: waveHeroes, length: waveLengths }, [ { hero: Hero.ANA, length: 3, }, { length: 8, hero: Hero.SOLDIER, }, { hero: Hero.HAMMOND, } ]) ``` -> ``` waveHeroes =...
the bug got out of the bag again (originally issue #290) game expects ` ` (U+00a0) when specifying a team (`Équipe 1`), instead of the normal space this character is...