Commit Graph

102 Commits

Author SHA1 Message Date
Richard Feldman
e1fdabd5ef Fix problem with CLI paths 2020-07-22 19:34:14 -04:00
Richard Feldman
d6c54645ce cargo fmt 2020-07-22 19:33:36 -04:00
Richard Feldman
2465c204e3 Restore CLI 2020-07-22 19:33:36 -04:00
Richard Feldman
b5ad6e17b4 Don't print subs on error
It's way too verbose and unhelpful!
2020-07-06 21:23:59 -04:00
Richard Feldman
e559deecbf Improve LLVM verification error messages 2020-07-05 22:24:04 -04:00
Richard Feldman
9d31c667fa Merge remote-tracking branch 'origin/trunk' into specialize-separately 2020-06-18 21:02:50 -04:00
Richard Feldman
b638970c84 Make repl Windows-friendly 2020-06-18 00:24:27 -04:00
Richard Feldman
68f64835f0 Add target triple for Windows 2020-06-16 23:04:00 -04:00
Richard Feldman
1b3b9ee1c4 Merge remote-tracking branch 'origin/trunk' into specialize-separately 2020-06-13 23:54:30 -04:00
Richard Feldman
269da82840 Make VarStore no longer use atomics 2020-06-13 21:59:01 -04:00
Richard Feldman
245a9fc951 Merge remote-tracking branch 'origin/trunk' into specialize-separately 2020-06-13 21:03:38 -04:00
Richard Feldman
99dcda8603 Use inlinable_string 0.1 2020-05-31 20:14:19 -04:00
Richard Feldman
639c132ce0 wip 2020-05-26 21:18:25 -04:00
Richard Feldman
4295dec955 Fix load_builtin_aliases ordering 2020-05-26 00:04:59 -04:00
Richard Feldman
c386192e8b Reorganize when solving and constraint gen happen 2020-05-26 00:04:42 -04:00
Richard Feldman
df7d017287 cargo fmt 2020-05-10 15:15:09 -04:00
Richard Feldman
64fd0ceed9 Address some unused warnings via TODOs 2020-05-10 15:13:18 -04:00
Richard Feldman
bf11262e61 Move layout_id from mono to gen
This is because it's actually important that mono never use this.
It should only be used in gen, because it's only safe to use
synchronously, and it's important that mono be done in parallel.

Moving it to gen guarantees that mono will not use it, even accidentally!
2020-05-10 15:13:18 -04:00
Richard Feldman
6e05ba816f Have CallByName use Layout 2020-05-10 15:13:18 -04:00
Richard Feldman
8572879e0d Remove unused procs argument 2020-05-09 22:41:59 -04:00
Richard Feldman
c49abfe2de Add layout to CallByName 2020-05-09 22:41:59 -04:00
Richard Feldman
510ab36f51 Use LayoutCache to avoid recomputing layouts 2020-05-09 22:11:32 -04:00
Richard Feldman
6a79a75648 Don't regenerate anonymous function symbols 2020-05-09 12:56:55 -04:00
Richard Feldman
d7ee713bc5 Have the editor theoretically take filepaths 2020-05-04 21:41:45 -04:00
Richard Feldman
7e7c6ef4af Drop obsolete symbol_counter field 2020-05-04 20:32:21 -04:00
Richard Feldman
b0e2134121 Launch editor when given no CLI args 2020-05-03 22:04:28 -04:00
Richard Feldman
ce9e7a91f6 Clean up some Cargo.toml files 2020-05-03 21:37:59 -04:00
Richard Feldman
13dd937a71 Revert "Attempt to add builtin_defs to CLI"
This reverts commit 2679077de9.
2020-05-01 22:00:06 -04:00
Richard Feldman
2679077de9 Attempt to add builtin_defs to CLI 2020-05-01 21:59:38 -04:00
Richard Feldman
101dc80ae5 Move parse::operator into module::operator 2020-05-01 21:58:53 -04:00
Richard Feldman
095844c2c1 Use iterator chaining over hash insertion 2020-05-01 19:40:59 -04:00
Richard Feldman
ee31eac0c5 Code gen toplevel module functions 2020-05-01 19:30:55 -04:00
Richard Feldman
1a2367c8aa appease clippy 2020-05-01 19:30:55 -04:00
Richard Feldman
5c31369072 Code gen thunks for top-level module decls 2020-05-01 19:30:55 -04:00
Richard Feldman
072cf4e844 Revert "wip canonical builtins in modules"
This reverts commit e1935a1e9f0c7ea1ffefe5f2f4f07f2c7666363b.
2020-05-01 19:30:55 -04:00
Richard Feldman
a1750567ff wip canonical builtins in modules 2020-05-01 19:30:55 -04:00
Richard Feldman
929e2240d4 Appease clippy 2020-04-21 23:44:13 -04:00
Richard Feldman
526d7cb4ba Support multiline repl input 2020-04-21 23:35:39 -04:00
Richard Feldman
0b670baad4 Make welcome message more helpful. 2020-04-18 16:58:26 -04:00
Richard Feldman
dd223c5d5c clippy clip 2020-04-18 16:39:39 -04:00
Richard Feldman
088df46a76 cargo fmt 2020-04-18 16:38:47 -04:00
Richard Feldman
c9ef2deb80 Have the repl loop 2020-04-18 16:02:33 -04:00
Richard Feldman
a99a339672 Spice up the repl visuals a bit 2020-04-18 16:01:58 -04:00
Richard Feldman
114815a323 Add types to the repl 2020-04-18 15:45:48 -04:00
Richard Feldman
73fbc0e490 Add basic 1-iteration repl 2020-04-18 15:32:04 -04:00
Richard Feldman
d4a45ed489 Add CLI subcommands roc run and roc build 2020-04-18 14:32:50 -04:00
Folkert
7f299356d3 define our own cargo features 2020-04-18 15:56:54 +02:00
Folkert
98d451b240 only enable arm and wasm when the feature is enabled 2020-04-18 15:28:10 +02:00
Richard Feldman
6f75ce6680 Add CLI test for Hello World 2020-04-17 06:38:29 -04:00
Richard Feldman
e61ac3b41b Clippy doin' clippy things 2020-04-16 22:21:26 -04:00