Marc Zinnschlag
|
46fab68d44
|
implemented while loops
|
2010-07-01 10:42:49 +02:00 |
|
Nicolay Korslund
|
4a71a4c50c
|
Merge branch 'master' of http://github.com/athile/openmw
|
2010-07-01 10:38:45 +02:00 |
|
athile
|
de7087caf4
|
Move prepareMaster logic into addMaster. Having these separate only introduces the possibility for a bug.
|
2010-06-30 11:32:40 -07:00 |
|
Marc Zinnschlag
|
69342f320d
|
added if control structure
|
2010-06-30 19:58:25 +02:00 |
|
Marc Zinnschlag
|
73f9436ed9
|
fixed round brackets parsing bug
|
2010-06-30 14:08:59 +02:00 |
|
Marc Zinnschlag
|
ed92ffcf89
|
added local variable usage in expressions
|
2010-06-30 12:46:10 +02:00 |
|
Marc Zinnschlag
|
fac8fb8fcb
|
added return and messagebox statements (messagebox does neither formating nor buttons yet)
|
2010-06-30 12:04:26 +02:00 |
|
Marc Zinnschlag
|
8bb2a6039d
|
modified comma handling to be morse consistent with original script language
|
2010-06-30 11:03:08 +02:00 |
|
Marc Zinnschlag
|
5fb4abae4f
|
added function parsing (only one function so far)
|
2010-06-29 17:51:02 +02:00 |
|
Marc Zinnschlag
|
c8c5ef5467
|
added bracket parsing
|
2010-06-29 16:24:54 +02:00 |
|
Marc Zinnschlag
|
48f6ad0f89
|
added basic arithmetic
|
2010-06-29 16:11:19 +02:00 |
|
Marc Zinnschlag
|
ca8002e533
|
added parsing for signed integers and floats
|
2010-06-29 12:05:22 +02:00 |
|
Marc Zinnschlag
|
ab33234027
|
prepared expression parser for implementation of more complex expressions
|
2010-06-29 11:24:07 +02:00 |
|
Marc Zinnschlag
|
6ebe2cff5f
|
extended expression parser for non-negative floats
|
2010-06-29 10:36:42 +02:00 |
|
Marc Zinnschlag
|
bceb7ebcbd
|
reimplemented expression parsing as a separate parser (still only handling non-negative integers)
|
2010-06-29 10:22:55 +02:00 |
|
Marc Zinnschlag
|
10cb9d3dab
|
made local variable names case-insensitive
|
2010-06-29 08:29:16 +02:00 |
|
Marc Zinnschlag
|
c6a37b2e18
|
added first batch of opcodes
|
2010-06-28 21:49:48 +02:00 |
|
athile
|
59a2e8dcf7
|
Merge upstream
|
2010-06-28 12:44:55 -07:00 |
|
athile
|
97feee6cb6
|
Move misc files back to components
|
2010-06-28 12:40:39 -07:00 |
|
Marc Zinnschlag
|
d80cb3461c
|
added code execution main loop
|
2010-06-28 20:46:15 +02:00 |
|
Marc Zinnschlag
|
770eb14d95
|
added context for standalone interpreter
|
2010-06-28 20:07:17 +02:00 |
|
Marc Zinnschlag
|
487a70388f
|
added interpreter framework
|
2010-06-28 19:20:45 +02:00 |
|
Marc Zinnschlag
|
fdcd34941b
|
added parsing for set statement (only integer values so far); added code generator
|
2010-06-28 18:27:45 +02:00 |
|
Marc Zinnschlag
|
5cf3264bd3
|
added literal container and reworked output container handling
|
2010-06-28 16:48:19 +02:00 |
|
Nicolay Korslund
|
cd1e17239c
|
Reverted moving caelum resources
|
2010-06-28 14:37:29 +02:00 |
|
Marc Zinnschlag
|
ba847ae9d8
|
write local variable declarations into a separate file
|
2010-06-28 14:17:50 +02:00 |
|
Marc Zinnschlag
|
a3ad61b4d0
|
write code file after successfull parsing
|
2010-06-28 14:07:55 +02:00 |
|
Marc Zinnschlag
|
0cfeab622d
|
added storage class for local variable declarations; added checks for variable re-declaration
|
2010-06-28 13:28:50 +02:00 |
|
Marc Zinnschlag
|
21e0182ae2
|
added skip parser for skipping faulty lines
|
2010-06-28 12:47:11 +02:00 |
|
Marc Zinnschlag
|
bff0855af0
|
added parsing for local variable declarations
|
2010-06-28 12:32:08 +02:00 |
|
Marc Zinnschlag
|
16f6f27a90
|
added line parser (doesn't parse anything yet)
|
2010-06-28 12:12:47 +02:00 |
|
Nicolay Korslund
|
5005f5eb06
|
Fixed platform/strings.h to work again on Linux
|
2010-06-28 11:45:42 +02:00 |
|
Marc Zinnschlag
|
fda7077cf2
|
bug-fix: comments were eating up newlines
|
2010-06-28 11:40:48 +02:00 |
|
Marc Zinnschlag
|
8930134d82
|
exception class fix
|
2010-06-28 11:38:21 +02:00 |
|
Marc Zinnschlag
|
aa99a0dd56
|
added basic script parser (can only parse empty script bodies for now)
|
2010-06-28 11:38:04 +02:00 |
|
Nicolay Korslund
|
a26641cca1
|
Moved caelum resources into the right place in the repo, instead of having cmake make redundant copies. Also fixed file modes/line endings.
|
2010-06-28 11:36:58 +02:00 |
|
athile
|
67f89f27a2
|
Properly removing the old 'misc' file and fixing a minor error in the platform CMake
|
2010-06-27 18:12:31 -07:00 |
|
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
|
2010-06-27 18:05:01 -07:00 |
|
athile
|
82bbc69453
|
Only push the far clip plane out if the sky is enabled
|
2010-06-27 17:28:49 -07:00 |
|
athile
|
f1278232d2
|
Add CMakeLists.txt - should have been part of the last commit
|
2010-06-27 17:01:01 -07:00 |
|
athile
|
7db274f1c5
|
Sky rendering clean-up and correct resource configuration
|
2010-06-27 16:44:15 -07:00 |
|
Marc Zinnschlag
|
de8a651df4
|
improved error handling
|
2010-06-28 01:01:48 +02:00 |
|
Marc Zinnschlag
|
a068ca78d7
|
replaced dummy parser with top level file parser
|
2010-06-28 00:50:48 +02:00 |
|
Marc Zinnschlag
|
d02257ca88
|
read file to be compiled from command line arguments
|
2010-06-28 00:21:45 +02:00 |
|
athile
|
b2485e8a52
|
Windows build fixes
|
2010-06-27 14:43:07 -07:00 |
|
athile
|
d67f0c74b0
|
Merge remote branch 'upstream/master'
|
2010-06-27 14:10:46 -07:00 |
|
athile
|
52a3233243
|
Work in progress Caelum integration
|
2010-06-27 14:08:53 -07:00 |
|
Marc Zinnschlag
|
d20e850d31
|
-> wasn't properly translated into a token
|
2010-06-27 22:31:03 +02:00 |
|
Marc Zinnschlag
|
ddcbc8cd62
|
added tokenizing of MW scripts
|
2010-06-27 19:20:21 +02:00 |
|
Marc Zinnschlag
|
31e22186ef
|
added mwscript compiler standalone-executable (doesn't do anything yet)
|
2010-06-27 14:29:08 +02:00 |
|