Commit graph

716 commits

Author SHA1 Message Date
Celso Bonutti Filho
0a24f3b4b4 adds Num.bitwiseAnd 2020-12-20 19:55:10 -03:00
Anton-4
b085469602 Replaced large_enum_variant explanation with link to issue #800 2020-12-14 16:09:16 +01:00
Chadtech
6b934c499b Changed Map to Dict in commented out type signatures 2020-12-12 04:26:52 -05:00
Chadtech
db477e750c Merge branch 'rename-map-to-dict' of github.com:rtfeldman/roc into rename-map-to-dict 2020-12-11 23:49:06 -05:00
Chadtech
ce69487519 Rename Dict in test_load tests to RedBlackTree 2020-12-11 23:48:40 -05: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
20c041dc60 improvements to str.zig 2020-12-12 01:46:33 +01:00
Richard Feldman
7391ec98f7 Make builtin build.rs script more resilient
Before this change, re-running it from the root of the project
failed for me.
2020-12-09 22:42:40 -05:00
Jared Ramirez
170b5eb707 Small rename 2020-12-08 17:08:33 -08:00
Jared Ramirez
784f299b43 Various small zig str changes 2020-12-08 17:05:26 -08:00
Chadtech
2a068941b2 Resolve conflicts 2020-12-08 16:56:52 -05:00
Chadtech
b24933324a Changed Map to Dict in many tests 2020-12-08 16:55:33 -05:00
Chadtech
c376b5d0cc
Merge branch 'trunk' into rename-map-to-dict 2020-12-08 01:33:37 -05:00
Chadtech
6d977fef58
Merge branch 'trunk' into rename-map-to-dict 2020-12-07 20:33:12 -05:00
rvcas
4987721154 feat(Num): rename Num.Int to Num.I64 2020-12-07 19:17:20 -05:00
Chadtech
197d3c3c81 Changed 'Map' to 'Dict' in many places 2020-12-05 23:26:00 -05:00
Folkert
1fe0f5d780 Merge remote-tracking branch 'origin/trunk' into editor-ir 2020-12-05 20:58:27 +01:00
Jared Ramirez
c39ac471ea Zig format 2020-12-04 14:25:29 -07:00
Jared Ramirez
d41ea3f2d7 Fix clippy 2020-12-04 14:21:18 -07:00
Jared Ramirez
5697ec209b Fix call to str split; Move some comments around 2020-12-04 14:16:07 -07:00
Jared Ramirez
7e9cf27d94 [WIP] Use zig build system in build script; Nearly fix str tests 2020-12-04 14:07:47 -07:00
Richard Feldman
fc2a37b22b Use alloc over dupe 2020-12-04 01:35:20 -05:00
Richard Feldman
c83e3ce27f Merge branch 'trunk' into no-implicit-zig-allocator 2020-12-04 00:59:23 -05:00
Richard Feldman
7b5eb08617 Re-snake_case main.zig args 2020-12-04 00:38:33 -05:00
Richard Feldman
ee9f426ed8 Re-camelCase function names 2020-12-04 00:38:33 -05:00
Richard Feldman
0b16f5c1ea Revert "Use camelCase in str.zig"
This reverts commit 0583cc1a27.
2020-12-04 00:38:33 -05:00
Richard Feldman
3ee990b0a0 Explicitly link libc in build.zig 2020-12-04 00:34:31 -05:00
Richard Feldman
497e1538b0 fix some memory leaks in tests 2020-12-04 00:29:47 -05:00
Richard Feldman
505ade3282 Don't try to free empty strings 2020-12-04 00:17:46 -05:00
Richard Feldman
ef258fe675 deinit more in tests 2020-12-04 00:05:07 -05:00
Richard Feldman
f55af7282c Merge branch 'trunk' into no-implicit-zig-allocator 2020-12-03 23:53:46 -05:00
Richard Feldman
5a111cb263 Rename drop to deinit, per Zig convention 2020-12-03 23:08:30 -05:00
Richard Feldman
83529079cf allocateStr uses @sizeOf(usize) instead of 8 2020-12-03 23:01:46 -05:00
Richard Feldman
8a4e131abd Fix typo 2020-12-03 22:59:46 -05:00
Richard Feldman
aeacbed870 Use camelCase in main.zig 2020-12-03 22:59:05 -05:00
Richard Feldman
0583cc1a27 Use camelCase in str.zig 2020-12-03 22:58:19 -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
4f549b7889 zig style 2020-12-04 01:17:11 +01:00
Folkert
4b0b5126a1 add Str.fromInt 2020-12-04 00:37:19 +01:00
Richard Feldman
77d68491fb
Revise comment about RocStr.init ownership 2020-12-03 18:36:54 -05: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
e8583a72fb fix zig tests 2020-12-03 17:20:08 +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