Commit graph

1253 commits

Author SHA1 Message Date
Jan Van Bruggen
063464cb12
Fix/update path
I don't know if this file moved, but this is where it is now.

Signed-off-by: Jan Van Bruggen <JanCVanB@users.noreply.github.com>
2022-09-15 23:29:33 -06:00
Richard Feldman
620a3feb75
Add some tests for Str.replace___ functions 2022-09-12 21:05:50 -06:00
Richard Feldman
4ed63c548b
Fix type mismatches in Str.replace___ functions
...and fix/finish the draft `Str.replaceEach` implementation!
Don't be so modest, Richard :)
2022-09-12 21:05:38 -06:00
Jan Van Bruggen
9ef57f86ac
Add first draft of Str.replaceEach builtin 2022-09-12 21:03:11 -06:00
Jan Van Bruggen
2b65659a11 Add Str.replaceLast builtin 2022-09-12 20:37:23 -06:00
Jan Van Bruggen
c5b6aef21a Add Str.replaceFirst builtin 2022-09-12 20:37:23 -06:00
Jan Van Bruggen
8bbfd68621
Add language to all fenced code blocks
See https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md040
2022-09-09 01:12:31 -06:00
Jan Van Bruggen
2cbfef490a
Fix space positioning typo 2022-09-09 01:12:31 -06:00
Jan Van Bruggen
072a6bd002
Eliminate consecutive newlines
See https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md012
2022-09-09 01:12:30 -06:00
Jan Van Bruggen
3219178003
Ensure only one h1 per .md file
See https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md025
2022-09-07 23:27:18 -06:00
Jan Van Bruggen
26a1abfea8
Add blank lines around lists
See https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md032
2022-09-07 23:18:03 -06:00
Jan Van Bruggen
e3071a22b0
Add blank lines around headings
See https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md022
2022-09-07 23:18:03 -06:00
Jan Van Bruggen
6229eb54ca
Add blank lines around fenced code blocks
See https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md031
2022-09-07 23:18:03 -06:00
Folkert de Vries
33ae4c2655
Merge branch 'main' into windows-surgical-dll
Signed-off-by: Folkert de Vries <folkert@folkertdev.nl>
2022-09-05 11:31:19 +02:00
Brian Carroll
517223e12a
Merge pull request #3962 from roc-lang/capacity-realloc
Use capacity better for realloc
2022-09-04 17:00:37 +01:00
Brian Carroll
173343eea2
builtins: relax condition for reusing an allocation 2022-09-04 14:37:42 +01:00
Brian Carroll
b1b28650e9
builtins: Avoid reallocating Lists when they have enough capacity 2022-09-04 14:37:42 +01:00
Brian Carroll
0423e5650f
builtins: remove some redundant small string checks in strToBytes 2022-09-04 14:37:42 +01:00
Brian Carroll
32b815847e
builtins: Remove old incorrect comment about isSmallStr and add a test to make sure 2022-09-04 14:37:42 +01:00
kilianv
97f49bf940
Add expect tests for Str.splitLast 2022-09-01 16:59:11 +02:00
kilianv
d89253779a
Add expect tests for Str.splitFirst 2022-09-01 16:57:19 +02:00
kilianv
23e430d91d
Fix splitFirst bug
The reason was an of-by-one error.
2022-09-01 16:48:04 +02:00
Folkert
42ef5d1977
build a builtins .obj file for windows cross-compilation 2022-08-30 13:49:47 +02:00
Richard Feldman
04fa17144d
Improve a bunch of Str docs 2022-08-28 09:01:17 -04:00
Richard Feldman
7e3a10906c
Merge pull request #3888 from roc-lang/windows-cross-compilation
windows cross compilation
2022-08-27 07:59:05 -04:00
Ayaz
f5e1baffda
Merge pull request #3887 from roc-lang/lib-dir-erro
improved lib dir error msg
2022-08-24 12:55:20 -05:00
Anton-4
53aa346f47
clippy 2022-08-24 17:32:36 +02:00
Folkert
8ca7ee1e14
build zig builtins for windows 2022-08-24 16:59:06 +02:00
Anton-4
25a5303923
improved lib dir error msg 2022-08-24 16:46:55 +02:00
Folkert
a22e04361c
Merge remote-tracking branch 'origin/main' into expect-fx-codegen 2022-08-23 16:28:21 +02:00
Anton-4
172e58f96b
Merge pull request #3849 from roc-lang/small-ci-rebirth
set up small-ci again
2022-08-22 15:46:45 +02:00
Richard Feldman
f2f4fb59b5
Merge pull request #3815 from roc-lang/glue-dict
Generate glue for `Dict` and `Set`
2022-08-21 18:06:05 -04:00
Richard Feldman
ccd0d32332
Merge remote-tracking branch 'origin/main' into glue-dict 2022-08-21 09:51:22 -04:00
kilianv
e3ae182235
Fix spelling mistakes 2022-08-20 22:27:54 +02:00
kilianv
f64eac6040
Remove roc tests
On my current build the expect tests don't work. So I will add them later.
The tests in rust work fine
2022-08-20 22:03:11 +02:00
kilianv
8ab725a736
Add roc tests with expect keyword 2022-08-20 21:51:31 +02:00
kilianv
3697092eca
Add documentation to bitwise shift operators 2022-08-20 21:40:17 +02:00
Anton-4
9a715a0d4b
improve comments zig tests, set up zig tests in CI 2022-08-19 17:14:49 +02:00
Richard Feldman
0f179272d9
Add some Set builtin tests 2022-08-15 13:05:32 -04:00
Ayaz Hafiz
583829eaf5
Pass stepper function explicitly, for now 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
Folkert
3aa4ebb02f
get expect-fx to actually run 2022-08-12 23:03:01 +02:00
Richard Feldman
97e2900bf5
s/rtfeldman/roc-lang/g in links to GitHub repos 2022-08-12 15:24:09 -04:00
Anton-4
720f02372c
use most compatible bash shebang 2022-08-12 11:45:02 +02:00
Richard Feldman
807f73fecf
Add some expects to Str 2022-08-06 21:45:21 +02: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
Folkert de Vries
510016bf6e
Merge pull request #3680 from rtfeldman/derive-decoders-1
Derive immediate decoders for basic types
2022-08-05 00:07:52 +02:00
Richard Feldman
afb857d3e9
Merge pull request #3682 from rtfeldman/windows-linking
Windows linking
2022-08-03 15:33:22 -04:00
Ayaz Hafiz
b4e7ae0654
Make sure to part decimal part of a float after decimal point 2022-08-03 10:13:39 -05:00
Anton-4
6697e353a1
Merge pull request #3674 from rtfeldman/decode-obligation-checking
Obligation checking for derivability of Decode
2022-08-03 14:19:20 +02:00