Folkert
|
5859568d92
|
remove Cond
|
2020-12-31 20:58:30 +01:00 |
|
rvcas
|
9dbcfb7a97
|
Merge branch 'temp_numbers' into int_a_float_a
|
2020-12-30 19:59:20 -05:00 |
|
Jared Ramirez
|
791a0e9404
|
Use precision in mono/ir to determine which number to generate
|
2020-12-29 09:33:55 -06:00 |
|
Folkert
|
5e25e28033
|
defer mono errors so we can test that non-exhaustive patterns throw a runtime exception
|
2020-12-29 03:51:46 +01:00 |
|
Jared Ramirez
|
5e332cbad9
|
[WIP] F32 gen
|
2020-12-28 14:50:01 -06:00 |
|
Jared Ramirez
|
9b1769b3fb
|
Add basic tests for number gen
|
2020-12-28 14:50:01 -06:00 |
|
Folkert
|
5418dd8e76
|
clippy
|
2020-12-26 00:52:37 +01:00 |
|
Folkert
|
125146aac7
|
Merge remote-tracking branch 'origin/trunk' into bughunt
|
2020-12-26 00:51:22 +01:00 |
|
Folkert
|
59d6cdba04
|
make Num.neg raise on overflow
|
2020-12-26 00:50:09 +01:00 |
|
Folkert
|
f0ce8006d2
|
factor out basic_type_from_builtin
|
2020-12-26 00:48:40 +01:00 |
|
Folkert
|
51cf54e367
|
raise exception on Num.abs overflow
|
2020-12-25 21:26:29 +01:00 |
|
Celso Bonutti Filho
|
f3bd5368f0
|
feat: adds Num.mulWrap and Num.mulChecked
|
2020-12-23 13:42:18 -03:00 |
|
Celso Bonutti Filho
|
cfbc4d1c54
|
feat: throws exception on multiplication overflow
|
2020-12-23 10:17:16 -03:00 |
|
Celso Bonutti Filho
|
fe588c120c
|
adds Num.subChecked
|
2020-12-22 23:27:16 -03:00 |
|
Celso Bonutti Filho
|
5d2abc2bd2
|
throws subtraction overflow error for floats
|
2020-12-22 23:26:50 -03:00 |
|
Celso Bonutti Filho
|
176cdd0274
|
adds Num.subWrap
|
2020-12-22 22:17:45 -03:00 |
|
Celso Bonutti Filho
|
c6b258c50c
|
throws error when Num.sub overflows
|
2020-12-22 22:17:18 -03:00 |
|
Celso Bonutti Filho
|
0a24f3b4b4
|
adds Num.bitwiseAnd
|
2020-12-20 19:55:10 -03:00 |
|
Richard Feldman
|
46a84fcbca
|
Merge pull request #802 from rtfeldman/large_enum_comment
Replaced large_enum_variant explanation with link to issue #800
|
2020-12-14 22:08:05 -05:00 |
|
Folkert
|
434c6504df
|
increment result of List.get
|
2020-12-14 21:30:55 +01:00 |
|
Anton-4
|
b085469602
|
Replaced large_enum_variant explanation with link to issue #800
|
2020-12-14 16:09:16 +01:00 |
|
Folkert de Vries
|
3d9b82e35e
|
Merge branch 'trunk' into more-tea
|
2020-12-14 02:30:04 +01:00 |
|
Richard Feldman
|
86c14d5c55
|
Merge pull request #797 from rtfeldman/better-top-level-thunks
TEA-style applications!
|
2020-12-13 18:39:30 -05:00 |
|
Folkert
|
a5e93cc21b
|
pass arguments (e.g. Msg, Model) by-reference, so the host does not need to know their size
|
2020-12-13 22:08:12 +01:00 |
|
Folkert
|
a67a750fdc
|
make the example loop a couple of times
|
2020-12-13 20:05:00 +01:00 |
|
Folkert
|
f00bd9ba01
|
fix refcount bug
closures were not incremented, but were decremented. This lead to memory corruption
|
2020-12-13 19:57:51 +01:00 |
|
Folkert
|
30e3f3bd25
|
clarify len to be the number of list elements
|
2020-12-13 19:49:49 +01:00 |
|
Chadtech
|
cd6e6e6e4f
|
Merge branch 'trunk' into rename-map-to-dict
|
2020-12-11 23:39:10 -05:00 |
|
Chadtech
|
61728fd1d1
|
Merge branch 'trunk' of github.com:rtfeldman/roc into rename-map-to-dict
|
2020-12-11 20:21:40 -05:00 |
|
Folkert
|
462f6ac8e5
|
use C calling convention (approximation) when calling foreign functions
|
2020-12-12 01:30:39 +01:00 |
|
Folkert
|
539f173472
|
set correct closure tag_id
|
2020-12-11 20:25:15 +01:00 |
|
Chadtech
|
224823eb93
|
EmptyMap renamed to EmptyDict
|
2020-12-10 21:00:36 -05:00 |
|
Folkert
|
84421ad06d
|
fix bug in closure argument unpacking
|
2020-12-10 20:45:59 +01:00 |
|
Chadtech
|
2a068941b2
|
Resolve conflicts
|
2020-12-08 16:56:52 -05:00 |
|
Folkert
|
d0686582d0
|
comment invalid assertion
|
2020-12-08 20:29:59 +01:00 |
|
Folkert
|
fc85761783
|
fix issue with one-element records containing a union in the closure argument
|
2020-12-08 16:05:51 +01:00 |
|
Chadtech
|
4dbd4fa893
|
More instances of Map renamed to Dict
|
2020-12-08 01:40:08 -05:00 |
|
Folkert
|
ac77177932
|
fix stack overflow in llvm code gen
|
2020-12-06 02:29:41 +01:00 |
|
Jared Ramirez
|
5697ec209b
|
Fix call to str split; Move some comments around
|
2020-12-04 14:16:07 -07:00 |
|
Richard Feldman
|
544e1f294a
|
Fix doc comment
|
2020-12-03 22:30:24 -05:00 |
|
Richard Feldman
|
31fd70d0b1
|
Merge branch 'trunk' into str-from-int
|
2020-12-03 22:26:23 -05:00 |
|
Richard Feldman
|
567e0e6a8f
|
Merge pull request #765 from rtfeldman/list-refcount-issues
Fix some list refcount issues
|
2020-12-03 22:23:21 -05:00 |
|
Folkert
|
4b0b5126a1
|
add Str.fromInt
|
2020-12-04 00:37:19 +01:00 |
|
Folkert
|
82e87d04e3
|
rename str.len to str.number_of_bytes
|
2020-12-03 21:23:07 +01:00 |
|
Folkert
|
22d798b7c7
|
add Str.endsWith
|
2020-12-03 19:16:50 +01:00 |
|
Folkert
|
3162ab5fc4
|
simplify str_len
|
2020-12-03 16:22:47 +01:00 |
|
Folkert
|
f21af47fc1
|
simplify str_starts_with
|
2020-12-03 16:10:24 +01:00 |
|
Folkert
|
770d4d7bc3
|
simplify str_count_graphemes
|
2020-12-03 16:07:14 +01:00 |
|
Folkert
|
3d6ea21184
|
cleanup
|
2020-12-03 16:04:08 +01:00 |
|
Folkert
|
3554a81add
|
pass RocStr over the zig/llvm boundary
|
2020-12-03 15:52:27 +01:00 |
|