Commit graph

13739 commits

Author SHA1 Message Date
Folkert
6f9550d792 update cli example 2022-02-03 22:39:33 +01:00
Folkert
db2d437d78 use new hosted module for benchmarks example 2022-02-03 22:02:18 +01:00
Folkert
a32e0bbd4c use new hosted module for effect example 2022-02-03 21:56:44 +01:00
Brian Carroll
eb7838342a
Merge pull request #2441 from rtfeldman/repl-refactor
REPL refactor
2022-02-03 19:59:40 +00:00
Folkert de Vries
860c5eb0ce
Merge pull request #2442 from rtfeldman/i/2332
Check lower bounds for numeric literals, and permit 128-bit literals
2022-02-03 19:50:03 +01:00
Brian Carroll
8df69d856c repl: update a comment 2022-02-03 12:08:32 +00:00
Brian Carroll
5904bb05ad repl: remove unused dependencies from roc_repl_eval 2022-02-03 09:30:04 +00:00
Brian Carroll
11b83929de repl: use llvm macros in ReplApp implementation 2022-02-03 09:29:59 +00:00
Brian Carroll
d9bd98a194 repl: bring back LLVM jit macros, as they're used in tests 2022-02-03 08:50:26 +00:00
ayazhafiz
21d1cd786c Fix can tests 2022-02-03 00:43:04 -05:00
ayazhafiz
29f733b69b Clippy 2022-02-03 00:19:18 -05:00
ayazhafiz
706640a1fa Add underscore separators for large numbers in reporting 2022-02-03 00:18:24 -05:00
ayazhafiz
5362ed1e6c Clippy 2022-02-02 23:38:54 -05:00
ayazhafiz
097c5afc73 Check lower bounds for numeric literals, and permit 128-bit literals 2022-02-02 23:35:57 -05:00
Richard Feldman
5d60677b5b
Fix defensive cloning 2022-02-02 23:08:12 -05:00
Brian Carroll
eb1a16d429 repl: fix tests 2022-02-03 00:27:33 +00:00
Richard Feldman
778d32f6b2
Acknowledge possibility of roc_alloc failing 2022-02-02 19:25:08 -05:00
Richard Feldman
9b05d8dd50
Move expect zig code out of utils 2022-02-02 19:15:47 -05:00
Brian Carroll
b317e05187 repl: formatting and Clippy 2022-02-03 00:02:12 +00:00
Richard Feldman
06203163eb
Use mutex more in expect failures 2022-02-02 18:59:34 -05:00
Brian Carroll
3c07066ace repl: update Earthfile for new packages 2022-02-02 23:55:00 +00:00
Richard Feldman
3e9eef4d0e
Add some TODO comments 2022-02-02 18:47:18 -05:00
Richard Feldman
dd8f63b1ab
Add some #[repr(C)] annotations 2022-02-02 18:47:02 -05:00
Brian Carroll
ab0b99f032 Merge branch 'trunk' of github.com:rtfeldman/roc into repl-refactor 2022-02-02 23:46:58 +00:00
Brian Carroll
3cc64209b5 wasm: include package tests in Cargo alias 2022-02-02 23:45:05 +00:00
Brian Carroll
03c99bdb44 repl: move tests into their own package 2022-02-02 23:42:46 +00:00
Brian Carroll
9ace2fd9a3 repl: delete app_memory and put "external memory" logic into repl_wasm 2022-02-02 23:08:12 +00:00
Brian Carroll
fdea13ac55 repl: thread the ReplApp through the evaluator 2022-02-02 22:54:18 +00:00
Brian Carroll
380c24ba80 repl: move LLVM specific logic into roc_repl_cli 2022-02-02 22:32:12 +00:00
Folkert
16a2b660c3 bookkeeping 2022-02-02 23:11:52 +01:00
Brian Carroll
e8ab649f73 repl: remove redundant str <-> &[u8] conversions on input source code 2022-02-02 21:57:42 +00:00
Folkert
3829c629f1 thread hosted info through 2022-02-02 22:57:24 +01:00
Brian Carroll
881e43336c repl: rename jit function for dynamic size and change its doc comment 2022-02-02 21:36:28 +00:00
Folkert
5699db99b3 generate hosted functions (foreign functions supplied by the linker) 2022-02-02 22:29:05 +01:00
Anton-4
138d33d301
narrowed down perf issue 2022-02-02 20:35:26 +01:00
Anton-4
86c3eead71
fixed tokenization for line with only spaces 2022-02-02 19:42:51 +01:00
Anton-4
1b37aa8a3d
bugfixes + more tests 2022-02-02 19:28:37 +01:00
Folkert de Vries
a8b02831e5
Merge pull request #2435 from rtfeldman/i/2350
stricter number literal checking
2022-02-02 18:28:09 +01:00
Folkert
14c0caa275 generate the Effect type and after/map/etc methods in a hosted module 2022-02-02 16:49:56 +01:00
Folkert
c335a8b406 move effect_module.rs 2022-02-02 16:48:59 +01:00
Brian Carroll
87886e2e6b repl: implement string evaluation for 32-bit platforms 2022-02-02 15:23:47 +00:00
Brian Carroll
4994b0ef1b repl: replace LLVM jit macros with functions 2022-02-02 15:06:04 +00:00
Folkert
1fb746757c pipe module name into canonicalization of modules 2022-02-02 16:01:31 +01:00
Anton-4
5e71120904
bugfixes, more tests 2022-02-02 14:31:35 +01:00
ayazhafiz
30be700f01 Format 2022-02-02 08:24:03 -05:00
Anton-4
09eaa04e9a
tag union indentation fix 2022-02-02 12:23:32 +01:00
ayazhafiz
eb7ceddee4 Fix repl tests 2022-02-02 01:57:37 -05:00
ayazhafiz
e7dcc2daa5 Move NumWidth to roc_can 2022-02-02 00:23:43 -05:00
ayazhafiz
ae5766fdf5 Folkert's suggestions 2022-02-01 23:42:28 -05:00
ayazhafiz
df8113ce32 Typecheck numeric suffixes in patterns 2022-02-01 23:35:14 -05:00