Richard Feldman
101e90e437
Go back to Float
2020-05-11 23:43:30 -04:00
Richard Feldman
045f1627a0
Try Real
2020-05-11 23:43:30 -04:00
Richard Feldman
0c2c622531
Remove all the => and roc/collections stuff.
2020-05-11 23:43:20 -04:00
Richard Feldman
d38f5b6044
Update roc-for-elm-programmers.md
2020-05-11 23:39:52 -04:00
Richard Feldman
1a348d1731
Write some docs
2020-05-11 23:38:18 -04:00
Richard Feldman
f688236118
Merge pull request #355 from rtfeldman/call-by-layout
...
Call by (name + layout) in code gen
2020-05-10 15:51:59 -04:00
Richard Feldman
b5e4066c49
clippy clop
2020-05-10 15:22:05 -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
33a5f36d7c
Refactor out name
arg from from_can
2020-05-10 15:13:18 -04:00
Richard Feldman
85ec1e0f72
Fix anonymous function code gen
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
bd6228de8b
Prevent infinite looping in code gen
2020-05-10 15:13:18 -04:00
Richard Feldman
e26df0d8cb
Drop unused ContentHash
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
4bfdea03a9
Drop dead code
2020-05-10 09:58:42 -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
efa486251e
Add LayoutCache
2020-05-09 22:11:32 -04:00
Richard Feldman
575202d6e4
Merge pull request #354 from rtfeldman/int-abs
...
Int abs
2020-05-09 22:11:23 -04:00
Chad Stearns
198716498c
Used negate instead of multiplying by -1 for INT_ABS implementation
2020-05-09 21:43:41 -04:00
Chad Stearns
c435cd2a19
increase stack of quicksort test
2020-05-09 21:34:17 -04:00
Chad Stearns
09ef6b2734
Merge branch 'trunk' of github.com:rtfeldman/roc into int-abs
2020-05-09 18:12:29 -04:00
Chad Stearns
dea2fe2382
Moved exiting builtin functions to use defn helper
2020-05-09 18:11:21 -04:00
Chad Stearns
d2cea5237b
Remove commented out INT_ABS implementation
2020-05-09 18:01:36 -04:00
Chad Stearns
f5ebdf49e4
More int_abs documentation
2020-05-09 18:01:22 -04:00
Chad Stearns
1d1f620090
Int Abs
2020-05-09 17:56:10 -04:00
Richard Feldman
08626f409f
Merge pull request #353 from rtfeldman/anonymous-fn-symbols
...
Don't regenerate anonymous function symbols
2020-05-09 13:23:34 -04:00
Richard Feldman
6a79a75648
Don't regenerate anonymous function symbols
2020-05-09 12:56:55 -04:00
Richard Feldman
ca0b6fde31
Drop unused mono test helper
2020-05-09 09:46:24 -04:00
Richard Feldman
3d8076dfe8
Trim trailing spaces
2020-05-09 09:46:24 -04:00
Richard Feldman
8fbfae5e62
Expand some docs
2020-05-09 09:46:24 -04:00
Richard Feldman
41af22a2ac
Merge pull request #352 from rtfeldman/float_abs
...
float abs test and num abs generally
2020-05-08 22:28:09 -04:00
Chad Stearns
7331e55a25
Cargo fmt
2020-05-08 04:07:07 -04:00
Chad Stearns
8e8412bf94
FLOAT_ABS test, and NUM_ABS generally, but not implemented
2020-05-08 00:49:08 -04:00
Richard Feldman
be5641e35a
Merge pull request #351 from rtfeldman/triangle
...
Render a triangle in the editor
2020-05-06 21:00:51 -04:00
Richard Feldman
0c9b895912
Render a triangle
...
Largely following https://github.com/mistodon/gfx-hal-tutorials - code
is CC0 licensed. Lovely tutorials!
2020-05-05 22:07:23 -04:00
Richard Feldman
05e13e9842
Precursor to triangle in editor
2020-05-05 21:40:14 -04:00
Richard Feldman
931910532b
Merge pull request #350 from rtfeldman/launch-editor
...
Launch editor
2020-05-05 18:58:11 -04:00
Richard Feldman
42b4e5acf6
Add fun emoji
2020-05-05 18:34:36 -04:00
Richard Feldman
d7ee713bc5
Have the editor theoretically take filepaths
2020-05-04 21:41:45 -04:00
Richard Feldman
f0b65a25e2
Launch a blank window for the editor
2020-05-04 21:41:45 -04:00
Richard Feldman
6556306e25
Merge pull request #349 from rtfeldman/env-refactor
...
Have mono::expr::Env use IdentIds::gen_unique
2020-05-04 21:41:36 -04:00
Richard Feldman
7e7c6ef4af
Drop obsolete symbol_counter field
2020-05-04 20:32:21 -04:00
Richard Feldman
2904f29c36
Have mono::expr::Env use IdentIds::gen_unique
2020-05-04 20:29:36 -04:00
Richard Feldman
4b284fdca0
Merge pull request #348 from rtfeldman/editor
...
editor placeholder
2020-05-03 22:39:01 -04:00
Richard Feldman
b0e2134121
Launch editor when given no CLI args
2020-05-03 22:04:28 -04:00
Richard Feldman
50357acd55
Add editor/ crate
2020-05-03 21:38:36 -04:00
Richard Feldman
ce9e7a91f6
Clean up some Cargo.toml files
2020-05-03 21:37:59 -04:00