polserver/pol-core/bscript/compiler/optimizer
Kevin Eady 593cfffb83
Add uninit, true, false keywords to grammar (#596)
* Update grammar

* Update expression handling for uninit

* update existing tests

* Add new tests

* Remove fullpath from escriptgrammar generation comment

* fix tests

* Update eScript guide

* Declare escript version 0x11

* Add core-changes

* Add `true` and `false` to grammar

* true/false implementation

* Fix existing tests

* Add new tests

* Update core changes

* add docs

* Fix BooleanValue::describe_to

* bool optimizations

* optimize uninit

* remove unused var assignments

* Update grammar for case labels for uninit, booleans

* Fix case label handling for uninit, true, false

* Tests

* Fix compiler version display v1.1700000017881393 -> v1.17

* optimize boolean binary operations

* fix unary boolean optimizer

* add boolean, uninit optimizer test

* Use new fmt lib apis

* Fix compiler warning

* really fix warning lol

* Add Executor[Module]::getParam for bools, FindSubstance test
2024-01-20 05:38:25 +01:00
..
BinaryOperatorOptimizer.cpp Add uninit, true, false keywords to grammar (#596) 2024-01-20 05:38:25 +01:00
BinaryOperatorOptimizer.h Add uninit, true, false keywords to grammar (#596) 2024-01-20 05:38:25 +01:00
BinaryOperatorWithBooleanOptimizer.cpp Add uninit, true, false keywords to grammar (#596) 2024-01-20 05:38:25 +01:00
BinaryOperatorWithBooleanOptimizer.h Add uninit, true, false keywords to grammar (#596) 2024-01-20 05:38:25 +01:00
BinaryOperatorWithFloatOptimizer.cpp use new formatter for ERROR_PRINT, added ERROR_PRINTLN (#595) 2024-01-12 06:51:44 +01:00
BinaryOperatorWithFloatOptimizer.h Properly scope the compiler includes to the Bscript folder. (#360) 2021-02-25 16:53:22 +01:00
BinaryOperatorWithIntegerOptimizer.cpp use new formatter for ERROR_PRINT, added ERROR_PRINTLN (#595) 2024-01-12 06:51:44 +01:00
BinaryOperatorWithIntegerOptimizer.h Properly scope the compiler includes to the Bscript folder. (#360) 2021-02-25 16:53:22 +01:00
BinaryOperatorWithStringOptimizer.cpp Properly scope the compiler includes to the Bscript folder. (#360) 2021-02-25 16:53:22 +01:00
BinaryOperatorWithStringOptimizer.h Properly scope the compiler includes to the Bscript folder. (#360) 2021-02-25 16:53:22 +01:00
ConstantValidator.cpp Add uninit, true, false keywords to grammar (#596) 2024-01-20 05:38:25 +01:00
ConstantValidator.h Add uninit, true, false keywords to grammar (#596) 2024-01-20 05:38:25 +01:00
Optimizer.cpp Add uninit, true, false keywords to grammar (#596) 2024-01-20 05:38:25 +01:00
Optimizer.h Properly scope the compiler includes to the Bscript folder. (#360) 2021-02-25 16:53:22 +01:00
ReferencedFunctionGatherer.cpp Properly scope the compiler includes to the Bscript folder. (#360) 2021-02-25 16:53:22 +01:00
ReferencedFunctionGatherer.h Properly scope the compiler includes to the Bscript folder. (#360) 2021-02-25 16:53:22 +01:00
UnaryOperatorOptimizer.cpp Add uninit, true, false keywords to grammar (#596) 2024-01-20 05:38:25 +01:00
UnaryOperatorOptimizer.h Add uninit, true, false keywords to grammar (#596) 2024-01-20 05:38:25 +01:00
ValueConsumerOptimizer.cpp Properly scope the compiler includes to the Bscript folder. (#360) 2021-02-25 16:53:22 +01:00
ValueConsumerOptimizer.h Properly scope the compiler includes to the Bscript folder. (#360) 2021-02-25 16:53:22 +01:00