Commit graph

72 commits

Author SHA1 Message Date
ayazhafiz
3456a44742
Only compile and run expects that belong to the same package
In particular, don't run expects that come from modules with a different
package qualification (including subpackages; we can loosen this
restriction later), or builtins when run on userspace apps/interfaces.

Closes #3722
2022-08-28 10:16:55 -05:00
Folkert de Vries
51d5aa789a
Merge pull request #3870 from roc-lang/dev-backend-div
add int/float division to the dev backend
2022-08-25 09:03:19 +02:00
Folkert
2d366acc6e
split out int and frac division into separate lowlevels 2022-08-23 11:07:38 +02:00
Richard Feldman
0bff2c6674
Support converting Lowercase to Box<str> 2022-08-15 11:11:31 -05:00
Richard Feldman
6af6006cdd
Give TagName a From<&str> 2022-08-15 11:11:30 -05:00
Ayaz Hafiz
29793fac32
Begin working on JSON record decoding
And we've hit a borrow panic 😍
2022-08-15 11:11:29 -05:00
Ross Smyth
80f14f61df
Add safe layout reprs and safety comments about layout 2022-08-13 03:49:12 -04:00
Richard Feldman
97e2900bf5
s/rtfeldman/roc-lang/g in links to GitHub repos 2022-08-12 15:24:09 -04:00
Richard Feldman
26ee1a01bc
Merge pull request #3691 from rtfeldman/cargo_verson_change
changed Cargo versions from 0.1.0 to 0.0.1
2022-08-05 09:13:04 -04:00
Anton-4
6a15a7b41b
changed Cargo versions from 0.1.0 to 0.0.1 2022-08-03 11:41:19 +02:00
Ayaz Hafiz
4bbc6b74fc
Add derivability obligation checking for Decode 2022-08-02 14:31:16 -05:00
Ayaz
fa14146054
Merge pull request #3531 from rtfeldman/decode
Very basic Decode.roc in the standard library
2022-08-02 14:26:28 -05:00
Ayaz Hafiz
fc71e3df04
Add Decode to the load graph 2022-08-01 08:09:22 -05:00
Ayaz Hafiz
1f4099449d
Add Decoder module symbol 2022-08-01 08:09:22 -05:00
Folkert
01ec0d7bda
formatting 2022-07-28 22:27:30 +02:00
Folkert
2514e7d845
implement non-recursive tags 2022-07-28 22:02:21 +02:00
Ayaz
6b6f240acb
Merge pull request #3589 from rtfeldman/can-abilities3
Canonicalize syntactic abilities: Part 3 - solving
2022-07-25 21:48:14 -05:00
Richard Feldman
97720c4090
Drop unexposed List symbol
List.iterate doesn't need a manual Symbol entry because
it's not exposed.
2022-07-25 19:15:37 +02:00
Richard Feldman
baa9176363
Update List builtin symbols 2022-07-25 19:15:34 +02:00
Richard Feldman
f3b8025d8d
Rename List.find and findIndex to include 'First' 2022-07-25 19:15:32 +02:00
Ayaz Hafiz
6035e45f25
Store derivable ability members statically 2022-07-25 09:09:00 -04:00
Ayaz
d5f36a6780
Merge pull request #3568 from rtfeldman/list-maptry 2022-07-18 15:22:38 -05:00
Richard Feldman
08ead32be9
Add List.mapTry 2022-07-17 21:53:01 -04:00
Richard Feldman
8036533749
Update symbols 2022-07-17 21:37:32 -04:00
Folkert de Vries
1b1b63aad0
Merge branch 'trunk' into assoc-list-dict 2022-07-14 16:47:50 +02:00
Ayaz
a9243720da
Merge pull request #3496 from rtfeldman/derive-w-mono
Monomorphize and compile derived implementations
2022-07-14 07:45:21 -05:00
Ayaz Hafiz
9b7950f765
Wrap opaque types in the repl with the appropriate opaque wrapper
Closes #3504
2022-07-13 17:46:04 -04:00
Folkert
5763248b44
Merge remote-tracking branch 'origin/trunk' into assoc-list-dict 2022-07-13 20:44:28 +02:00
Richard Feldman
25facfa9c6
Expose capacity builtins 2022-07-13 12:19:37 -04:00
Ayaz Hafiz
df9bcb1a0c
Use Derived_synth for synthesizing implementations, and Derived_gen for codegen 2022-07-13 08:47:39 -04:00
Folkert
cf69d41a7b
implement set operations on dict 2022-07-13 11:33:39 +02:00
Folkert
8e21fdcb04
remove dict/set lowlevels 2022-07-13 11:24:07 +02:00
Folkert
79f8ae4e69
make Set/Dict mostly work 2022-07-13 11:15:57 +02:00
Folkert
f9d8e01561
implement Dict/Set completely in roc 2022-07-13 00:35:20 +02:00
ayazhafiz
d20c183390
Merge remote-tracking branch 'origin/trunk' into rust61 2022-07-09 12:52:49 -04:00
Marten/Qqwy
699ab5c646
Symbol definition and tests 2022-07-09 14:28:30 +02:00
Folkert
a4e1de2f2d
improve names and comments around the new macros 2022-07-08 23:43:36 +02:00
Folkert
e8530eaca5
improve lowlevel unwrapping 2022-07-08 22:13:13 +02:00
Folkert
41768bfa97
new approach for defining our builtins 2022-07-08 13:46:34 +02:00
Folkert
56c9787e8f
List.appendUnsafe and List.reserve 2022-07-07 22:40:28 +02:00
Folkert
a1de31d99e
Merge remote-tracking branch 'origin/trunk' into rust61 2022-07-06 01:42:50 +02:00
Folkert
3a30e77726
Merge remote-tracking branch 'origin/trunk' into list-unreachable 2022-07-06 01:38:50 +02:00
Richard Feldman
cd2cf045fa
Merge pull request #3403 from rtfeldman/clippy-1.62
updates for clippy 1.62
2022-07-05 18:26:52 -04:00
Folkert de Vries
93dbda9ac5
Merge pull request #3399 from rtfeldman/pure-roc-map-with-index
Pure Roc `List.mapWithIndex`
2022-07-06 00:25:46 +02:00
Folkert
9c856fd5ae
updates for clippy 1.62 2022-07-05 12:39:27 +02:00
Folkert
6d7c329698
Str.walkScalars 2022-07-04 18:01:19 +02:00
Folkert
9c41a4d442
str.appendScalar 2022-07-04 16:27:04 +02:00
Brian Carroll
eb2ac4c82b
module: delete LowLevel enum variant ListMapWithIndex 2022-07-04 15:07:12 +01:00
Folkert
ab721dd3c1
Str.reserve 2022-07-04 14:57:20 +02:00
Folkert
5904934887
rename countBytes -> countUtf8Bytes 2022-07-03 21:49:01 +02:00