Nicolay Korslund
|
d03a4c2c7c
|
Fixed a couple more line endings
|
15 years ago |
Marc Zinnschlag
|
1ad9b234f0
|
Merge branch 'mwscript'
Conflicts:
CMakeLists.txt
|
15 years ago |
Marc Zinnschlag
|
804aed6298
|
added basic message box formatting
|
15 years ago |
Marc Zinnschlag
|
aeb41105c4
|
added comparison operators
|
15 years ago |
Marc Zinnschlag
|
1674d406dc
|
made usage of comma as argument separator optional (largely untested, because we don't have anything that takes more than one argument)
|
15 years ago |
Marc Zinnschlag
|
bf55880ce9
|
a bit of refactoring
|
15 years ago |
Marc Zinnschlag
|
46fab68d44
|
implemented while loops
|
15 years ago |
Marc Zinnschlag
|
69342f320d
|
added if control structure
|
15 years ago |
Marc Zinnschlag
|
73f9436ed9
|
fixed round brackets parsing bug
|
15 years ago |
Marc Zinnschlag
|
ed92ffcf89
|
added local variable usage in expressions
|
15 years ago |
Marc Zinnschlag
|
fac8fb8fcb
|
added return and messagebox statements (messagebox does neither formating nor buttons yet)
|
15 years ago |
Marc Zinnschlag
|
8bb2a6039d
|
modified comma handling to be morse consistent with original script language
|
15 years ago |
Marc Zinnschlag
|
5fb4abae4f
|
added function parsing (only one function so far)
|
15 years ago |
Marc Zinnschlag
|
c8c5ef5467
|
added bracket parsing
|
15 years ago |
Marc Zinnschlag
|
48f6ad0f89
|
added basic arithmetic
|
15 years ago |
Marc Zinnschlag
|
ca8002e533
|
added parsing for signed integers and floats
|
15 years ago |
Marc Zinnschlag
|
ab33234027
|
prepared expression parser for implementation of more complex expressions
|
15 years ago |
Marc Zinnschlag
|
6ebe2cff5f
|
extended expression parser for non-negative floats
|
15 years ago |
Marc Zinnschlag
|
bceb7ebcbd
|
reimplemented expression parsing as a separate parser (still only handling non-negative integers)
|
15 years ago |
Marc Zinnschlag
|
10cb9d3dab
|
made local variable names case-insensitive
|
15 years ago |
Marc Zinnschlag
|
c6a37b2e18
|
added first batch of opcodes
|
15 years ago |
athile
|
59a2e8dcf7
|
Merge upstream
|
15 years ago |
athile
|
97feee6cb6
|
Move misc files back to components
|
15 years ago |
Marc Zinnschlag
|
d80cb3461c
|
added code execution main loop
|
15 years ago |
Marc Zinnschlag
|
770eb14d95
|
added context for standalone interpreter
|
15 years ago |
Marc Zinnschlag
|
487a70388f
|
added interpreter framework
|
15 years ago |
Marc Zinnschlag
|
fdcd34941b
|
added parsing for set statement (only integer values so far); added code generator
|
15 years ago |
Marc Zinnschlag
|
5cf3264bd3
|
added literal container and reworked output container handling
|
15 years ago |
Marc Zinnschlag
|
ba847ae9d8
|
write local variable declarations into a separate file
|
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
|
21e0182ae2
|
added skip parser for skipping faulty lines
|
15 years ago |
Marc Zinnschlag
|
bff0855af0
|
added parsing for local variable declarations
|
15 years ago |
Marc Zinnschlag
|
16f6f27a90
|
added line parser (doesn't parse anything yet)
|
15 years ago |
Marc Zinnschlag
|
fda7077cf2
|
bug-fix: comments were eating up newlines
|
15 years ago |
Marc Zinnschlag
|
8930134d82
|
exception class fix
|
15 years ago |
Marc Zinnschlag
|
aa99a0dd56
|
added basic script parser (can only parse empty script bodies for now)
|
15 years ago |
athile
|
67f89f27a2
|
Properly removing the old 'misc' file and fixing a minor error in the platform CMake
|
15 years ago |
athile
|
819c146ad1
|
Project clean-up: move 'misc' into the platform lib, update CMake to build 'platform' as a lib, and various fixes for Visual Studio compiler warnings
|
15 years ago |
Marc Zinnschlag
|
de8a651df4
|
improved error handling
|
15 years ago |
Marc Zinnschlag
|
a068ca78d7
|
replaced dummy parser with top level file parser
|
15 years ago |
athile
|
b2485e8a52
|
Windows build fixes
|
15 years ago |
athile
|
d67f0c74b0
|
Merge remote branch 'upstream/master'
|
15 years ago |
Marc Zinnschlag
|
d20e850d31
|
-> wasn't properly translated into a token
|
15 years ago |
Marc Zinnschlag
|
ddcbc8cd62
|
added tokenizing of MW scripts
|
15 years ago |
Marc Zinnschlag
|
106d12906a
|
special case handling for script records
|
15 years ago |
Marc Zinnschlag
|
e4f85cb3e6
|
directory structure reorganisation (still missing the mangle stuff)
|
15 years ago |