Commit graph

8016 commits

Author SHA1 Message Date
Folkert
84c6e741fe
rework how tags are created 2022-03-26 14:09:16 +01:00
Folkert
269d31b9ae
Revert "void type is not passed by-reference"
This reverts commit 0d89b9f37f.
2022-03-26 13:43:28 +01:00
Folkert
0d89b9f37f
void type is not passed by-reference 2022-03-26 13:13:25 +01:00
Folkert
75c15f9b00
use roc_ helpers for box loading and storing 2022-03-26 13:10:18 +01:00
Folkert
0f3ae18c74
add debug print 2022-03-26 12:54:00 +01:00
Folkert
f132a527c0
rename a function 2022-03-26 12:52:13 +01:00
Folkert
53d426300e
add additonal tests 2022-03-26 12:46:31 +01:00
Folkert
18ba6316fb
clippy 2022-03-26 12:43:17 +01:00
Folkert
2c1879e3da
use store_roc_value when inserting into dict 2022-03-26 12:41:46 +01:00
Folkert
9528f63d87
make Dict.keys and Dict.values use list helpers for returning 2022-03-26 12:36:14 +01:00
Folkert
bff4e03867
store string literals (also the struct) as a const value 2022-03-26 12:31:03 +01:00
Richard Feldman
b5b84e8760
Merge pull request #2770 from rtfeldman/add-stdlib-roc-files
add standard library .roc files
2022-03-25 23:21:20 -04:00
Folkert
74f9443a3e
Revert "some zig functions need to accept arguments by-pointer now"
This reverts commit fcb34272da.
2022-03-25 10:45:45 +01:00
Folkert
4e3644a4c6
Revert "fix zig tests"
This reverts commit 89223c4032.
2022-03-25 10:45:31 +01:00
Folkert
e98dc68462
prevent panic 2022-03-24 22:40:47 +01:00
Folkert
8dba624156
refactor + thread through cached subs 2022-03-24 22:10:21 +01:00
Folkert
8c3bab908e
fix load tests 2022-03-24 00:12:53 +01:00
Folkert
f1cc3be8d5
fix formatting 2022-03-23 22:58:11 +01:00
Folkert
887c5ef698
rename standard_library -> roc 2022-03-23 21:21:46 +01:00
Folkert
afee877cf1
skeleton for caching stdlib subs 2022-03-23 21:19:38 +01:00
Folkert
1716879f82
add headers to stdlib roc files 2022-03-23 21:19:37 +01:00
Folkert
4859f530cd
generate cached subs 2022-03-23 21:19:37 +01:00
Folkert
753d1418ed
fix copy/paste mistake 2022-03-23 21:19:37 +01:00
Folkert
90887a6fe0
thread through cached_subs 2022-03-23 21:19:36 +01:00
Folkert
80b8635947
restructure how load is used 2022-03-23 21:19:36 +01:00
Folkert
8e73f447df
store exposed_vars_by_symbol in .dat file too 2022-03-23 21:19:35 +01:00
Folkert
1e6cf3f313
properly serialize tag names 2022-03-23 21:19:35 +01:00
Folkert
0a6335e772
start on roc_load build.rs script for building the builtins 2022-03-23 21:19:34 +01:00
Folkert
7bb1fd88fa
add load_internal 2022-03-23 21:19:34 +01:00
Folkert
d607d6db05
rename standard_library -> roc 2022-03-23 21:19:15 +01:00
Folkert de Vries
f35a6cdc7a
Merge pull request #2762 from rtfeldman/serialize-subs-tag-names
properly serialize tag names
2022-03-23 20:02:57 +01:00
Richard Feldman
49e4ba216d
Merge pull request #2769 from rtfeldman/add-load-internal
add load_internal
2022-03-23 14:24:45 -04:00
Folkert
6353ee095f
use stdlib source from .roc files 2022-03-23 17:43:30 +01:00
Folkert
aaf042bba5
Merge branch 'add-stdlib-roc-files' into builtins-in-roc 2022-03-23 17:36:13 +01:00
Folkert
aefb536bc4
Merge branch 'add-load-internal' into builtins-in-roc 2022-03-23 17:35:49 +01:00
Folkert
877b9eab7a
Merge remote-tracking branch 'origin/trunk' into builtins-in-roc 2022-03-23 17:33:58 +01:00
Folkert
ca16099e83
add standard library .roc files 2022-03-23 17:13:16 +01:00
Folkert
311e464b70
add load_internal 2022-03-23 15:18:22 +01:00
Richard Feldman
cce590dee5
Merge pull request #2761 from rtfeldman/simplify-unused-defs
Remove unneeded work in canonicalization
2022-03-23 10:10:05 -04:00
Folkert
ac19213fa4
stop using builtins/std 2022-03-23 14:49:38 +01:00
Richard Feldman
750fbf2dcf
Merge pull request #2766 from rtfeldman/simplify-identids
simplify IdentIds
2022-03-22 20:23:56 -04:00
Richard Feldman
381acbf734
Merge pull request #2765 from rtfeldman/simplify-stdlib-use
Simplify stdlib use
2022-03-22 20:14:38 -04:00
Brian Carroll
3c9d624a73
Merge pull request #2757 from rtfeldman/fix_shift_filling
Fix (flip) `Num.shiftRight*` builtins
2022-03-23 00:07:19 +00:00
Brian Carroll
faaa1ca8f9 test_gen: crazy conditional compilation options for right-shift tests! 2022-03-22 22:55:00 +00:00
Brian Carroll
24e6cd80e7 wasm: fix argument order for shiftRightBy & disable tests with 8-bit values 2022-03-22 22:28:18 +00:00
Folkert
615aaa9a77
remove unused number min/max functions 2022-03-22 23:12:50 +01:00
Folkert
d82d1ac2ce
temporary get_project_root to import builtins 2022-03-22 22:45:39 +01:00
Folkert
5ec2c4f1df
make IdentStr len() const 2022-03-22 22:45:19 +01:00
Folkert
7b221d6115
Merge branch 'simplify-identids' into builtins-in-roc 2022-03-22 22:25:55 +01:00
Folkert
30aa242075
flip insert and check 2022-03-22 22:22:24 +01:00