Folkert
69fc1ad7e7
sketch of StrToNum
2021-12-01 15:33:16 +01:00
Folkert de Vries
d37ddeb162
Merge pull request #2113 from rtfeldman/joshuawarner32/fix-indentation-within-parens
...
Fix formatting of if as an left-hand-side of an operator
2021-12-01 13:38:22 +01:00
Folkert de Vries
1c7671c9ab
Merge pull request #2111 from rtfeldman/joshuawarner32/multiline-string-asserts
...
Make assert output for fmt+parse tests more understandable
2021-12-01 13:35:20 +01:00
Joshua Warner
3228a23c98
Fix formatting of if as an left-hand-side of an operator
2021-11-30 17:53:26 -08:00
Joshua Warner
fdeafe4bab
Make assert output more understandable
2021-11-30 17:48:24 -08:00
Richard Feldman
68e206f42c
Merge pull request #2108 from rtfeldman/implement_num_to_str
...
Implement Num.toStr
2021-11-30 15:34:39 -05:00
rvcas
40090f20e6
test: update tests to use Num.toStr
2021-11-30 14:56:08 -05:00
rvcas
00bd77bf1d
chore: update builtin docs
2021-11-30 14:55:41 -05:00
rvcas
f995a07029
feat: Num.toStr
...
* add type for Num.toStr
* create new lowlevel
* delete types and Symbol for fromInt and fromFloat
* leave LowLevel::{StrFromFloat,StrFromInt}
* match on LowLevel::NumToStr and figure out the layout to decide
which build function to delegate to
2021-11-30 14:52:06 -05:00
Ivo-Balbaert
ea742b93d5
correcting 2 typos in README.md compiler folder
2021-11-30 19:53:33 +01:00
rvcas
6305947b1a
fix: exclude gen-dev from gen_list test compilation
2021-11-29 18:08:12 -05:00
rvcas
27e77f446f
feat(wasm): implement EmptyArray
2021-11-29 15:08:52 -05:00
rvcas
7657d5b192
test: enable wasm in gen_list
2021-11-29 15:06:45 -05:00
Richard Feldman
adb8ff881c
Merge pull request #2096 from rtfeldman/alias-analysis-pull-heap-cell-out
...
alias analysis: recursive tag union refactor
2021-11-29 09:27:54 -05:00
Folkert de Vries
167af34d4b
Merge pull request #2097 from rtfeldman/wasm-empty-record
...
Wasm empty record
2021-11-29 13:15:40 +01:00
Brian Carroll
1f747e971f
Clippy & fmt
2021-11-29 01:09:31 +00:00
Brian Carroll
dcd4914ac1
Fix and enable tests involving empty records
2021-11-29 00:57:28 +00:00
Brian Carroll
88bf6bf1b7
Clean up Wasm calling convention code
2021-11-29 00:17:45 +00:00
Folkert
ab1787937d
shrink CallSpecId and UpdateModeId to u32; assuming a 4GiB file that should be more than enough
2021-11-28 22:59:23 +01:00
Brian Carroll
27af5897d1
Handle zero-size structs
2021-11-28 21:04:40 +00:00
Brendan Hansknecht
fd9a9fad72
Merge pull request #2094 from rtfeldman/gen-dev/remove-results
...
Gen dev/remove results
2021-11-28 10:28:31 -08:00
Folkert
5b8c63d292
move the heap cell out of the union
2021-11-28 17:51:43 +01:00
Folkert
92cca127b1
refactor
2021-11-28 16:08:11 +01:00
Folkert
8bcb985a80
always also add heap cell to nulled tags
2021-11-28 15:53:05 +01:00
Folkert
537cf69344
add helper for adding a heap cell to values
2021-11-28 15:41:46 +01:00
Folkert
aefe719e56
hook up update mode for reset/reuse
2021-11-28 14:25:51 +01:00
Folkert
0bdda2506c
add update mode to reset and reuse
2021-11-28 14:13:02 +01:00
Folkert
1241d5ccbd
make UpdateModeIds a proper type
2021-11-28 14:03:48 +01:00
Folkert de Vries
8eb74da0f3
Merge pull request #2083 from rtfeldman/layout-soa
...
Layout Struct of Arrays
2021-11-28 12:43:37 +01:00
Richard Feldman
f80409800d
Merge pull request #2091 from rtfeldman/remove-empty-layouts
...
Remove empty layouts
2021-11-27 23:32:15 -05:00
Brendan Hansknecht
eff4da1938
appease clippy
2021-11-27 17:03:55 -08:00
Brendan Hansknecht
55f0329e5c
Merge remote-tracking branch 'origin/trunk' into gen-dev/remove-results
2021-11-27 16:57:00 -08:00
Brendan Hansknecht
a63dd1eb61
use unimplemented! and internal_error! instead of result in dev backend
2021-11-27 12:38:29 -08:00
Brendan Hansknecht
57d9ce3fdd
Merge pull request #2043 from rtfeldman/dev-backend-num-is-zero
...
add x86_64 Int is zero support for gen_dev
2021-11-27 09:53:59 -08:00
Folkert
3d1035a11f
fix bug with lists and * type variables
2021-11-27 16:57:50 +01:00
Folkert
79d5c82dfb
cleanup
2021-11-27 16:36:43 +01:00
Folkert de Vries
d0da22edfa
Merge pull request #2089 from rtfeldman/joshuawarner32/fix-backpassing-formatting
...
Fix formatting of applies in backpassing
2021-11-27 15:46:10 +01:00
Joshua Warner
02b51bcd37
Fix formatting of applies in backpassing
2021-11-27 06:15:48 -08:00
Folkert
a1fd34feef
remove empty layout types (list,str,dict,set)
2021-11-27 14:05:16 +01:00
Richard Feldman
b96d95ab1b
Merge pull request #2088 from rtfeldman/joshuawarner32/fix-unary-parens-formatting
...
Make sure unary operators around function calls get parens
2021-11-27 01:48:15 -05:00
Joshua Warner
e9d22699ed
Make sure unary operators around function calls get parens
2021-11-26 20:01:45 -08:00
Richard Feldman
d39ecfd12d
Merge pull request #2052 from rtfeldman/i/1931-2
...
Some improvements to error messages regarding unbound type variables
2021-11-26 21:17:37 -05:00
Richard Feldman
262f1600d4
Merge pull request #2086 from rtfeldman/solve-unify-allocation
...
Type checking allocation tweaks
2021-11-26 21:09:05 -05:00
Folkert
6934e69240
make deep_copy_var_to allocate less
2021-11-27 02:09:08 +01:00
Folkert
ed455777a2
give deep_copy_var_to a scratchpad
2021-11-27 01:42:11 +01:00
Folkert
471593ea31
make deep_copy_var use scratchpad arena
2021-11-27 01:32:47 +01:00
Folkert
2d0d54e13e
try stack allocation for small vectors
2021-11-27 01:31:48 +01:00
Brian Carroll
a9456639c7
Fix a bug in LLVM backend refcounting
2021-11-27 00:10:54 +00:00
Richard Feldman
74b8076bab
Merge pull request #2081 from rtfeldman/joshuawarner32/private-tag-fmt
...
Fix formatting of private tags
2021-11-26 18:03:31 -05:00
Richard Feldman
e2e095eb69
Merge pull request #2079 from rtfeldman/joshuawarner32/type-apply-package-name-fmt
...
Fix formatting in the presence of a pkg name in TypeAnnotation::Apply
2021-11-26 18:02:51 -05:00