polserver/pol-core
Eric Swanson a77ddd028e
New compiler: Add optimized unary expressions (#244)
Adds:
- UnaryOperator: AST node for unary operators -, ++, --, and so forth
- UnaryOperatorOptimizer: optimizes a unary operator with its operand
  - now integer and float negation, and integer inversion
  - later x[y]++ to a single instruction

Also:
- automatically include basic.em, which includes some parameter defaults like -1.

This allows the compiler to generate output for a hello, world script with the exact same .ecl output as the legacy compiler.
2020-08-26 19:24:47 -07:00
..
bscript New compiler: Add optimized unary expressions (#244) 2020-08-26 19:24:47 -07:00
clib C++17 (#197) 2020-08-10 10:04:03 +02:00
doc Add maximum cmdlevel to polsys::ListTextCommands() (#231) 2020-08-19 07:19:30 +02:00
ecompile Build AST nodes for module function declarations (#239) 2020-08-23 15:01:39 -07:00
plib formatting 2020-01-12 20:14:10 +01:00
pol Add maximum cmdlevel to polsys::ListTextCommands() (#231) 2020-08-19 07:19:30 +02:00
poltool Cmake and zlib cleanup (#219) 2020-08-14 22:16:02 +02:00
runecl use function to add module table dependency 2019-10-19 10:11:44 +02:00
support Add maximum cmdlevel to polsys::ListTextCommands() (#231) 2020-08-19 07:19:30 +02:00
uoconvert Misc test preparation improvements and fixes (#196) 2020-08-09 15:10:52 +02:00
uotool Read pol.cfg UoDataFileRoot from Windows Registry 2020-01-12 19:42:16 +01:00
.gitignore corrected .gitignore 2018-02-10 14:23:05 +01:00
AUTHORS more lineendings 2016-02-12 00:06:07 +01:00
CMakeLists.txt Add pol-core to include path (#217) 2020-08-14 20:40:14 +02:00
TERM OF USE AGREEMENT more lineendings 2016-02-12 00:06:07 +01:00