Folkert
|
0ed87828e5
|
Merge remote-tracking branch 'origin/trunk' into dict
|
2021-02-10 15:02:53 +01:00 |
|
Folkert
|
352008e8a0
|
use user-provided seed
|
2021-02-09 22:25:01 +01:00 |
|
Jared Ramirez
|
f3d9c2f2bb
|
Finish first pass of Str.fromUtf8
|
2021-02-07 20:04:10 -08:00 |
|
Jared Ramirez
|
815f633a58
|
[WIP] Setup rust side to call Str.fromUtf8
|
2021-02-07 20:04:10 -08:00 |
|
Jared Ramirez
|
d7ba522155
|
Inline all num functions
|
2021-02-07 20:01:45 -08:00 |
|
Jared Ramirez
|
8d73fcda7f
|
Add zig function to check if bytes are valid unicode
|
2021-02-07 20:01:45 -08:00 |
|
Folkert
|
c3a681d1f0
|
fix bug in list repeat type
|
2021-02-07 02:08:17 +01:00 |
|
Folkert
|
2d63e24843
|
make hash work for integers/floats/strings
|
2021-02-06 21:33:56 +01:00 |
|
Chadtech
|
a575ff22fa
|
Merge branch 'trunk' of github.com:rtfeldman/roc into dict
|
2021-02-04 00:37:30 -05:00 |
|
Chadtech
|
ba5f87e149
|
Zig fmt
|
2021-02-04 00:37:27 -05:00 |
|
Chadtech
|
bec9e6ff53
|
Avoided memory leak problem, theres no real implementation beyond RocDict.empty so there is no need for memory allocation yet
|
2021-02-01 23:24:04 -05:00 |
|
Folkert
|
a79a9ea253
|
use the compiler's str.zig from platforms
|
2021-01-31 23:11:02 +01:00 |
|
Chadtech
|
bb853d4b51
|
Use dict_entries_len instead of non-existent dict_len struct field
|
2021-01-31 15:51:57 -05:00 |
|
Chadtech
|
7e63f72922
|
WIP code for the basic methods on the Zig RocDict type (init, deinit, clone, allocate)
|
2021-01-31 00:33:06 -05:00 |
|
Chadtech
|
7a64ffede5
|
Merge branch 'trunk' of github.com:rtfeldman/roc into dict
|
2021-01-29 21:17:32 -05:00 |
|
Folkert
|
dbb1484a91
|
fix isize/usize mixup
|
2021-01-26 01:12:46 +01:00 |
|
Folkert
|
712be89c9d
|
fix zig tests
|
2021-01-25 20:12:37 +01:00 |
|
Folkert
|
205f55be2e
|
cleanup
|
2021-01-25 17:24:22 +01:00 |
|
Folkert
|
5a62359a5f
|
remove T from join
|
2021-01-25 17:23:45 +01:00 |
|
Folkert
|
517bde4f4a
|
remove T from concat
|
2021-01-25 17:22:22 +01:00 |
|
Folkert
|
257985496b
|
use usize to determine size of roc str
|
2021-01-25 17:13:52 +01:00 |
|
Folkert
|
7e89307292
|
implement Dict.empty
|
2021-01-25 16:53:11 +01:00 |
|
Folkert
|
48c8343d53
|
add Str.joinWith
|
2021-01-25 00:30:48 +01:00 |
|
Folkert
|
73de5b8132
|
joinWith zig implementation and general string improvements
|
2021-01-25 00:17:41 +01:00 |
|
Chadtech
|
ec7d8e0dc9
|
Bringing in Trunk and resolving conflict
|
2021-01-23 21:23:31 -05:00 |
|
Chadtech
|
9d776a2de5
|
rename Dict.size to Dict.len
|
2021-01-21 23:16:25 -05:00 |
|
Folkert
|
18d04614d4
|
clean up zig str concat
|
2021-01-21 20:20:20 +01:00 |
|
Chadtech
|
520dcfbaca
|
Wiring up dictionary and hash rust code to their zig counterparts
|
2021-01-18 15:25:37 -05:00 |
|
Chadtech
|
c7f6de2afe
|
Merge branch 'trunk' of github.com:rtfeldman/roc into dict
|
2021-01-16 14:55:09 -05:00 |
|
Chadtech
|
41c1fa06da
|
Beginning to implement Dict size
|
2021-01-16 14:55:04 -05:00 |
|
Richard Feldman
|
82101a34e7
|
Merge pull request #898 from rtfeldman/decision-tree-improvements
Decision tree improvements
|
2021-01-14 23:53:02 -05:00 |
|
Folkert
|
b3d0c0194d
|
use const
|
2021-01-14 16:56:15 +01:00 |
|
Sébastien Besnier
|
fdc2b6ad86
|
add bitwise xor
|
2021-01-14 16:12:46 +01:00 |
|
Chadtech
|
cddd64f1c9
|
Get rid of old Dict implementation, use Zig wyhash, and WIP for testing Roc use of zig wyhash
|
2021-01-12 00:59:40 -05:00 |
|
rvcas
|
62b496b221
|
feat(builtins): use Nat for List functions and counting functions
|
2021-01-05 01:08:56 -05:00 |
|
rvcas
|
b34436e5cb
|
Merge branch 'trunk' into int_a_float_a
|
2021-01-04 09:53:45 -05:00 |
|
Chadtech
|
d3b569f6eb
|
Reformatted some comments and rearranged things within the RocDict def
|
2021-01-03 13:17:03 -05:00 |
|
Folkert
|
2ac19fb6e3
|
add equality for strings
|
2021-01-02 18:50:29 +01:00 |
|
Chadtech
|
12d836bfb0
|
Many functions taken an allocator
|
2021-01-02 01:45:22 -05:00 |
|
Chadtech
|
00ec961bfe
|
Switch method function names from snake case to camel case
|
2021-01-02 00:09:44 -05:00 |
|
Chadtech
|
f4a85160d1
|
Ran Zig fmt on dict.zig
|
2021-01-01 21:45:52 -05:00 |
|
Chadtech
|
2e1d1a7602
|
Re-arrange expected and found value in RocDict.init test to fix compile error
|
2021-01-01 21:44:45 -05:00 |
|
Chadtech
|
83cfbf9044
|
Merge branch 'trunk' of github.com:rtfeldman/roc into dict
|
2021-01-01 21:19:35 -05:00 |
|
Chadtech
|
58d33e643d
|
Made entries recursive
|
2021-01-01 21:08:13 -05:00 |
|
Richard Feldman
|
b018a15075
|
Revise some builtin docs
|
2020-12-31 23:41:57 -05:00 |
|
Richard Feldman
|
d388ef39e4
|
s/Len/Nat in builtin docs
|
2020-12-31 16:03:07 -05:00 |
|
Folkert
|
81bfea53e2
|
fix some uniqueness problems
|
2020-12-31 21:36:49 +01:00 |
|
Folkert
|
4c34312871
|
fix missing type variable in List.get
|
2020-12-31 21:26:28 +01:00 |
|
rvcas
|
127c4e1bcc
|
feat: add inner var to IntLiteral and FloatLiteral
|
2020-12-29 20:52:54 -05:00 |
|
rvcas
|
d62471c73a
|
fix: gen_list
|
2020-12-29 14:55:52 -05:00 |
|