Commit Graph

9196 Commits

Author SHA1 Message Date
Ginger Bill
0b87313f08 Change entity collection strategy 2016-12-03 00:16:51 +00:00
Ginger Bill
4bb45700a5 Semicolons are required; when condition for certain file scope declarations; #import syntax change 2016-12-01 22:44:00 +00:00
Ginger Bill
be8b9bda2f Delay importing entities till all other entities are collected 2016-11-30 20:46:00 +00:00
Ginger Bill
ab2ca7cf59 Fix illegal type declaration error 2016-11-30 20:07:23 +00:00
Ginger Bill
b76c8abe73 error_node 2016-11-30 10:52:09 +00:00
Ginger Bill
d9c686b53d when statement; Better entity collection system (for both local and global); Better parsing for record declarations 2016-11-29 23:57:06 +00:00
Ginger Bill
b232b9d5ea Basic when statement - Compile time if statement
This is similar to an #if in C but handled during the semantic checking stage.
2016-11-29 22:08:48 +00:00
Ginger Bill
348bcc3f9a Update version string v0.0.3d 2016-11-28 22:23:54 +00:00
Ginger Bill
4dd8552c32 Fix slicing and add clamp 2016-11-28 22:17:27 +00:00
Ginger Bill
492490f7f6 Update demo.odin 2016-11-28 22:16:29 +00:00
Ginger Bill
598dab5bc4 #rune "" to ''; Remove infix and postfix call notation 2016-11-28 20:39:43 +00:00
Ginger Bill
cbb70c7873 Fix parsing for comments; add global ODIN_* string constants 2016-11-24 23:22:16 +00:00
Ginger Bill
5aa0ef54c8 Add logo to README.md v0.0.3c 2016-11-23 14:42:17 +00:00
Ginger Bill
7792f009b8 Numpty forgot to add .c files 2016-11-23 14:41:20 +00:00
Ginger Bill
4110324588 Update README.md 2016-11-23 14:33:32 +00:00
Ginger Bill
34ee89cfab Update README.md and roadmap.md 2016-11-23 13:57:33 +00:00
Ginger Bill
fff995a27c Merge branch 'master' into cpp-to-c 2016-11-23 13:49:03 +00:00
Ginger Bill
fb45287e9e Fix import/export rules for #import as . 2016-11-23 13:46:59 +00:00
Ginger Bill
4d30ef7eda Change extensions .cpp to .c 2016-11-23 12:29:50 +00:00
Ginger Bill
a77c6b3e55 Compile as C! Whoop! 2016-11-23 12:25:37 +00:00
Ginger Bill
ef8563a818 Remove auto 2016-11-23 12:03:26 +00:00
Ginger Bill
aa2bcb166f typedef struct and start removing auto 2016-11-23 11:07:35 +00:00
Ginger Bill
8ecfca0c9b Remove templated Map; replace with #include macro "templates" trick 2016-11-23 10:36:48 +00:00
Ginger Bill
543a2d1e5a Swap b32 to bool, et al. 2016-11-23 09:46:58 +00:00
Ginger Bill
cb7b9a413d Remove Array<T> and replace with macro version 2016-11-22 21:29:57 +00:00
Ginger Bill
3517f96668 Remove: string overloads; defer 2016-11-22 20:29:46 +00:00
Ginger Bill
36ad9dae43 128 bit integers
Kind of works but may be buggy due to LLVM not actually sure
2016-11-22 00:13:52 +00:00
Ginger Bill
24347ced45 Support any in match type 2016-11-20 01:34:43 +00:00
Ginger Bill
24ca106521 v0.0.3 Build 2016-11-17 22:58:00 +00:00
Ginger Bill
4895031df5 Actually fix alignment for vectors
Whoops :P
2016-11-16 18:27:54 +00:00
Ginger Bill
e2d98324ba Fix alignment issues with vectors, unions, and raw_unions 2016-11-16 12:36:02 +00:00
Ginger Bill
0cab083b8f #foreign_library; vector fields (x, y, z, w) for count <= 4 2016-11-15 12:06:58 +00:00
Ginger Bill
3ce044f84f Add general timings for sections of the compiler 2016-11-14 21:37:37 +00:00
Ginger Bill
7ba0f25943 Separate SSA opt; Basic Timings for sections only 2016-11-06 21:22:05 +00:00
Ginger Bill
6c2772d093 Scrap Virtual Machine and begin again
I just didn't like the style of it.
2016-11-03 16:26:22 +00:00
Ginger Bill
8534e064b9 File restructure (again) 2016-11-02 13:44:04 +00:00
Ginger Bill
fa0eb88b7b Interpreter - bounds checking 2016-10-31 00:10:31 +00:00
Ginger Bill
5271adb82f Interpreter - Structs and Arrays 2016-10-30 23:48:32 +00:00
Ginger Bill
0ffe4b600d Interpreter - call internal procedures 2016-10-30 19:20:47 +00:00
Ginger Bill
ca311c4a59 Begin work on the Interpreter 2016-10-30 17:49:30 +00:00
Ginger Bill
3ec67853e1 Minor Entity refactor 2016-10-30 13:20:45 +00:00
Ginger Bill
09f39ae2cc Better constant strings for SSA; Fix Type_Info 2016-10-26 20:10:32 +01:00
Ginger Bill
aed7a83f5b Code reorganization - Separate files and slice refactoring 2016-10-26 15:05:41 +01:00
Ginger Bill
6996df4104 Fix double declarations with enum bug 2016-10-26 12:00:40 +01:00
Ginger Bill
a5c1e83ce4 Fix Type_Info bug overwriting type_info data. 2016-10-23 22:50:15 +01:00
Ginger Bill
b454371f3b Separation of certain instructions for better clarity. 2016-10-23 15:57:59 +01:00
Ginger Bill
bd5d095de4 Separate ssa_struct_gep and ssa_array_gep procedures 2016-10-23 14:46:52 +01:00
Ginger Bill
f60dc7b0a7 Minor Style Fixes 2016-10-22 19:41:58 +01:00
Ginger Bill
a675d3f94d union_cast 2016-10-16 21:31:06 +01:00
Ginger Bill
b9719df0ad Fix exact value bug when updating expressions 2016-10-16 00:26:53 +01:00