openclonk/src
Nicolas Hake 092a23c2f7 Aul: Parse scripts into an AST, then generate bytecode from that
This commit contains a fairly substantial rewrite of the C4Script code
generator. Instead of generating bytecode while parsing the script,
we're now parsing the script into a syntax tree, and have any further
processing happen on that instead of the raw source.

At this time, the code generator emits the same bytecode as the old
parser; there are several optimization opportunities that arise from the
new possibility to emit code out of order from its specification by the
author.

Compared to the old compiler, this one is still rather deficient when
dealing with incorrect code; it's also not emitting several warnings
that used to be diagnosed.
2016-05-12 19:43:48 +02:00
..
c4group Update all copyright notices for 2016 2016-04-03 20:24:42 +02:00
config Update all copyright notices for 2016 2016-04-03 20:24:42 +02:00
control Rename SafeRandom() to UnsyncedRandom() 2016-04-25 17:32:23 +02:00
editor Darwin: What the hell does "#import" do anyway? 2016-04-04 23:27:50 +02:00
game Merge branch script 2016-04-28 03:25:44 +02:00
graphics Darwin: What the hell does "#import" do anyway? 2016-04-04 23:27:50 +02:00
gui Rename SafeRandom() to UnsyncedRandom() 2016-04-25 17:32:23 +02:00
landscape C4Particles: Fix build with MSVC memory tracing 2016-05-12 18:47:52 +02:00
lib C4Random: Fix build with MSVC memory tracing 2016-05-11 17:15:47 +02:00
mape Rewrite header inclusions to #include "path/to/file.h" style 2016-04-03 20:24:42 +02:00
netio Replace rand() with SafeRandom() 2016-04-20 22:42:00 +02:00
network Rename SafeRandom() to UnsyncedRandom() 2016-04-25 17:32:23 +02:00
object Merge branch script 2016-04-28 03:25:44 +02:00
platform SDL: Fix crash when opening resolution selector 2016-05-07 22:03:25 +02:00
player Update all copyright notices for 2016 2016-04-03 20:24:42 +02:00
res Win32 editor: Allow resizing of main console window #1601 2016-01-16 21:01:11 -05:00
script Aul: Parse scripts into an AST, then generate bytecode from that 2016-05-12 19:43:48 +02:00
zlib Fix possible double close when attempting to open uncompressed files 2012-02-05 20:00:47 +01:00
C4Globals.cpp Update all copyright notices for 2016 2016-04-03 20:24:42 +02:00
C4Include.cpp Update all copyright notices for 2016 2016-04-03 20:24:42 +02:00
C4Include.h Update all copyright notices for 2016 2016-04-03 20:24:42 +02:00
C4Prototypes.h Declare C4AulBCC as class instead of struct 2016-05-09 12:21:33 +02:00
C4Version.h.in Update all copyright notices for 2016 2016-04-03 20:24:42 +02:00