Commit Graph

11489 Commits

Author SHA1 Message Date
Joshua Warner
3228a23c98 Fix formatting of if as an left-hand-side of an operator 2021-11-30 17:53:26 -08:00
Richard Feldman
68e206f42c
Merge pull request #2108 from rtfeldman/implement_num_to_str
Implement Num.toStr
2021-11-30 15:34:39 -05:00
rvcas
40090f20e6 test: update tests to use Num.toStr 2021-11-30 14:56:08 -05:00
rvcas
00bd77bf1d chore: update builtin docs 2021-11-30 14:55:41 -05:00
rvcas
023f7f44a7 chore: update examples that reference fromInt 2021-11-30 14:55:08 -05:00
rvcas
f995a07029 feat: Num.toStr
* add type for Num.toStr
  * create new lowlevel
  * delete types and Symbol for fromInt and fromFloat
  * leave LowLevel::{StrFromFloat,StrFromInt}
  * match on LowLevel::NumToStr and figure out the layout to decide
    which build function to delegate to
2021-11-30 14:52:06 -05:00
Richard Feldman
d29d05ea87
Merge pull request #2107 from Ivo-Balbaert/trunk
correcting 2 typos in README.md compiler folder
2021-11-30 14:04:53 -05:00
Ivo-Balbaert
ea742b93d5 correcting 2 typos in README.md compiler folder 2021-11-30 19:53:33 +01:00
Folkert de Vries
d67cc883ca
Merge pull request #2101 from rtfeldman/wasm_empty_array
WASM: EmptyArray
2021-11-30 10:17:33 +01:00
Richard Feldman
0b2aedf8ee
Add Yann S, Shahn H, and Tankor S to AUTHORS 2021-11-29 21:39:46 -05:00
Richard Feldman
090a30d995
Merge pull request #2104 from rtfeldman/tankorsmash-tutorial-patch-1
tweak small stuff in the tutorial
2021-11-29 21:30:08 -05:00
rvcas
6305947b1a fix: exclude gen-dev from gen_list test compilation 2021-11-29 18:08:12 -05:00
TankorSmash
0880435d6e
fix error in example 2021-11-29 15:08:03 -08:00
TankorSmash
5e4f8b579e
tweak small stuff in the tutorial
Added a tiny intro, reintroduce what I assume was the wikipedia link, tweak formatting by using coffeescript tags more
2021-11-29 15:00:04 -08:00
Richard Feldman
fc980124cb
Merge pull request #2103 from rtfeldman/yanns-patch-1
Fix usage of `Result.withDefault`
2021-11-29 17:40:49 -05:00
Richard Feldman
f67c2dda5d
Merge pull request #2102 from shahnhogan/trunk
build-essential typo
2021-11-29 17:40:21 -05:00
Yann Simon
a623c3fe92 fix other instance as well 2021-11-29 21:58:21 +01:00
Yann Simon
51cac5fdc2
Fix usage of Result.withDefault 2021-11-29 21:56:19 +01:00
Shahn Hogan
8c28fda6ef
build-essential typo
Linux x86 Getting Started Guide has a typo.
2021-11-29 14:18:16 -06:00
rvcas
27e77f446f feat(wasm): implement EmptyArray 2021-11-29 15:08:52 -05:00
rvcas
7657d5b192 test: enable wasm in gen_list 2021-11-29 15:06:45 -05:00
Richard Feldman
d4fc9a0043
Merge pull request #2100 from rtfeldman/better_linux_readme
Improved linux getting started
2021-11-29 12:46:01 -05:00
Anton-4
4fb17006cc forgot something 2021-11-29 18:39:50 +01:00
Anton-4
1c9228a2d8 improved linux getting started doc 2021-11-29 18:36:26 +01:00
Richard Feldman
1c22e5c2f9
Merge pull request #2099 from rtfeldman/hello-roc-syntax
Fix syntax of `Hello.roc`
2021-11-29 11:27:08 -05:00
Yann Simon
2ac602b928 fi typos 2021-11-29 17:22:49 +01:00
Yann Simon
9a675835b6
Fix syntax of Hello.roc 2021-11-29 17:13:28 +01:00
Richard Feldman
adb8ff881c
Merge pull request #2096 from rtfeldman/alias-analysis-pull-heap-cell-out
alias analysis: recursive tag union refactor
2021-11-29 09:27:54 -05:00
Richard Feldman
48826c79f3
Add README to examples/cli 2021-11-29 09:24:58 -05:00
Richard Feldman
d3d5a1c427
Add tutorial to README 2021-11-29 09:18:46 -05:00
Folkert de Vries
167af34d4b
Merge pull request #2097 from rtfeldman/wasm-empty-record
Wasm empty record
2021-11-29 13:15:40 +01:00
Richard Feldman
6732151bdc
Merge pull request #2098 from rtfeldman/tutorial
Add initial TUTORIAL.md
2021-11-28 22:50:41 -05:00
Richard Feldman
d5ccfbaa09 Add initial TUTORIAL.md 2021-11-28 22:49:35 -05:00
Brian Carroll
1f747e971f Clippy & fmt 2021-11-29 01:09:31 +00:00
Brian Carroll
dcd4914ac1 Fix and enable tests involving empty records 2021-11-29 00:57:28 +00:00
Brian Carroll
88bf6bf1b7 Clean up Wasm calling convention code 2021-11-29 00:17:45 +00:00
Folkert
ab1787937d shrink CallSpecId and UpdateModeId to u32; assuming a 4GiB file that should be more than enough 2021-11-28 22:59:23 +01:00
Brian Carroll
27af5897d1 Handle zero-size structs 2021-11-28 21:04:40 +00:00
Brendan Hansknecht
fd9a9fad72
Merge pull request #2094 from rtfeldman/gen-dev/remove-results
Gen dev/remove results
2021-11-28 10:28:31 -08:00
Folkert
5b8c63d292 move the heap cell out of the union 2021-11-28 17:51:43 +01:00
Folkert
92cca127b1 refactor 2021-11-28 16:08:11 +01:00
Folkert
8bcb985a80 always also add heap cell to nulled tags 2021-11-28 15:53:05 +01:00
Folkert
537cf69344 add helper for adding a heap cell to values 2021-11-28 15:41:46 +01:00
Folkert
e110f5137f fix test compilation failure 2021-11-28 15:41:36 +01:00
Folkert
aefe719e56 hook up update mode for reset/reuse 2021-11-28 14:25:51 +01:00
Folkert
0bdda2506c add update mode to reset and reuse 2021-11-28 14:13:02 +01:00
Folkert
1241d5ccbd make UpdateModeIds a proper type 2021-11-28 14:03:48 +01:00
Folkert de Vries
8eb74da0f3
Merge pull request #2083 from rtfeldman/layout-soa
Layout Struct of Arrays
2021-11-28 12:43:37 +01:00
Richard Feldman
f80409800d
Merge pull request #2091 from rtfeldman/remove-empty-layouts
Remove empty layouts
2021-11-27 23:32:15 -05:00
Brendan Hansknecht
eff4da1938 appease clippy 2021-11-27 17:03:55 -08:00