Commit Graph

27 Commits

Author SHA1 Message Date
Ginger Bill
50301557b2 Untyped nil 2016-10-06 17:11:17 +01:00
Ginger Bill
c6aac264fa Begin work on const llvm aggregate literals 2016-09-30 20:38:46 +01:00
Ginger Bill
04b5d8c132 using on indexable field; Auto deref for (Index|Slice)Expr 2016-09-29 00:42:26 +01:00
Ginger Bill
b593332942 Minimal Dependency Map: Only build what is needed 2016-09-27 15:28:44 +01:00
Ginger Bill
70f3361a34 Bug Fixes: some assertions; variable inits;
Remove some dead code
2016-09-24 22:55:17 +01:00
Ginger Bill
828095afd1 Better name mangler for SSA generation
TODO: Define better name mangling rules and allow for explicit name overload
2016-09-18 21:44:22 +01:00
Ginger Bill
67694c0df0 VarDecl and ConstDecl split; error, warning, et al. now global 2016-09-17 11:40:00 +01:00
Ginger Bill
968de5aae8 Call expression, either handle all or ignore all results. 2016-09-16 11:38:20 +01:00
Ginger Bill
79f575ae8e #import "" as namespace 2016-09-14 19:35:13 +01:00
Ginger Bill
7509cdceb8 Default struct member reordering for minimal size
Rule: largest members to smallest; if same size, order in source order
2016-09-10 11:24:50 +01:00
Ginger Bill
c6d02e4778 Fix missing type_info with manual linear search 2016-09-08 00:23:14 +01:00
Ginger Bill
fa09d805e2 Match statements; Type System change (Type_Record for all sum and product types) 2016-09-01 20:38:44 +01:00
Ginger Bill
cda0234d48 Subtyping Polymorphic arguments; using procedure parameters 2016-08-30 23:32:04 +01:00
Ginger Bill
a06f70d5d9 Better using; foreign system libraries; optional semicolons 2016-08-30 18:39:29 +01:00
Ginger Bill
0eaf7bd830 Begin "Everything's a namespace" 2016-08-30 00:04:14 +01:00
Ginger Bill
ae75ab169b Pointer arithmetic builtin procedures 2016-08-27 11:05:08 +01:00
Ginger Bill
f93cf3827b Change rune literals to #rune "C" 2016-08-25 00:23:04 +01:00
Ginger Bill
d2c64be85c using on struct/union fields 2016-08-24 23:25:56 +01:00
gingerBill
aaecb18c8f Fix procedure's scope 2016-08-23 00:03:53 +01:00
Ginger Bill
f931b089d5 print_(f32|f64) 2016-08-18 15:58:36 +01:00
gingerBill
4a303b5c3e Minor refactor and basic library 2016-08-05 15:17:23 +01:00
gingerBill
776dc0e8f1 Restart LLVM IR SSA generation
This is the third go and I'm going for it!
2016-07-30 00:17:13 +01:00
gingerBill
32ab8fcf99 alias and unified parameters lists for procedures and structures. 2016-07-25 11:14:25 +01:00
gingerBill
cbd82e3c02 Support import files as modules (i.e. import only once) 2016-07-21 00:26:14 +01:00
gingerBill
aa6a2caecb Random Order File Scope Declaration 2016-07-12 23:53:34 +01:00
gingerBill
f7a669d342 Initial release version
* Code cleanup
* Fix some TODOs
* Reduce heap allocation use and replace with arena allocation
2016-07-09 00:31:57 +01:00
gingerBill
7430008fd7 Initial Commit
Original Git Repo "went bad" so I had to restart.
2016-07-07 21:47:33 +01:00