Anton-4
8e94ae41fc
added read file and text buffer benchmarks
2021-01-19 17:41:23 +01:00
Chadtech
a46a7ef06a
builtin_defs_map passed in explicitly in many places that want to monomorphize, so that we can use a new test_builtin_defs in tests. Hash test works
2021-01-18 22:38:51 -05:00
Anton-4
55cd6a4976
added insert_char benchmark
2021-01-16 19:33:23 +01:00
Anton-4
bdf48d478f
progress integrating text rope
2021-01-11 19:46:15 +01:00
Anton-4
1acbe42962
implemented selection test DSL, added caret tests for move right
2021-01-02 19:33:26 +01:00
Anton-4
862a85698c
merge, fmt, clippy
2020-12-29 20:42:58 +01:00
Anton-4
8c55f4b172
use snafu for errors, pretty backtraces, added backtrace editor idea
2020-12-26 19:24:09 +01:00
Anton-4
7a70c95bb4
rewrite to support multi line selection(unfinished)
2020-12-25 19:46:31 +01:00
Folkert
f5337d5bbf
add ven_graph to the editor
2020-12-21 13:55:40 +01:00
Anton-4
8bf426b6b9
don't recompile shaders unnecessarily
2020-12-15 15:00:24 +01:00
Folkert
1fe0f5d780
Merge remote-tracking branch 'origin/trunk' into editor-ir
2020-12-05 20:58:27 +01:00
Folkert
66748d3a50
Merge remote-tracking branch 'origin/trunk' into editor-ir
2020-12-04 20:45:30 +01:00
Anton-4
6af26c9f75
editor: draw multiple rectangles
2020-12-04 20:05:29 +01:00
Anton-4
c0fdc09ec7
Merge branch 'trunk' of rtfeldman/roc into editor_refactor
2020-12-04 11:28:30 +01:00
Chadtech
1326219415
File module with read, fmt, and write functionality for the editor
2020-12-04 00:14:32 -05:00
Anton-4
1738141111
editor refactoring
2020-12-02 16:43:54 +01:00
Anton-4
ea846b5842
Merge branch 'trunk' of ssh://github.com/rtfeldman/roc into repl_history
2020-11-27 11:45:20 +01:00
Anton-4
e3f64bdb61
repl keep command history
2020-11-27 11:45:11 +01:00
Brendan Hansknecht
902bbef60a
Add storing variables in the stack
2020-11-22 12:48:09 -08:00
Brendan Hansknecht
c9ea15b0a5
Merge branch 'trunk' into dev-backend
2020-11-21 17:18:26 -08:00
Richard Feldman
0ef6a2676d
Merge pull request #716 from rtfeldman/repl_arrows
...
Using arrows in REPL moves cursor
2020-11-21 14:59:46 -05:00
Richard Feldman
3803d70496
Merge branch 'trunk' into render-big-rectangle
2020-11-21 12:48:02 -05:00
Anton-4
da8deaa2f3
Using arrows in REPL moves cursor
2020-11-21 17:50:38 +01:00
Brendan Hansknecht
0cee2cd96f
Merge remote-tracking branch 'origin' into dev-backend
2020-11-18 23:54:31 -08:00
Anton-4
149bf60c81
Minor refactoring for readability
2020-11-18 19:26:59 +01:00
Folkert
8528e5affb
upgrade inkwell
2020-11-17 01:58:30 +01:00
Brendan Hansknecht
86c3c0a409
Add base structure for dev compiler backend
...
Currently we only generate a single static function, but it is probably
loaded and run with jit. This is the base to start generating proper
code.
2020-11-14 18:43:02 -08:00
Folkert
cf80e2852f
add test for transitive alias import
2020-11-11 01:20:30 +01:00
Richard Feldman
27d17f6e2e
Merge branch 'trunk' into fix/docs-tests
2020-11-05 23:35:41 -05:00
Bob Shelline
dda634cf0a
Use buffers for vertex data
2020-11-04 19:47:41 -07:00
Folkert
c3090cf9d7
attempt to wrap closure call result in RocCallResult
2020-11-05 00:23:53 +01:00
Pablo Hirafuji
f441e1dbd1
Merge branch 'trunk' into fix/docs-tests
2020-11-03 10:59:05 -03:00
Bob Shelline
4972e03405
Render a triangle underneath the text
2020-10-30 18:48:10 -06:00
Bob Shelline
eed7406a41
Update wgpu_glyph to 0.10
2020-10-30 17:54:56 -06:00
Pablo Hirafuji
29f9364696
Merge branch 'trunk' into fix/docs-tests
2020-10-30 06:54:19 -03:00
Brendan Hansknecht
78b13ae59d
Specifically ignore some Valgrind test
2020-10-26 17:32:44 -07:00
Pablo Hirafuji
6c70f3d50f
Merge branch 'trunk' into fix/docs-tests
2020-10-25 20:22:47 -03:00
Pablo Hirafuji
43f390d80c
Add some tests for documentation gen
2020-10-25 20:08:43 -03:00
Richard Feldman
21d4f8026e
Merge branch 'trunk' into convert-bitcode-gen-to-c
2020-10-25 14:17:17 -04:00
Richard Feldman
3d7a265c5f
Load a dynamic library in the repl
2020-10-25 01:42:10 -04:00
Richard Feldman
b4377d4d67
Get a basic dylib linking started
2020-10-25 01:41:55 -04:00
Jared Ramirez
d82d6b6fe9
Convert builtins to C
2020-10-24 12:22:51 -07:00
Richard Feldman
e8f1201937
Use libloading to load dylibs
2020-10-24 12:01:34 -04:00
Richard Feldman
bf7f1d49e2
Add bucket.rs
2020-10-21 21:48:01 -04:00
Folkert
432dbee422
switch docs to use the standard file load mechanism
2020-10-21 15:43:56 +02:00
Richard Feldman
b0ad4ec43a
Use ArrayString for small string optimization in editor AST
2020-10-20 20:06:14 -04:00
Richard Feldman
5c6ef2d01b
Merge branch 'trunk' into sized-functions-inference
2020-10-18 11:20:57 -04:00
Richard Feldman
65336919fc
Have valgrind output XML to a tempfile
2020-10-18 08:46:50 -04:00
Folkert
cbe78593c2
add extra pass that further trims down the captured symbols
2020-10-17 00:17:55 +02:00
Folkert
d931c8994a
fix most type inference issues
2020-10-16 20:50:42 +02:00
Folkert
40ffca2b7b
IT WORKS
2020-10-16 00:18:40 +02:00
Folkert de Vries
78ba4afad4
Merge branch 'trunk' into layout-cache
2020-10-14 11:38:01 +02:00
Folkert
89a1146c19
run gen tests as modules
2020-10-13 21:45:41 +02:00
Folkert
2bceaf0503
implement LayoutCache on top of ena
2020-10-13 16:10:38 +02:00
Brendan Hansknecht
1f131970bc
Merge branch 'trunk' into valgrind
2020-10-11 18:13:35 -07:00
Richard Feldman
b8eff12767
Use parking_lot::Mutex
2020-10-10 20:30:33 -04:00
Folkert
c7b251d6b4
Merge remote-tracking branch 'origin/trunk' into gen-modules
2020-10-08 01:29:32 +02:00
Brendan Hansknecht
23c2b39653
Merge branch 'trunk' into valgrind
2020-09-30 18:40:26 -07:00
Brendan Hansknecht
46a03e7cd5
Fail tests on any valgrind memory errors
...
I currently don't like how the xml is parsed. It is definitely
functional, but it is very strange. Serde is not made to deal with a
list of fields with the same name that aren't next to eachother in the
xml.
2020-09-30 09:43:52 -07:00
Folkert
95dffad073
WIP
2020-09-30 15:01:24 +02:00
Pablo Hirafuji
d68d8b4347
Merge branch 'trunk' into feature/docs-read-parse-file
2020-09-27 19:41:47 -03:00
Pablo Hirafuji
aed612a75c
Load docs from files
2020-09-27 19:40:54 -03:00
Richard Feldman
b50483eedf
Use rtfeldman/inkwell release2 tag
2020-09-19 22:48:29 -04:00
Folkert
be6752542b
update to run on our fork of inkwell again
2020-09-19 21:50:33 +02:00
Folkert
14da3906da
wip
2020-09-18 01:07:53 +02:00
Jared Ramirez
a0402bca4d
Add Num.ceiling
2020-09-15 18:37:45 -07:00
Folkert de Vries
009eb1293a
Merge branch 'trunk' into feature/docs
2020-09-14 22:20:06 +02:00
Pablo Hirafuji
590a27aeab
Generate docs from hardcoded structure
2020-09-13 23:35:28 -03:00
Richard Feldman
27552108eb
cargo update
2020-09-12 08:06:26 -04:00
Jared Ramirez
c6b14e755c
Add clarificaton to oks docs
2020-09-11 13:05:59 -07:00
Folkert
145f75d72b
list reverse in-place
2020-09-11 00:59:19 +02:00
Jared Ramirez
d72f88a5b3
Fix nix build issues on MacOS
2020-09-05 13:58:33 -07:00
Richard Feldman
edb2530bfa
Support nested lists in repl
2020-08-23 16:14:31 -04:00
Richard Feldman
c32bb057f2
Use roc_fmt to render repl output exprs
2020-08-23 14:35:03 -04:00
Richard Feldman
825de52b83
Add some basic repl tests
2020-08-23 11:49:33 -04:00
Richard Feldman
295cb00499
wip
2020-08-12 23:18:40 -04:00
Folkert
078c6df677
Merge remote-tracking branch 'origin/trunk' into refcount
2020-08-08 22:34:14 +02:00
Richard Feldman
9e0cf4cd35
Restore CLI
2020-08-02 22:04:31 -04:00
Richard Feldman
82a7a836e3
Revert "Use arena_pool in load::file"
...
This reverts commit 87bcd4153b
.
2020-08-02 11:17:42 -04:00
Richard Feldman
87bcd4153b
Use arena_pool in load::file
2020-08-02 11:17:22 -04:00
Richard Feldman
d533f6234c
Merge remote-tracking branch 'origin/arena_pool' into crossbeam
2020-08-02 09:36:47 -04:00
Richard Feldman
732c8bcc2d
Various improvements to ArenaPool
2020-08-02 00:03:38 -04:00
Richard Feldman
b91359e4c7
Initial pass at arena_pool
2020-08-01 15:42:22 -04:00
Richard Feldman
1c49e116b3
wip
2020-07-30 00:59:03 -04:00
Richard Feldman
aea125549a
Add find_task
2020-07-28 20:51:48 -04:00
Folkert
eb793b2b44
write more tests for reset/reuse
2020-07-28 01:13:49 +02:00
Richard Feldman
eaaeda728a
Use synchronous file I/O over mmap
2020-07-27 01:10:04 -04:00
Richard Feldman
9f9ce327d4
Lazily validate that input bytes are valid UTF-8
2020-07-27 01:10:04 -04:00
Richard Feldman
15f087c93e
Use memmap for reading files
2020-07-27 01:10:04 -04:00
Richard Feldman
645490205d
cargo update
2020-07-23 21:38:10 -04:00
Richard Feldman
799e137f55
Restore CLI
2020-07-21 02:00:50 -04:00
Richard Feldman
245a9fc951
Merge remote-tracking branch 'origin/trunk' into specialize-separately
2020-06-13 21:03:38 -04:00
Richard Feldman
d9451a4b98
cargo update
2020-05-31 18:14:34 -04:00
Richard Feldman
3323cfdd04
Drop some obsolete dependencies
2020-05-30 09:43:11 -04:00
Richard Feldman
f10e817226
Switch to wgpu for rendering
2020-05-30 01:13:05 -04:00
Richard Feldman
66fd716a8c
Revert "wip try merging in glyph stuff"
...
This reverts commit d66e16ce7a9b35ff5881b10d5012057a3b2d4708.
2020-05-30 01:13:05 -04:00
Richard Feldman
79469b2d23
wip try merging in glyph stuff
2020-05-30 01:13:05 -04:00
Richard Feldman
b93f129319
Revert "Add text shaders (segfaults)"
...
This reverts commit 360bb8ec2b580a2b0061854cbd9eb5f1fe2db6e6.
2020-05-30 01:12:49 -04:00
Richard Feldman
a87667c74f
Add text shaders (segfaults)
2020-05-30 01:12:49 -04:00
Richard Feldman
887ec9860a
wip
2020-05-26 21:19:46 -04:00
Richard Feldman
639c132ce0
wip
2020-05-26 21:18:25 -04:00
Richard Feldman
0c9b895912
Render a triangle
...
Largely following https://github.com/mistodon/gfx-hal-tutorials - code
is CC0 licensed. Lovely tutorials!
2020-05-05 22:07:23 -04:00
Richard Feldman
05e13e9842
Precursor to triangle in editor
2020-05-05 21:40:14 -04:00
Richard Feldman
f0b65a25e2
Launch a blank window for the editor
2020-05-04 21:41:45 -04:00
Richard Feldman
50357acd55
Add editor/ crate
2020-05-03 21:38:36 -04:00
Richard Feldman
16ff40a836
Use clap to parse CLI flags
2020-04-16 22:02:29 -04:00
Richard Feldman
d31247cbe3
cargo update
2020-04-15 07:08:21 -04:00
Richard Feldman
0e48f512fd
Use tokio for CLI process stuff
2020-04-15 07:06:11 -04:00
Richard Feldman
9ca754b8fd
First pass at loading modules from cli
2020-04-15 07:06:11 -04:00
Folkert
97c10e1211
setup for mono reports
2020-04-12 01:56:57 +02:00
Folkert
5e226ee5f4
convert type problems into pretty doc
2020-04-09 01:08:09 +02:00
Richard Feldman
7887a2b8f3
cargo update
2020-04-08 06:41:53 -04:00
Richard Feldman
9288e20469
Upgrade to LLVM 10
2020-04-08 06:41:53 -04:00
Folkert
fc8d9c2fd9
record diff
2020-04-06 21:40:54 +02:00
Richard Feldman
d28f8449d0
Report errors in the CLI
2020-04-03 21:58:44 -04:00
Folkert
3987ed47dc
add pretty.rs to vendor
2020-04-04 01:40:17 +02:00
Richard Feldman
63bf1ce8b0
Merge branch 'trunk' into report-problems
2020-04-01 23:12:31 -04:00
Richard Feldman
081de1b4bc
Add builtins/bitcode/
2020-03-31 23:48:48 -04:00
Richard Feldman
84ec100208
Merge remote-tracking branch 'origin/trunk' into report-problems
2020-03-30 23:49:30 -04:00
Richard Feldman
5f817d8019
Add a basic CLI
2020-03-30 21:27:37 -04:00
Richard Feldman
503486f5bb
Merge remote-tracking branch 'origin/trunk' into report-problems
2020-03-29 23:27:21 -04:00
Folkert
1bf3a7c333
bump Cargo.lock
2020-03-29 23:32:54 +02:00
Chad Stearns
3f2579c4f3
Module name report text variety
2020-03-29 14:26:25 -04:00
Richard Feldman
e20325215e
cargo update
2020-03-25 19:47:28 -04:00
Richard Feldman
cc8683d241
Fix use of GEP (was using byte offset, not index)
2020-03-21 21:19:18 -04:00
Richard Feldman
48954eb52b
Update to Inkwell version with memcpy
2020-03-21 21:19:18 -04:00
Richard Feldman
6ae1ee373e
Use a tag on rtfeldman/inkwell
2020-03-08 17:51:13 -04:00
Chadtech
0a053cfac4
Merge branch 'trunk' into restore-reporting-tests
2020-03-08 16:28:08 -04:00
Chadtech
35a3d736a0
Merge branch 'trunk' into restore-reporting-tests
2020-03-08 00:42:49 -05:00
Richard Feldman
3a89d16a22
Update inkwell
2020-03-08 00:31:54 -05:00
Chad Stearns
25513d7eda
Restoring report test file
2020-03-07 14:43:47 -05:00
Richard Feldman
0f79a3311d
Upgrade bumpalo to 3.2
2020-03-07 11:20:35 -05:00
Richard Feldman
363a7a0abd
Mov gen to its own crate
2020-03-06 18:24:37 -05:00
Richard Feldman
a18e023326
Move load to its own crate
2020-03-06 18:24:37 -05:00
Richard Feldman
31e300021c
Move fmt to separate crate
2020-03-06 18:24:37 -05:00
Richard Feldman
5a129a506a
Move fmt
2020-03-06 18:24:37 -05:00
Richard Feldman
a2f5f6f9fb
Move solve and uniq tests into other crates
2020-03-06 18:24:37 -05:00
Richard Feldman
c3fcfd65cb
Move reporting into its own crate
2020-03-06 02:06:18 -05:00
Richard Feldman
cc92ca7e7c
Move solve and unify into their own crates
2020-03-06 01:43:50 -05:00
Richard Feldman
908e485fca
Move constrain and its deps into their own crates
2020-03-06 01:43:39 -05:00
Richard Feldman
3b6ed43126
Extract can/ into its own crate, plus its deps
2020-03-05 23:01:32 -05:00
Richard Feldman
313b7a79e8
Use workspaces and move everything into compiler/
2020-03-05 17:45:52 -05:00
Richard Feldman
f652687718
Upgrade Inkwell
2020-02-28 21:51:57 -05:00
Richard Feldman
43229365ed
Upgrade to Cranelift 0.59
2020-02-28 21:36:23 -05:00
Folkert
5d9d1aa327
remove boolean_expr dependency again
2020-02-05 13:43:48 +01:00
Folkert
174715749d
Merge remote-tracking branch 'origin/trunk' into usage-analysis
2020-02-02 23:58:47 +01:00
Richard Feldman
24494af55d
Update to Cranelift 0.56
2020-01-31 00:00:01 -05:00
Folkert
035f6fd4d9
switch to using BDD simplification
2020-01-24 23:09:12 +01:00
Richard Feldman
88ff2f126f
cargo update
2020-01-21 23:57:12 -05:00
Richard Feldman
e4bbb06567
Drop hashbrown dependency
2020-01-21 23:56:37 -05:00
Richard Feldman
5e26ca7264
Reorganize builtin constants
2020-01-21 21:32:55 -05:00
Richard Feldman
99f99380da
Got tests compiling
2020-01-18 02:57:20 -05:00
Richard Feldman
692ea66419
Introduce Cranelift
2020-01-07 21:43:50 -05:00
Richard Feldman
55e4ce1134
Introduce ll module
2020-01-05 00:02:44 -05:00
Richard Feldman
b45fefd617
Update im and Inkwell
2020-01-02 19:57:07 -05:00
Richard Feldman
cebcdafe93
Use InlinableString over Box<str>
2020-01-01 06:02:14 -05:00
Richard Feldman
e37f10de3f
cargo update
2019-12-18 18:42:24 -05:00
Folkert de Vries
dc0fec79ba
update cargo lock
2019-12-16 15:42:46 +01:00
Richard Feldman
00221a6d4d
Update Inkwell to 0.5.3
2019-12-15 17:17:41 -05:00
Richard Feldman
92083e1e62
Relax some crate bounds
2019-12-07 01:18:08 -05:00
Richard Feldman
0a9abed1d4
Update Inkwell
2019-11-30 20:35:07 -05:00
Richard Feldman
064ac5ce84
Add tokio sync and futures crate
2019-11-30 20:35:07 -05:00
Richard Feldman
0477b68dc3
Add SendMap and SendSet
2019-11-30 20:35:07 -05:00
Richard Feldman
37cfb0f650
Add tokio
2019-11-30 20:35:07 -05:00
Richard Feldman
9956c57122
Drop unused num and fraction crates
2019-11-26 17:23:26 -05:00
Richard Feldman
781bb23922
Update Inkwell
2019-11-26 17:18:57 -05:00
Richard Feldman
e40b1d42fa
Use wyhash over fxhash
2019-11-26 17:17:20 -05:00
Richard Feldman
5f4fc0070e
Use im_rc over dogged
2019-11-26 17:11:51 -05:00
Richard Feldman
fa757b75c8
Switch Inkwell back to using branch over rev
2019-11-21 07:19:43 -05:00
Richard Feldman
f690b34dc7
Upgrade im_rc
2019-11-20 17:54:08 -05:00
Richard Feldman
9e50b5cbc4
Change inkwell rev to latest llvm-8.0
2019-11-20 05:40:03 -05:00
Richard Feldman
3217c7d013
Use a specific rev of Inkwell, not a branch
...
Turns out breaking API changes get pushed directly to that branch!
2019-11-19 07:47:53 -05:00
Folkert de Vries
578a87fa70
update Cargo.lock
2019-11-18 14:56:58 +01:00
Richard Feldman
422f8cc37a
wip
2019-10-16 19:23:34 -04:00
Richard Feldman
d54cf81f7b
Record raw strings during parse step
2019-09-17 04:31:54 -04:00
Richard Feldman
1877713fd7
Quickcheck all int values
2019-09-14 16:04:46 -05:00
Richard Feldman
505b9f7b02
Switch to bumpalo
2019-09-02 15:07:45 -04:00
Richard Feldman
5ebd18c480
Introduce Arena-allocated Parser
2019-09-02 00:15:07 -04:00
Richard Feldman
f42f58e4c6
Re-inline ena
2019-08-28 01:20:55 -04:00
Richard Feldman
04d3f68192
massive wip
2019-08-25 14:55:17 -04:00
Richard Feldman
00a02d597a
Fix sorting by vendoring the pathfinding crate.
2019-08-01 18:39:02 -04:00
Richard Feldman
fb9cf4b60e
Use topological sort.
2019-07-31 01:34:20 -04:00
Richard Feldman
4df8064407
Use r# in parser tests.
2019-07-22 22:11:50 -04:00
Richard Feldman
4502d2630f
Add collections.rs
2019-07-22 22:03:57 -04:00
Richard Feldman
ae1a650b4d
Trying out stack_fraction
2019-06-21 21:37:50 -04:00
Richard Feldman
10d84520b2
0.1 + 0.2 == 0.3
2019-06-20 22:29:10 -04:00
Richard Feldman
1556cf1fc9
Drop smallvec
2019-06-19 21:37:48 -04:00
Richard Feldman
6c0e34f5fc
Use SmallVec for patterns
2019-06-12 21:25:15 -04:00
Richard Feldman
46f281d399
Add im_rc
2019-05-24 01:54:10 -04:00
Richard Feldman
864eecf44c
Delete obsolete stuff
2019-04-17 19:32:10 -04:00
Richard Feldman
956f305485
Add basic parser
2019-03-13 22:44:32 -04:00
Richard Feldman
e05230519e
Got things compiling
2019-02-02 15:47:47 -10:00
Richard Feldman
0fde6f4a1c
Add solve and some tests.
2019-01-29 20:08:23 -05:00
Richard Feldman
2e1c9c1c51
Expand support for stuff
2019-01-28 00:35:31 -05:00
Richard Feldman
809c80baa8
Initial code
2019-01-27 17:39:45 -05:00