Commit Graph

1617 Commits

Author SHA1 Message Date
Irmen de Jong
d0674ad688 better names, reorder 2020-08-23 14:36:24 +02:00
Irmen de Jong
ffb47458ff better names 2020-08-23 13:56:21 +02:00
Irmen de Jong
84ec1be8a4 assign type relax 2020-08-23 13:31:14 +02:00
Irmen de Jong
f4dafec645 assign type assert 2020-08-23 12:52:27 +02:00
Irmen de Jong
97ce72521d for arrays, use the element's datatype more instead of the array decl type 2020-08-23 12:03:52 +02:00
Irmen de Jong
d2f0e74879 use sourcetype 2020-08-23 11:31:33 +02:00
Irmen de Jong
d9e3895c45 start with yet another codegen restructure, this time to make the assignment of values even more explicit for the codegen 2020-08-23 02:05:01 +02:00
Irmen de Jong
5075901830 work 2020-08-22 23:39:27 +02:00
Irmen de Jong
f1193bb5a0 Better error message 2020-08-22 23:13:53 +02:00
Irmen de Jong
d3dc279105 updated the compiled examples 2020-08-22 22:57:30 +02:00
Irmen de Jong
acc942f690 added some more asm code optimizations by splitting certain assignments 2020-08-22 22:53:21 +02:00
Irmen de Jong
e947067dcf fixed source code output issue 2020-08-22 22:23:00 +02:00
Irmen de Jong
bd9ebf4603 flipped the order of the parameters of mkword() so it's now mkword(msb, lsb) for easier readability 2020-08-22 21:13:38 +02:00
Irmen de Jong
f41192a52a added cube3d-gfx example 2020-08-22 19:00:03 +02:00
Irmen de Jong
ff54d6abd7 reorder const for all associative operators 2020-08-22 17:44:32 +02:00
Irmen de Jong
f40bcc219f better errormsg 2020-08-22 17:29:35 +02:00
Irmen de Jong
679965410a todo 2020-08-22 17:13:23 +02:00
Irmen de Jong
c6e13ae2a3 better error message 2020-08-22 17:12:09 +02:00
Irmen de Jong
20cdcc673b identifiers can no longer start with an underscore. (this interfered with 64tass syntax) 2020-08-22 17:03:40 +02:00
Irmen de Jong
89f46222d9 fix compiler crash when calling a non-subroutine 2020-08-22 17:01:47 +02:00
Irmen de Jong
b27cbfac5e removed lsl() and lsr() functions just use <<=1 and >>=1 2020-08-22 16:44:48 +02:00
Irmen de Jong
31c946aeeb bugfix 2020-08-22 16:39:17 +02:00
Irmen de Jong
bfc8a26381 implemented bit shifting for non-const amounts 2020-08-22 16:13:52 +02:00
Irmen de Jong
9d98746501 version 3.2 2020-08-21 18:02:49 +02:00
Irmen de Jong
63b03ba70c fix typecasting 2020-08-21 18:02:01 +02:00
Irmen de Jong
70bab76b36 added plasma example 2020-08-21 17:58:43 +02:00
Irmen de Jong
15d24d4308 adding plasma example 2020-08-21 17:27:18 +02:00
Irmen de Jong
9ec62eb045 fixed lsb(), fixed const value type mismatch, fixed and() const evaluation. 2020-08-21 16:26:40 +02:00
Irmen de Jong
12f841e30d just prints 2020-08-21 09:25:32 +02:00
Irmen de Jong
335599ed22 restored certain memoryread asm gen 2020-08-21 07:44:50 +02:00
Irmen de Jong
0b717f9e76 clear messages about slow expression code generation points 2020-08-21 05:45:39 +02:00
Irmen de Jong
e941f6ecca fix asm bug 2020-08-21 04:23:08 +02:00
Irmen de Jong
ef7744dbda asm fix 2020-08-21 04:02:10 +02:00
Irmen de Jong
c83a61c460 some float asm code added for in-place 2020-08-21 03:06:37 +02:00
Irmen de Jong
335684caf7 don't remove asmsub definitions... 2020-08-21 03:01:07 +02:00
Irmen de Jong
8d6220ce51 added most essential of the new in-place assignment code 2020-08-21 02:17:40 +02:00
Irmen de Jong
39ea5c5f99 fix parse error for <<= and >>= 2020-08-20 23:24:01 +02:00
Irmen de Jong
b03597ac13 fixed bug in operand equality comparison, could lead to compiler endless loop 2020-08-20 22:21:26 +02:00
Irmen de Jong
58f323c087 implemented missing memory postincrdecr codegen 2020-08-20 21:48:15 +02:00
Irmen de Jong
513a68584c implemented more optimized prefix expression codegen 2020-08-20 21:42:38 +02:00
Irmen de Jong
88d5c68b32 don't inc/dec a memory mapped register 2020-08-20 21:16:48 +02:00
Irmen de Jong
14f9382cf9 typecheck prefix expressions better 2020-08-20 20:46:28 +02:00
Irmen de Jong
cffb582568 added start of optimized in-place assignment code (for prefix expressions) 2020-08-20 18:43:10 +02:00
Irmen de Jong
e1812ce16c fix typecast removal error. 2020-08-20 18:07:48 +02:00
Irmen de Jong
7a3163f59a bugfix in direct memory assignment 2020-08-20 17:02:22 +02:00
Irmen de Jong
6f3b2749b0 refactoring assignments codegen 2020-08-20 16:47:43 +02:00
Irmen de Jong
c144d4e501 improved warnings about unreachable code 2020-08-20 14:28:17 +02:00
Irmen de Jong
edfd9d55ba added sizeof() function 2020-08-20 13:50:28 +02:00
Irmen de Jong
774897260e avoid silent type casts that remove precision (such as float -> word) 2020-08-20 12:49:48 +02:00
Irmen de Jong
65ba91411d improved function arg type checking and error message 2020-08-20 12:38:22 +02:00