Commit Graph

152 Commits

Author SHA1 Message Date
gingerBill
46b1868185 Constant polymorphic names 2018-09-10 14:21:19 +01:00
gingerBill
3825eab989 Diverging procedures proc() -> ! (no return) 2018-09-08 12:16:03 +01:00
gingerBill
3cd6ae311d Parametric polymorphic union type 2018-09-08 12:02:25 +01:00
gingerBill
11f5236434 Add $T: typeid/[]$E; Deprecate T: type/[]$E
`type` as a keyword will soon be removed in favour of polymorphic names (identifiers) in procedures
2018-09-02 16:33:54 +01:00
gingerBill
001837e6bb Temporary allocator for context 2018-08-29 19:55:55 +01:00
gingerBill
3b6523fbd9 Fix gbMutex for *nix 2018-08-19 10:34:31 +01:00
gingerBill
e326f41d16 Fix demo 2018-08-17 15:26:29 +01:00
gingerBill
1d0ac72e4a Disable non-comparison operations for enum (use bit_set for flags) 2018-08-17 15:24:44 +01:00
gingerBill
b216e44870 Add underlying type for bit_set 2018-08-17 15:11:41 +01:00
gingerBill
884d5fed9f bit_set['A'..'Z'], bit_set[0..8] 2018-08-16 15:16:57 +01:00
gingerBill
85ac95f81b Constant evaluation for in expression for bit_sets 2018-08-16 00:07:26 +01:00
gingerBill
e1e4a916a5 Fix demo and improve type hinting 2018-08-14 19:29:31 +01:00
gingerBill
71f94bff76 Minor sanity features for bit_set 2018-08-14 19:22:48 +01:00
gingerBill
966249c10a bit_set constants 2018-08-14 18:32:34 +01:00
gingerBill
acc010cba5 Add bit_set type 2018-08-14 17:07:56 +01:00
gingerBill
cdbf831a7a Replace context <- c {} with context = c;. context assignments are scope based 2018-08-04 23:14:55 +01:00
gingerBill
0718f14774 Reduce number of range and slice operators #239
Replace .. and ... with : and ..
2018-08-01 21:34:59 +01:00
gingerBill
dc5da7933a Add older demos 2018-07-29 11:36:24 +01:00
gingerBill
6512a3e5f2 using Foo :: enum {A, B, C}; len(Foo) 2018-07-29 10:50:15 +01:00
gingerBill
0e91298fd1 Rename free to delete for non pointer types 2018-07-08 11:03:56 +01:00
gingerBill
e9e7ce2606 Allow .allocator for dynamic arrays; Add mem.Pool 2018-06-12 19:10:14 +01:00
gingerBill
3f4b6b22dc Change our IR name mangling rules 2018-06-03 17:55:13 +01:00
gingerBill
d556fa2cd8 Remove special shared scope for runtime stuff 2018-06-03 15:06:40 +01:00
gingerBill
398109ac84 Remove need for __llvm_core 2018-06-03 10:51:43 +01:00
gingerBill
12b870ba66 Use const & for Array<AstNode *> parameters 2018-06-03 10:30:31 +01:00
gingerBill
6202fb8373 Re-allow when statements at the file scope 2018-06-02 19:44:34 +01:00
gingerBill
ced818ad54 Remove dead code from checker 2018-06-02 11:58:35 +01:00
gingerBill
6eb505a677 Comment based build tags for packages (basic and temporary) 2018-05-28 20:59:06 +01:00
gingerBill
4e203feaf4 Change import lookup 2018-05-27 23:46:08 +01:00
gingerBill
a513b47780 Remove unused packages 2018-05-27 23:33:10 +01:00
gingerBill
10758710d4 Fix demo.odin 2018-05-27 13:53:19 +01:00
gingerBill
86cf9383ea Fix delayed assert collection 2018-05-27 13:49:55 +01:00
gingerBill
df578d6ec5 Allow for either .odin file or directory as the initial start 2018-05-27 11:40:27 +01:00
gingerBill
6aae381e83 Move ODIN_* platform constants to core:os 2018-05-27 11:03:46 +01:00
gingerBill
7ee9051a56 IR now builds with the new package system 2018-05-27 10:49:14 +01:00
gingerBill
718b80ba39 Fix demo for removing default struct values 2018-05-20 17:39:49 +01:00
gingerBill
780b81a59f Allow for NO_DEFAULT_STRUCT_VALUES
(will decide later if I want them or not)
2018-05-13 21:09:49 +01:00
gingerBill
9274f29ca9 deprecated attribute for procedure declarations 2018-03-03 11:16:48 +00:00
gingerBill
d3ea334e7a cstring 2018-02-28 11:20:11 +00:00
gingerBill
223c473cf6 Demo fix 2018-02-25 20:57:34 +00:00
gingerBill
f23bd2dc27 Revert demo 2018-02-25 20:46:32 +00:00
gingerBill
652da98c70 Fix slice bounds checking 2018-02-25 12:10:19 +00:00
gingerBill
f96a897821 Make switch in f { valid 2018-02-25 10:55:18 +00:00
gingerBill
35ba5771a5 Replace compile_assert with #assert 2018-02-24 19:03:29 +00:00
gingerBill
a0f2357cb3 Minor fix to demo 2018-02-17 19:40:33 +00:00
gingerBill
f51de2e488 Disallow #complete switch ranges 2018-02-17 19:24:02 +00:00
gingerBill
c4d2d287fc #complete switch; Removal of dyncall 2018-02-17 11:54:08 +00:00
gingerBill
23ab3c4713 Replace [...] with [?] 2018-02-13 21:59:49 +00:00
gingerBill
14eeee40b2 Update demo.odin 2018-02-11 11:16:17 +00:00
gingerBill
038dea9202 v0.8.1
Fix initialization values for variables
2018-02-11 11:15:53 +00:00