Commit graph

6629 commits

Author SHA1 Message Date
Brian Carroll
d516a17965
Merge pull request #2228 from rtfeldman/set-small-str-flag-on-empty
Set small string flag on empty string
2021-12-17 13:45:29 +00:00
Brian Carroll
1b98673704 Separate stack and heap pointers & create Symbols for list literals 2021-12-17 11:45:54 +00:00
Folkert de Vries
b8fe9a4d1d
Merge pull request #2232 from rtfeldman/joshuawarner32/assert-module-formatting-stable
Also assert module formatting is stable
2021-12-17 09:25:29 +01:00
rvcas
bed288330f feat(wasm): try different offsets 2021-12-16 22:27:16 -05:00
rvcas
fc07070617 feat(wasm): trying to add the rest of the elements to the list 2021-12-16 22:14:15 -05:00
rvcas
40da207859 feat(wasm): LowLevel::ListLen 2021-12-16 21:50:12 -05:00
rvcas
b35deacebe feat(wasm): use allocate with ref count 2021-12-16 21:23:13 -05:00
rvcas
c14b4b81e0 Merge branch 'trunk' into wasm_arrays 2021-12-16 21:07:12 -05:00
Joshua Warner
2e85c19101 Require explicit cloning of State 2021-12-16 17:13:58 -08:00
Joshua Warner
49818343dd extract state 2021-12-16 17:13:53 -08:00
Joshua Warner
c36b853286 Also assert module formatting is stable 2021-12-16 17:07:05 -08:00
Brian Carroll
c5d0a42c20 LLVM backend: set small string flag on empty string 2021-12-16 19:04:36 +00:00
Brian Carroll
a481e34f31 Zig builtins: set small string flag on empty string 2021-12-16 19:04:36 +00:00
Brian Carroll
0f2d14490f Clippy fixes 2021-12-16 16:58:37 +00:00
Brian Carroll
307ab9ee83 Use a single enum for all helpers 2021-12-16 16:56:56 +00:00
Brian Carroll
3eb9e9f7ac Traverse nested layouts for code gen helpers 2021-12-16 16:56:56 +00:00
Brian Carroll
ae9e5f115f Generate specialized call for Eq 2021-12-16 16:56:56 +00:00
Brian Carroll
86d8e2789e Implement Wasm string equality 2021-12-16 16:56:56 +00:00
Brian Carroll
e1a04c2661 Only check layout is implemented for RC, not other ops 2021-12-16 16:56:56 +00:00
Brian Carroll
3adaacc66e Add some comments 2021-12-16 16:56:53 +00:00
Brian Carroll
cd91be678f Setup for specializing equality checks 2021-12-16 16:52:47 +00:00
Brian Carroll
ee97eb668d Add Eq operation to code gen helpers 2021-12-16 16:52:47 +00:00
Brian Carroll
efef2be958 Rename mono IR code gen helpers 2021-12-16 16:52:47 +00:00
Brian Carroll
71de2289ae Rename helper proc generator struct 2021-12-16 16:52:47 +00:00
Brian Carroll
0547647341 Rename code gen helper file in mono 2021-12-16 16:52:47 +00:00
Folkert de Vries
33277144d6
Merge pull request #2206 from rtfeldman/joshuawarner32/extract-spaced-enum-2
Extract spacing from parse::header::* items into explicit Spaced enum
2021-12-16 17:08:51 +01:00
Brian Carroll
ad8fa483d2 Make Str equality faster 2021-12-16 11:45:54 +00:00
Brian Carroll
3c74acafa4 More precise alignCast (allow for 32-bit targets) 2021-12-16 11:45:54 +00:00
Brian Carroll
457041a314 Slightly optimize Str.isEmpty 2021-12-16 11:45:54 +00:00
Folkert de Vries
e84580c148
Merge pull request #2210 from rtfeldman/rust-ana-fixes
quilified WhenBranch to prevent issues with rust-analyzer
2021-12-16 01:13:10 +01:00
j
ec68b1ab38 Alphabetize compiler/builtins/docs/ exposures 2021-12-15 07:37:15 -07:00
Anton-4
45c1b6a812 fmt 2021-12-15 14:12:32 +01:00
Brian Carroll
bbf04b8752 Add more Zig tests for Str.eq 2021-12-15 11:27:13 +00:00
Joshua Warner
63056eeeac Remove spaces from header 'Info' structs 2021-12-14 19:53:23 -08:00
Joshua Warner
0786e554c6 Extract spacing from parse::header::* items into explicit Spaced enum 2021-12-14 19:53:20 -08:00
Joshua Warner
86c8764012 Detangle lifetime annotations for Formattable 2021-12-14 19:52:53 -08:00
Richard Feldman
6056d29df0
Merge pull request #2201 from rtfeldman/builtin_docs
Added builtins to docs
2021-12-14 22:04:23 -05:00
Richard Feldman
7a1f3b1c02
Merge pull request #2207 from rtfeldman/JanCVanB-patch-1
Remove duplicate `dropLast` & `all` in `List` docs
2021-12-14 22:03:43 -05:00
Richard Feldman
5ac6bf89e4
Merge pull request #2208 from rtfeldman/JanCVanB-patch-2
Add missing section headers to `Set` docs
2021-12-14 22:03:27 -05:00
Richard Feldman
01038ed53c
Merge pull request #2192 from rtfeldman/rename-base-to-pf
Rename `base` package to `pf` everywhere, to match tutorial
2021-12-14 22:00:22 -05:00
Anton-4
e4b2c91eb4 quilified WhenBranch 2021-12-14 16:35:09 +01:00
Jan Van Bruggen
ba328aa30f
Add missing section headers to Set docs
This emulates [the section headers in `List` docs](09c1222b28/compiler/builtins/docs/List.roc (L216)).
2021-12-13 18:48:25 -07:00
Jan Van Bruggen
c783446567
Remove duplicate dropLast & all in List docs 2021-12-13 18:43:24 -07:00
Folkert de Vries
09c1222b28
Merge pull request #2196 from rtfeldman/wasm-eq-128-bit
More Wasm support for 128-bit numbers: literals, Num.isFinite, ==, and !=
2021-12-14 00:24:20 +01:00
Brian Carroll
cca4acf728 Remove f128 equality implementation 2021-12-13 22:23:20 +00:00
Anton-4
eeb8d7e9f1 Added builtins to docs 2021-12-13 20:27:32 +01:00
Brian Carroll
594fe9124d Wasm support for 128-bit number literals, isFinite, ==, and != 2021-12-13 09:05:07 +00:00
Joshua Warner
6fcdc46c03 Allow newlines in package entries 2021-12-12 20:33:35 -08:00
Jan Van Bruggen
f6ec1ebad0 Rename base to pf in testing snapshots 2021-12-12 17:58:43 -07:00
Brian Carroll
cba16b6c3f
Merge pull request #2169 from rtfeldman/wasm-recursive-tags
Wasm recursive tags
2021-12-13 00:13:43 +00:00