Commit graph

2985 commits

Author SHA1 Message Date
Folkert
63b4d1dd65 don't reset slots when making unique 2021-02-13 19:42:35 +01:00
Folkert
16143bc06e first steps for Dict.keys and Dict.values 2021-02-13 18:35:36 +01:00
Folkert
927ba11e64 implement inc/dec for dicts 2021-02-13 16:56:00 +01:00
Folkert
685ae620a1 Merge remote-tracking branch 'origin/trunk' into dict-insert 2021-02-13 16:41:23 +01:00
Folkert
e9f2d9d608 work on refcount 2021-02-13 16:41:13 +01:00
Folkert
ac5eb0f6f6 Dict.get 2021-02-13 16:12:45 +01:00
Brendan Hansknecht
d5d067be1f
Merge branch 'trunk' into gen_dev/funcs 2021-02-12 21:12:08 -08:00
Brendan Hansknecht
c609df2d74 gen_dev: generate all functions they may be need if a function pointer is used 2021-02-12 19:42:08 -08:00
Brendan Hansknecht
95be1a1b6d gen_dev: add ability to pass arguments to functions 2021-02-12 19:32:34 -08:00
Folkert
c04b3846c7 fix typo 2021-02-13 03:04:49 +01:00
Folkert
0f53665afa fix tests 2021-02-13 02:37:41 +01:00
Brendan Hansknecht
01a86aaa9c Merge branch 'trunk' into gen_dev/funcs 2021-02-12 17:04:49 -08:00
Folkert
b8ec7d1e69 Merge remote-tracking branch 'origin/trunk' into trunk 2021-02-13 02:03:45 +01:00
Folkert
bacc7a9c6b fuse RC operations on records/closures 2021-02-13 02:03:36 +01:00
Brendan Hansknecht
fc3bbb9fbc Merge remote-tracking branch 'origin' into gen_dev/funcs 2021-02-12 17:02:36 -08:00
Brendan Hansknecht
5a3ec0c0ac Switch to base pionter offset addressing.
This change will be needed to deal with passing function arguments.
Without this change, we would need to do multiple passes due to function
arguments being on top of the stack and conflicting with variables.
2021-02-12 17:02:25 -08:00
Richard Feldman
5b83ec719e
Merge branch 'trunk' into gen-equality 2021-02-12 19:37:09 -05:00
Richard Feldman
014d6d3186
Merge branch 'trunk' into type-annotation-parse-errors 2021-02-12 19:32:34 -05:00
Richard Feldman
959ac9b140
Fix typo 2021-02-12 19:31:18 -05:00
Richard Feldman
baaf621b88
drop commented-out dbg! 2021-02-12 19:22:38 -05:00
Richard Feldman
548c3c3f15
fix typo 2021-02-12 19:21:38 -05:00
Richard Feldman
76a9461cfe
Merge branch 'trunk' into gen-equality 2021-02-12 19:13:01 -05:00
Folkert
cba729a933 use inline always strategically 2021-02-13 01:10:37 +01:00
Folkert
afe2f51660 basic versions of contains and remove 2021-02-12 23:47:02 +01:00
Folkert
b4ab02f23a actually generate RC dec code for dict values 2021-02-12 21:39:20 +01:00
Folkert
574e472978 hide debug init stuff in a macro 2021-02-12 21:24:49 +01:00
Folkert
d9d31f6cb4 getting and setting of key/value/tag 2021-02-12 21:16:28 +01:00
Folkert
ac78ed9dfc add dict capacity to its stack size 2021-02-12 19:16:55 +01:00
Folkert
ee21f86f8f hooking everything up 2021-02-12 17:18:06 +01:00
Folkert de Vries
2d3bd43ad2
Merge branch 'trunk' into type-annotation-parse-errors 2021-02-12 15:34:31 +01:00
Folkert
c8b7596c8c clippy 2021-02-12 15:28:51 +01:00
Folkert
870fd88165 remove Syntax variant on TInParens 2021-02-12 15:23:29 +01:00
Folkert
b204154fec improve messages for tag names 2021-02-12 15:22:11 +01:00
Folkert
19d3e43f09 better indentation errors (use original location for error) 2021-02-12 13:47:56 +01:00
Anton-4
30dca9528c
Merge branch 'trunk' into valgrind_ci 2021-02-12 11:55:35 +01:00
Folkert
21efa8cd71 make expression return Type errors 2021-02-12 02:38:18 +01:00
Folkert
2db94cf4e8 transform expression 2021-02-12 02:37:54 +01:00
Folkert
d382988362 fix empty spaces being added 2021-02-12 02:21:12 +01:00
Folkert
0120d5d5a1 better errors for inline aliases 2021-02-12 02:04:51 +01:00
Folkert
18c3f60e85 type term produces a Type error 2021-02-12 01:03:04 +01:00
Folkert
cae74d7f74 checkpoint 3 2021-02-12 00:58:36 +01:00
Folkert
449f205781 checkpoint 2 2021-02-12 00:45:08 +01:00
Folkert
ba820a3179 checkpoint 2021-02-12 00:25:17 +01:00
Folkert
66b2dfe6f6 better errors for type variables 2021-02-11 22:45:20 +01:00
Folkert
c339f96244 better messages for types in parens and applied types 2021-02-11 21:48:19 +01:00
Folkert
f6d3b4ed93 refactor type in parens 2021-02-11 20:27:21 +01:00
Folkert
56542e41ad fix recursion issue in generic_eq 2021-02-11 16:44:44 +01:00
Folkert
369a8fb2ee refactor foreign call codegen 2021-02-11 16:03:34 +01:00
Folkert
9d3db2f507 revise RC for function pointers 2021-02-11 15:27:46 +01:00
Brendan Hansknecht
846c82961f gen_dev: add basic function support 2021-02-10 22:38:58 -08:00