Luke Boswell
f51aef42bb
add support for slashes
2023-03-01 19:06:15 +11:00
Luke Boswell
093f8e297d
add qmark to static-site
2023-03-01 18:40:29 +11:00
Luke Boswell
c9ffedb483
add ? token
2023-03-01 18:38:16 +11:00
Luke Boswell
0c7bb163d5
also separate out tokens for css styling
2023-03-01 18:17:52 +11:00
Luke Boswell
5f8629f64e
bug fix for highlighting
2023-03-01 18:00:30 +11:00
Brendan Hansknecht
a87aec77b4
Merge pull request #5068 from roc-lang/gen-dev-i128
...
gen-dev: num additions
2023-02-28 16:29:42 +00:00
Anton-4
9278e52127
Merge pull request #5051 from lukewilliamboswell/parser-highlight
...
Roc parser syntax highlighting for static-site platform
2023-02-28 11:23:08 +01:00
Luke Boswell
1590b30b19
Add a lexing-based 'highlight' mode to the parser
...
basic syntax highlighting
added more syntax highlighting coverage
add example of a markdown table with styling
move FIXED_TOKEN logic into highlight
refactor highlight, add support for backpassing
escape html from source code
fix bug with <pre> tag ordering
refactor out html from roc_parse
remove test, put highlight functionality into separate file
fix typo
2023-02-28 17:03:49 +11:00
Brian Carroll
7ccc23ca06
Merge pull request #5073 from roc-lang/unused_files
...
removed unused files
2023-02-27 19:07:26 +00:00
Anton-4
8221f1d222
Merge pull request #5071 from roc-lang/web-link-patch
...
patch instruction reference link
2023-02-27 20:04:12 +01:00
Anton-4
20ba7494fa
removed unused files
2023-02-27 17:21:40 +01:00
Anton-4
4157c0e72d
patch instruction reference link
...
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-02-27 12:25:18 +01:00
Folkert
1f296a5907
fix test I broke
2023-02-26 22:32:19 +01:00
Folkert
44f08f9e47
implement sqrt and log in the dev backend
2023-02-26 21:41:25 +01:00
Folkert
6a40d75353
float comparisions
2023-02-26 18:14:11 +01:00
Folkert
f1fa014524
support 128-bit literals
2023-02-26 15:11:49 +01:00
Anton-4
bcaff7f478
Merge pull request #5062 from roc-lang/remove_rodio
...
removed rodio and deps
2023-02-26 14:45:25 +01:00
Anton-4
9cb2c993f1
Merge pull request #5052 from lukewilliamboswell/correct-tutorial-bool
...
Correct all uses of `Bool.true` and `Bool.false` in Tutorial
2023-02-26 13:21:31 +01:00
Luke Boswell
781ec9999e
Merge remote-tracking branch 'origin/main' into correct-tutorial-bool
2023-02-26 15:08:13 +11:00
Anton-4
fba4075d1a
Merge branch 'main' of github.com:roc-lang/roc into remove_rodio
2023-02-25 12:13:23 +01:00
Richard Feldman
6ee00a7183
Merge pull request #5065 from roc-lang/fix-dev-logical-operators
...
fix merge conflict in the dev backend
2023-02-24 10:34:34 -05:00
Anton-4
4d91fe01ca
update mono tests
2023-02-24 14:35:05 +01:00
Folkert
9897367038
fix merge conflict in the dev backend
2023-02-22 13:13:40 +01:00
Folkert de Vries
34340de60c
Merge pull request #5020 from roc-lang/dev-unbox-u32
...
dev backend: reading and writing 32, 16 and 8-bit values
2023-02-21 17:33:21 +01:00
Anton-4
091e043168
removed rodio and deps
2023-02-21 15:38:11 +01:00
Folkert de Vries
bd6623dab4
Merge pull request #5055 from roc-lang/abilities-bug-generic
...
Lambda set compaction must preserve unique specializations of concrete types
2023-02-21 15:24:23 +01:00
Anton-4
63f84ac750
Merge pull request #5053 from giacomocavalieri/tutorial-code-tag
...
Wrap inline code on mobile devices
2023-02-21 09:18:28 +01:00
Ayaz Hafiz
fbc75016e1
Check in mono goldens
2023-02-20 19:31:22 -06:00
Folkert de Vries
088bd5211f
Merge pull request #5054 from roc-lang/glue-generate-lambda-set-callers
...
Glue generate lambda set callers
2023-02-21 02:19:53 +01:00
Ayaz Hafiz
7a4fed932d
Add gen tests for concerete unspecialized set conservation
2023-02-20 18:59:48 -06:00
Ayaz Hafiz
d7a069675b
Lambda set compaction must preserve unique specializations of concrete types
...
There are times that multiple concrete types may appear in
unspecialized lambda sets that are being unified. The primary case is
during monomorphization, when unspecialized lambda sets join at the same
time that concrete types get instantiated. Since lambda set
specialization and compaction happens only after unifications are
complete, unifications that monomorphize can induce the above-described
situation.
In these cases,
- unspecialized lambda sets that are due to equivalent type variables
can be compacted, since they are in fact the same specialization.
- unspecialized lambda sets that are due to different type variables
cannot be compacted, even if their types unify, since they may point
to different specializations. For example, consider the unspecialized
lambda set `[[] + [A]:toEncoder:1 + [B]:toEncoder:1]` - this set wants
two encoders, one for `[A]` and one for `[B]`, which is materially
different from the set `[[] + [A, B]:toEncoder:1]`.
2023-02-20 18:50:07 -06:00
Ayaz Hafiz
f7aa7e734d
Pass interner through to debug proc layouts misisng in param map
2023-02-20 18:49:29 -06:00
Ayaz Hafiz
e5c3376e90
Debug ProcLayouts
2023-02-20 18:49:18 -06:00
Ayaz Hafiz
5a1898b285
Pretty-print opaque refs
2023-02-20 18:42:05 -06:00
Ayaz
2f251310c0
Merge pull request #5010 from roc-lang/tuple-record-unify
...
Unify IR generation for tuples and records
2023-02-20 18:40:52 -06:00
Folkert
958d44a21c
cleanup
2023-02-20 22:25:48 +01:00
Folkert
68524ef07e
generate callers based on layout traversal
2023-02-20 22:05:35 +01:00
Giacomo Cavalieri
3acf16bc74
Wrap inline code on mobile devices
...
Signed-off-by: Giacomo Cavalieri <giacomo.cavalieri@icloud.com>
2023-02-20 21:38:18 +01:00
Folkert de Vries
c6089ebb6a
Merge pull request #5041 from thehabbos007/eq
...
gen_dev x86: misc low-level bool comparison functions
2023-02-20 08:51:11 +01:00
Luke Boswell
fe4d81a245
correct all uses of Bool.true
2023-02-20 15:19:27 +11:00
Richard Feldman
c60360593f
Merge pull request #5050 from joshuawarner32/fuzzing
...
Fix several fmt+parse bugs found by fuzzing
2023-02-19 22:38:42 -05:00
Richard Feldman
dafb0c007f
Merge pull request #5047 from Arkham/tutorial-code-tag
...
Make it so inline code tags are not split across newlines
2023-02-19 22:35:13 -05:00
Joshua Warner
b5f284cd78
Fix several fmt+parse bugs found by fuzzing
2023-02-19 12:37:33 -08:00
Ayaz
8a443ba8bb
Merge pull request #5049 from roc-lang/ir-refactor-for-glue
...
Ir refactor for glue
2023-02-18 19:09:47 -06:00
Folkert
5b52cfe79b
disable str_append_scalar; it segfaults for unclear reasons
2023-02-18 23:18:48 +01:00
Anton-4
eb8e5d7fe9
Merge pull request #5045 from roc-lang/nightly-strip-debug
...
strip debug info from nightlies
2023-02-18 19:07:54 +01:00
Folkert
bece06ba10
work around universally quantified type variable
2023-02-18 18:12:32 +01:00
Folkert
90c45a197b
use extracted functions
2023-02-18 17:57:50 +01:00
Anton-4
f0a74636a0
Merge pull request #5046 from human154/patch-2
...
Tutorial: add 3 more spaces before colons
2023-02-18 17:54:09 +01:00
Folkert
784ebde24b
helper functions
2023-02-18 17:34:41 +01:00