Commit Graph

17 Commits

Author SHA1 Message Date
Ginger Bill
bbc9739f5c Core library and Better name mangling for files 2016-09-19 11:51:21 +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
2d6171f3e5 #import search rule: relative then core/ 2016-09-17 22:42:09 +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
eb424bb315 #import and #load
#import - imported entities will not get exported
#load   - loaded entities will get exported
2016-09-16 19:46:48 +01:00
Ginger Bill
968de5aae8 Call expression, either handle all or ignore all results. 2016-09-16 11:38:20 +01:00
Ginger Bill
807256dea4 ssa - alloca all variables at the very start 2016-09-15 18:58:29 +01:00
Ginger Bill
b6cb4f4d14 #file #line directives 2016-09-15 00:53:00 +01:00
Ginger Bill
bd365e5176 Fix namespacing issues for #import; allow using ImportName 2016-09-14 22:58:24 +01:00
Ginger Bill
79f575ae8e #import "" as namespace 2016-09-14 19:35:13 +01:00
Ginger Bill
bb109b47d6 Basic module system (only file namespacing) 2016-09-14 14:16:01 +01:00
Ginger Bill
a60e6bedd9 Begin work on modules - No codegen!!! 2016-09-14 12:00:04 +01:00
Ginger Bill
1147e17c13 Fix addressing modes for selectors 2016-09-13 23:09:46 +01:00
Ginger Bill
817ae643c5 Remove len(), cap() and replace with selectors; fix defer in match 2016-09-13 14:04:05 +01:00
Ginger Bill
59fb74d2a2 Fix array bounds checking 2016-09-12 23:16:06 +01:00
Ginger Bill
d4ba6b5466 Slice and substring bounds checking 2016-09-12 15:10:15 +01:00
Ginger Bill
9ff4a8b5ab Switchable array bounds checking 2016-09-12 14:41:36 +01:00