Commit Graph

19396 Commits

Author SHA1 Message Date
Anton-4
5eda173763
logbook plugin idea
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2022-09-05 11:46:14 +02: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
Bryce Miller
9c6c8de5b4
remove special handling of platform-switching examples 2022-09-04 21:53:01 -04:00
Brian Carroll
146f77f67d
Merge pull request #3913 from roc-lang/move_spellcheck
moved spellcheck, removed what's unused in Earthfile
2022-09-04 23:06:19 +01:00
Brian Carroll
f3c268abac
Merge pull request #3935 from roc-lang/dependabot/cargo/glyph_brush-0.7.5
Bump glyph_brush from 0.7.4 to 0.7.5
2022-09-04 23:04:06 +01:00
Richard Feldman
eb45843ffe
Merge pull request #3936 from roc-lang/windows-surgical-cross-compiling
Windows surgical cross compiling
2022-09-04 11:25:20 -07:00
Brian Carroll
be245a8ede
static-site-gen: fix typos 2022-09-04 19:10:25 +01:00
Folkert
df7db18008
make test slighly different so it has a distinct hash 2022-09-04 19:49:11 +02:00
Folkert de Vries
95b00048bf
Merge pull request #3964 from roc-lang/list-map-load-opaque
list map load opaque
2022-09-04 19:12:13 +02:00
Folkert
cc1a5af70d
cleanup 2022-09-04 19:04:48 +02:00
Folkert
76f82a6175
remove debugging code 2022-09-04 19:02:13 +02:00
Folkert
828ded8ebc
fix get scalar unsafe for windows 2022-09-04 18:57:56 +02:00
Folkert
a52a148424
fix llvm issues in all windows num tests 2022-09-04 18:42:59 +02:00
Folkert
6404f308f9
add windows llvm check mode (hacky) 2022-09-04 18:30:48 +02:00
Folkert
08b25cb935
fix dec calling convention for windows 2022-09-04 18:26:04 +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
fe8ea970e8
static-site-gen: report successes & errors, and update roc_cli test 2022-09-04 16:53:01 +01:00
Brian Carroll
ce357db270
static-site-gen: make the nav links nicer 2022-09-04 16:43:44 +01:00
Brian Carroll
bbb36cae17
static-site-gen: move assets to output folder 2022-09-04 16:43:05 +01:00
Brian Carroll
93bc73fb14
static-site-gen: copy assets from Daring Fireball 2022-09-04 16:43:03 +01:00
Brian Carroll
edb9fb7022
static-site-gen: formatting 2022-09-04 16:42:56 +01:00
Brian Carroll
70c424b138
static-site-gen: template compiles 2022-09-04 16:42:53 +01:00
Brian Carroll
82bbccfb53
BAD ERROR: importing 'lang' twice causes compiler crash 2022-09-04 16:42:49 +01:00
Brian Carroll
9f32ce4e53
static-site-gen: <head> compiles 2022-09-04 16:42:42 +01:00
Brian Carroll
35858ed4f8
Fixed error by removing = 2022-09-04 16:42:36 +01:00
Brian Carroll
0487107e24
Unhelpful compiler error (wrong location with invalid href=
── UNFINISHED LIST ────────────────── examples/static-site-gen/static-site.roc ─

I am partway through started parsing a list, but I got stuck here:

21│          head [] [
22│              meta [httpEquiv "content-type" , content "text/html; charset=utf-8" ] [],
23│              title [] [text "Daring Fireball: Markdown"],
24│              link [rel "apple-touch-icon-precomposed" ,href="/graphics/apple-touch-icon.png"] [],
                 ^

I was expecting to see a closing square bracket before this, so try
adding a ] and see if that helps?

Note: When I get stuck like this, it usually means that there is a
missing parenthesis or bracket somewhere earlier. It could also be a
stray keyword or operator.
2022-09-04 16:42:02 +01:00
Brian Carroll
e15ed9c846
static-site-gen: Replace hello.txt with a copy of John Gruber's website 2022-09-04 16:41:43 +01:00
Brian Carroll
a8cd357b77
static-site-gen: add a Rust Markdown parser 2022-09-04 16:41:40 +01:00
Brian Carroll
bbc8c36d30
static-site-gen: get rid of Result 2022-09-04 16:41:24 +01:00
Brian Carroll
65a18591e5
static-site-gen: treat all input files as Str rather than List U8
This is just a lot more convenient and in practice isn't really a limitation
2022-09-04 16:41:14 +01:00
Brian Carroll
72174e41a6
static-site-gen: Add a gitignored bin folder 2022-09-04 16:41:02 +01:00
Brian Carroll
2c4b5a8b68
static-site-gen: update README 2022-09-04 16:40:42 +01:00
Folkert
5a078eee4f
fix bug in loading of an opaque pointer 2022-09-04 17:22:43 +02:00
Brian Carroll
f3e999169d
Merge pull request #3959 from roc-lang/platform-example-docs
Generate and host CLI platform example docs
2022-09-04 15:26:33 +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
Richard Feldman
85ac11171e
Exclude Effect.roc from cli docs generation 2022-09-03 21:12:39 -04:00
Richard Feldman
15f349fc37
Link to the CLI platform docs in examples README 2022-09-03 21:11:21 -04:00
Richard Feldman
1505cb514e
Generate docs for CLI example platform 2022-09-03 21:06:41 -04:00
Richard Feldman
1093bdde63
Fix a broken doc link 2022-09-03 20:25:48 -04:00
Richard Feldman
1ce5d7c98c
Remove some incorrect pf. qualifications 2022-09-03 19:00:31 -04:00
Richard Feldman
76547a61f0
Merge pull request #3948 from roc-lang/windows-c-calling-convention
windows c calling convention
2022-09-03 09:58:49 -07:00
Folkert de Vries
b1973d5862
Merge pull request #3953 from roc-lang/windows-setup
better windows setup instructions
2022-09-03 16:21:30 +02:00
Folkert
0e22dd79c9
cleanup 2022-09-03 16:20:52 +02:00
Richard Feldman
4e46efdcfd
Merge pull request #3949 from roc-lang/docs-improvements
Docs improvements
2022-09-03 07:15:26 -07:00
Folkert
56463faa80
compact some pattern matches 2022-09-03 16:04:42 +02:00
Folkert
c5edd98bef
compact code 2022-09-03 16:01:44 +02:00
Folkert
b7cb7bb786
bitwise logical operators in the dev backend 2022-09-03 15:48:57 +02:00