Folkert
6223892c6b
include the tag id in the hash!
2021-06-29 22:30:36 +02:00
Folkert
98a9dc0945
remove tag id from data bytes for non-recursive tags
2021-06-26 17:01:23 +02:00
Folkert
fc4f04dbd8
clean up variable names
2021-06-24 21:21:07 +02:00
Folkert
8d9f5b078e
fix ffi
2021-06-24 21:11:25 +02:00
Folkert
f8bdf05f90
has_tag_id from zig
2021-06-24 20:12:05 +02:00
Richard Feldman
4a5df543a5
Merge pull request #1432 from rtfeldman/morphic-lowlevel
...
Morphic lowlevel
2021-06-22 23:46:51 -04:00
Folkert
27308e98b7
use morphic update mode
2021-06-22 20:53:55 +02:00
Richard Feldman
ebf7e6e3b9
Add RocStr.capacity and isNullTerminated
2021-06-21 19:05:12 -04:00
Richard Feldman
d11f42743c
Update a comment
2021-06-21 19:05:12 -04:00
Richard Feldman
bdc0456996
Drop unused function which failed on small strings
2021-06-21 19:05:12 -04:00
Richard Feldman
6b8c39c8cb
Don't hardcode 16 bytes in str.zig
2021-06-21 19:05:12 -04:00
Richard Feldman
89996c4b43
Drop obsolete comment
2021-06-21 19:05:12 -04:00
Folkert
f62a5c12b9
fix zig test
2021-06-19 23:03:13 +02:00
Folkert
e912edcfdd
fix too many arguments
2021-06-19 21:26:06 +02:00
Jared Ramirez
711daee650
Fix variable names & clarify comments
2021-06-18 12:56:23 -07:00
Jared Ramirez
88aa8318f1
Refactor RocDec.toStr
2021-06-18 12:50:15 -07:00
Richard Feldman
fe9a2c1fc2
Average zig benchmarks
2021-06-16 23:53:04 -04:00
Richard Feldman
11b43c1128
Make zig benchmarks more like the Rust ones
2021-06-16 23:22:04 -04:00
Richard Feldman
4d2699f598
Use -O ReleaseFast in zig benchmarks
2021-06-16 23:18:40 -04:00
Jared Ramirez
a25986fc3b
Add super basic benchmarks
2021-06-16 15:00:05 -07:00
Jared Ramirez
49977ac803
Fix typo
2021-06-16 14:32:18 -07:00
Jared Ramirez
9903ccecf6
Add RocDec.div
2021-06-16 14:26:09 -07:00
Jared Ramirez
dd2ac10ab9
Add RocDec.sub
2021-06-15 19:19:03 -07:00
Folkert
ff8d26a042
fix typo
2021-06-10 12:20:38 +02:00
Lucas
7f52e46c69
Merge branch 'trunk' into dec-to-string
2021-06-09 18:47:50 -04:00
Folkert
f20122e71c
Merge remote-tracking branch 'origin/trunk' into update_zig
2021-06-09 14:26:35 +02:00
Folkert
12c186813d
use std.mem.swap
2021-06-09 14:25:45 +02:00
Anton-4
60672ac519
make zig fmt fail louder
2021-06-08 17:37:33 +02:00
Richard Feldman
8e19b8ecbb
Merge branch 'trunk' into update_zig
2021-06-07 21:43:31 -04:00
Jared Ramirez
3f4a847bc9
Fix memory leaked test; Add extra edge case tests
2021-06-07 16:50:23 -07:00
Jared Ramirez
e5b2e8965c
Simplify failing case
2021-06-07 12:08:18 -07:00
Jared Ramirez
4da87d9a9b
Handle negative better
2021-06-07 12:04:36 -07:00
Folkert
6850fd4ed9
formatdict.zig
2021-06-07 21:04:09 +02:00
Jared Ramirez
ea893b3481
Rework RocDec.toString internals
2021-06-06 15:38:49 -07:00
Jared Ramirez
060e977cca
Rename to/fromString to to/fromStr
2021-06-06 14:46:59 -07:00
Jared Ramirez
a42a2cc1b4
Fix RocDec.toString tests
2021-06-06 14:46:23 -07:00
Jared Ramirez
ac4d718039
Merge branch 'update_zig' of https://github.com/rtfeldman/roc into dec-to-string
2021-06-06 14:28:14 -07:00
rvcas
573f7d8093
feat(listRange): use a more terse syntax
2021-06-06 00:53:25 -04:00
rvcas
954949fbb0
chore: delete unused function
2021-06-06 00:52:44 -04:00
rvcas
f6c8c0ff32
feat: better implicit int casts now
2021-06-06 00:51:58 -04:00
rvcas
a3c9009867
fix: all tests need to use try now
2021-06-06 00:50:52 -04:00
rvcas
99db511481
fix: build.zig
...
* can use .ReleaseFast shortcut
* string format the new way
2021-06-06 00:48:14 -04:00
Anton-4
314503cf7f
fixed typos, added typos checking to CI
2021-06-05 20:02:54 +02:00
Jared Ramirez
c7272766fc
Add RocDec.toString
2021-06-04 19:33:38 -07:00
Jared Ramirez
13bb94ac24
fix: last failing test
2021-06-01 17:12:47 -07:00
rvcas
a046bbe32a
feat(RocDec): add last few RocStr tests
2021-06-01 20:09:10 -04:00
rvcas
d994b02fe4
Merge branch 'dec-from-string' of github.com:rtfeldman/roc into dec-from-string
2021-06-01 19:56:54 -04:00
rvcas
f6f2a13daa
feat(RocDec): fromString takes RocStr
2021-06-01 19:56:21 -04:00
Jared Ramirez
76e6daad50
fix: parsing negatives decimals
2021-06-01 16:51:28 -07:00
rvcas
d57277de4b
fix: RocDec tests
...
* try in tests starts in 0.8.0 not 0.7.1
* needed an @intCast in fromU64
* removed if statements in test cases in favor of checking null equality
and unwrapping the optional
2021-06-01 19:13:54 -04:00