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
Folkert
993018b3a5
don't clone list with RC=1
2021-02-10 22:37:51 +01:00
Folkert
de5493172b
concat does not need to decrement
2021-02-10 22:09:18 +01:00
Folkert
1f0a16ec57
call to foreign function dropped continuation
2021-02-10 22:05:33 +01:00
Folkert
402b97aeb4
clippy
2021-02-10 19:54:21 +01:00
Folkert
b61736fbed
hash list and RoseTree
2021-02-10 19:50:18 +01:00
Folkert
129f85b1f5
hash tag & struct
2021-02-10 16:48:04 +01:00
Folkert
9ab9675a43
refactor build_hash
2021-02-10 15:24:06 +01:00
Folkert
0ed87828e5
Merge remote-tracking branch 'origin/trunk' into dict
2021-02-10 15:02:53 +01:00
Richard Feldman
f5b1b80ca6
Merge branch 'trunk' into gen-equality
2021-02-09 22:55:56 -05:00
Folkert
c13e72fecb
check for pointer equality
2021-02-10 03:49:03 +01:00
Folkert
b70cedf587
complete equality of tags
2021-02-10 03:17:24 +01:00
Folkert
6aaf12c49c
initial work on tag equality
2021-02-10 01:02:14 +01:00
Folkert
298dec02fe
refactor compare codegen
2021-02-09 23:34:42 +01:00
Folkert
45d8bff072
equality for structs
2021-02-09 23:14:08 +01:00
Folkert
b6ceaab341
first steps for init
2021-02-09 22:47:38 +01:00