Commit Graph

14 Commits (81f2402e66cdc9c21dd81e7126b29a06dbd56d59)

Author SHA1 Message Date
elsid b88f0d2dbd
Replace mwscript program serialization into a vector with simple struct
Mostly to avoid string literal lookup by index with iteration over all preciding
literals and calling strlen. This is very inefficient. In genral this makes code
much more straightforward but also makes it portable since now int and float of
different sizes are properly supported.
2 years ago
clang-format-bot ddb0522bbf
Apply clang-format to code base 2 years ago
scrawl 67bd6cd708 Remove empty line at the beginning of files
git ls-files -z | xargs -0 sed -i '1{/^$/d}'
10 years ago
Marc Zinnschlag d213c6c36a fixed a constness-issue 11 years ago
Marc Zinnschlag 0313876d88 allow leaving out if in a top-level if-statement 11 years ago
Marc Zinnschlag cd9b137129 allow elseif without matching if (grrrrr) 11 years ago
Marc Zinnschlag 4711135e7f workaround for faulty endif in Morrowind scripts 12 years ago
Marc Zinnschlag d9677cb33e fixed problem with parsing optional string arguments 13 years ago
Marc Zinnschlag 69342f320d added if control structure 15 years ago
Marc Zinnschlag 5cf3264bd3 added literal container and reworked output container handling 15 years ago
Marc Zinnschlag a3ad61b4d0 write code file after successfull parsing 15 years ago
Marc Zinnschlag 0cfeab622d added storage class for local variable declarations; added checks for variable re-declaration 15 years ago
Marc Zinnschlag 16f6f27a90 added line parser (doesn't parse anything yet) 15 years ago
Marc Zinnschlag aa99a0dd56 added basic script parser (can only parse empty script bodies for now) 15 years ago