Dale Weiler
|
69408fd58d
|
Remove test binary file
|
2012-11-15 00:29:05 +00:00 |
|
Dale Weiler
|
2e84cc0b41
|
Use new console system everywhere.
|
2012-11-15 00:28:46 +00:00 |
|
Dale Weiler
|
ac01e3b5d3
|
FIX TEH BLOCK
|
2012-11-14 20:41:15 +00:00 |
|
Wolfgang (Blub) Bumiller
|
84088cb5f0
|
Merging in new-syntax
|
2012-11-14 21:39:16 +01:00 |
|
Dale Weiler
|
18deba1a51
|
Remove the tput shit
|
2012-11-14 20:18:52 +00:00 |
|
Dale Weiler
|
f0678cfa5a
|
Fix teh bugs, thanks div0
|
2012-11-14 19:38:05 +00:00 |
|
Dale Weiler
|
db7a1784d4
|
Clever hack to determine terminal color support for *nix. Uses zero libraries :)
|
2012-11-14 19:30:07 +00:00 |
|
Dale Weiler
|
f0750209b7
|
preliminary segregated console subsystem
|
2012-11-14 19:17:43 +00:00 |
|
Wolfgang (Blub) Bumiller
|
f3ebbf598f
|
if not() support
|
2012-11-13 18:55:55 +01:00 |
|
Wolfgang (Blub) Bumiller
|
8f1f6160e3
|
'not' is now a keyword
|
2012-11-13 18:55:48 +01:00 |
|
Wolfgang (Blub) Bumiller
|
e7d558dbd8
|
if not() support
|
2012-11-13 18:54:25 +01:00 |
|
Wolfgang (Blub) Bumiller
|
6204c8c956
|
'not' is now a keyword
|
2012-11-13 18:51:45 +01:00 |
|
Wolfgang (Blub) Bumiller
|
51ba2c49d6
|
improve the warning
|
2012-11-13 14:46:14 +01:00 |
|
Wolfgang (Blub) Bumiller
|
b1175eabfc
|
Warn (via -Wextensions) when accessing a field-of-array's element without putting the indexed field name in parenthesis
|
2012-11-13 14:43:20 +01:00 |
|
Dale Weiler
|
e1c8e54863
|
More buddy allocator changes
|
2012-11-13 02:29:02 +00:00 |
|
Wolfgang (Blub) Bumiller
|
b0326c66ed
|
when finishing an array-indexing operation the parser now calls rotate_entfield_array_index_nodes to fixup 'ent.foo[n]' to become 'ent.(foo[n])'
|
2012-11-13 00:39:39 +01:00 |
|
Wolfgang (Blub) Bumiller
|
6044079528
|
Fix a very stupid bug in the executor which prevented ADDRESS to have the same global as output as one of its inputs
|
2012-11-13 00:36:00 +01:00 |
|
Dale Weiler
|
28a6d943d9
|
Some allocator changes (still doesn't work)
|
2012-11-12 23:24:14 +00:00 |
|
Wolfgang (Blub) Bumiller
|
b61ae53ecd
|
fix wrong const qualifier
|
2012-11-13 00:11:07 +01:00 |
|
Wolfgang (Blub) Bumiller
|
d60a76abd1
|
allowing inexing of array-fields
|
2012-11-12 23:35:47 +01:00 |
|
Wolfgang (Blub) Bumiller
|
dbdcdb059e
|
array-field setter needs to use STOREP*
|
2012-11-12 23:05:44 +01:00 |
|
Wolfgang (Blub) Bumiller
|
0340a6a6e7
|
support for ast_entfield nodes with specific output types, fixing array-field instantiating code to print the correct name on error
|
2012-11-12 22:39:43 +01:00 |
|
Wolfgang (Blub) Bumiller
|
0224de02d5
|
add an asterror message for ast_entfield_new with a wrong type
|
2012-11-12 22:33:34 +01:00 |
|
Wolfgang (Blub) Bumiller
|
89d86420ad
|
entity-array-field-setter generation
|
2012-11-12 22:31:54 +01:00 |
|
Wolfgang (Blub) Bumiller
|
3579e495be
|
code to instantiate field-array accessors
|
2012-11-12 22:24:11 +01:00 |
|
Wolfgang (Blub) Bumiller
|
0de1ebbc21
|
Preparing to generate accessors for field arrays
|
2012-11-12 22:16:18 +01:00 |
|
Wolfgang (Blub) Bumiller
|
f026ca2fc5
|
more factorizing and shortening of code
|
2012-11-12 21:12:25 +01:00 |
|
Wolfgang (Blub) Bumiller
|
c18c89cd62
|
shorten some code
|
2012-11-12 20:51:12 +01:00 |
|
Wolfgang (Blub) Bumiller
|
d959c71be6
|
genearting field arrays
|
2012-11-12 20:33:49 +01:00 |
|
Dale Weiler
|
baaa6407d5
|
More work on buddy allocator
|
2012-11-12 15:32:25 +00:00 |
|
Dale Weiler
|
01b619d53d
|
JS stuff
|
2012-11-12 02:59:10 +00:00 |
|
Dale Weiler
|
66a503a900
|
working on a buddy allocator for gmqcc (initial code base)
|
2012-11-12 01:35:01 +00:00 |
|
Wolfgang (Blub) Bumiller
|
9a42dd1c3a
|
qcvm -trace now shows the current function name and nest-depth
|
2012-11-11 23:57:42 +01:00 |
|
Wolfgang (Blub) Bumiller
|
83438d9833
|
call ir_function_finalize on array accessors otherwise they'll blow up stuff
|
2012-11-11 23:46:03 +01:00 |
|
Wolfgang (Blub) Bumiller
|
cdb7d06521
|
apply the typemask where previously forgotten
|
2012-11-11 23:39:40 +01:00 |
|
Wolfgang (Blub) Bumiller
|
fc6bd54943
|
show the function name for CALLs in disasm
|
2012-11-11 23:36:03 +01:00 |
|
Wolfgang (Blub) Bumiller
|
bde2175779
|
Generating function-local arrays
|
2012-11-11 23:31:57 +01:00 |
|
Wolfgang (Blub) Bumiller
|
a0b6008c2e
|
fix an uninitialized value
|
2012-11-11 21:32:04 +01:00 |
|
Wolfgang (Blub) Bumiller
|
a78cdd5366
|
calling the array setter when required
|
2012-11-11 21:27:02 +01:00 |
|
Wolfgang (Blub) Bumiller
|
feec2d74ee
|
Fix array-index codegen conditions
|
2012-11-11 19:02:50 +01:00 |
|
Wolfgang (Blub) Bumiller
|
22d6ff2309
|
Fixing lexer to not classify wrong tokens as operators
|
2012-11-11 18:57:02 +01:00 |
|
Wolfgang (Blub) Bumiller
|
511058c018
|
handling of op-[
|
2012-11-11 18:54:08 +01:00 |
|
Wolfgang (Blub) Bumiller
|
d5b95f0412
|
Handling [ in the SYA
|
2012-11-11 18:45:43 +01:00 |
|
Wolfgang (Blub) Bumiller
|
2edc7ce822
|
index operator actually has 2 operands, not 0
|
2012-11-11 18:45:20 +01:00 |
|
Wolfgang (Blub) Bumiller
|
caf8946f99
|
lexer needs to fill the token for the index operator with actual content...
|
2012-11-11 18:31:37 +01:00 |
|
Wolfgang (Blub) Bumiller
|
2994d308a0
|
array index opening-paren can now return TOKEN_OPERATOR, partially handled in SYA
|
2012-11-11 16:43:16 +01:00 |
|
Wolfgang (Blub) Bumiller
|
533f9f2cfc
|
SY_PAREN_ constants to replace magic numbers
|
2012-11-11 16:36:20 +01:00 |
|
Wolfgang (Blub) Bumiller
|
30d87ee837
|
get-accessor calling in ast_array_index_codegen
|
2012-11-11 16:32:59 +01:00 |
|
Wolfgang (Blub) Bumiller
|
1ab303c528
|
Store accessors in the ast_value for access from within the ast - generate accessors after generating all the globals to not mess up the order of globals in the output
|
2012-11-11 16:22:09 +01:00 |
|
Wolfgang (Blub) Bumiller
|
7d9568f806
|
array accessor function genaration
|
2012-11-11 16:06:27 +01:00 |
|