Commit Graph

63 Commits

Author SHA1 Message Date
Richard Feldman
228793002c
Stop using ReferenceCounted in examples 2022-05-26 11:41:42 -04:00
Richard Feldman
4eec34becf
Update to use new square brace formatting 2022-05-22 23:15:54 -04:00
Sean Hagstrom
c53f6cf2fe
formatter: remove spaces at the beginning and end of single-line square bracket expressions 2022-05-22 14:06:34 +01:00
Sean Hagstrom
08777434b6
formatter: support removing blank lines between all when branches in when expressions 2022-05-19 09:26:04 +01:00
Richard Feldman
9c72e5e8ed
Remove unnecessary -> () function return types 2022-05-18 08:29:40 -04:00
Anton-4
4eb02e08b3
removed unnecessary resolver 2022-05-16 17:14:03 +02:00
Anton-4
0f59f3097a
cargo fix --edition 2022-05-16 17:04:17 +02:00
Sean Hagstrom
b147890b08 feat(formatter): implement outdent formatting for multiline lists and records 2022-04-24 16:52:02 +01:00
Richard Feldman
5d75be38b6
Num.rem no longer returns a Result 2022-04-23 22:38:05 -04:00
Richard Feldman
cae89de3c2
roc format examples/breakout 2022-04-23 22:09:34 -04:00
Richard Feldman
3e1722ac01
Fix breakout example 2022-04-23 20:37:23 -04:00
Richard Feldman
adb3c3ca2a
Revert breakout back to a working state.
This should be un-reverted when enough compiler bugs are fixed
that it can run again!
2022-04-23 15:35:55 -04:00
Richard Feldman
4b1b17ef1b
Add examples/breakout/hello.roc 2022-04-20 22:12:57 -04:00
Richard Feldman
4fa98e964e
Reproduce malloc error (on M1 Mac at least) 2022-04-18 12:23:33 -04:00
Richard Feldman
443bb28f1b
Remove bug reproduction code 2022-04-18 12:23:07 -04:00
Richard Feldman
8c64db5c0a
Reproduce a different canonicalization bug 2022-04-18 11:59:48 -04:00
Richard Feldman
fc606fd220
Reproduce canonicalization bug 2022-04-18 11:55:26 -04:00
Richard Feldman
1bb7102125
Work around alias analysis bug 2022-04-18 09:47:34 -04:00
Richard Feldman
ec4c802373
Use outdented curly braces more 2022-04-17 22:39:22 -04:00
Richard Feldman
4d7e7f2e0e
Reproduce alias analysis crash 2022-04-17 21:12:04 -04:00
Richard Feldman
0758bfc487
Fix type mismatch in breakout 2022-04-17 21:10:43 -04:00
Richard Feldman
cbe0b0fb4c
Reproduce multiple confusing error messages 2022-04-17 21:05:59 -04:00
Richard Feldman
3dce2a00df
Animate breakout, give blocks a border 2022-04-17 20:42:17 -04:00
Richard Feldman
cf97f8099d
Add basic animation system, add basic gravity 2022-04-17 11:37:23 -04:00
Richard Feldman
cd93cf85cb
Use lto=fat on breakout release builds 2022-04-17 02:31:52 -04:00
Richard Feldman
eda9c411d8
Use more named constants in breakout 2022-04-15 13:20:31 -04:00
Richard Feldman
bb9e30e361
Move the paddle left and right 2022-04-15 13:08:22 -04:00
Richard Feldman
03db0d3206
Add ball to breakout example 2022-04-15 12:55:08 -04:00
Richard Feldman
1b2ae94591
Fix Rgba conversion in breakout 2022-04-15 12:54:52 -04:00
Richard Feldman
ba2eeb576c
Extract Game module, fix annotations 2022-04-14 18:06:21 -04:00
Richard Feldman
99d684a3a1
Annotate init in breakout example 2022-04-14 17:36:08 -04:00
Richard Feldman
6f635cf4f3 Give breakout a build.rs 2022-04-14 08:21:51 -04:00
Richard Feldman
e4fa11184b
Drop Result types from division in breakout example 2022-04-14 08:12:04 -04:00
Richard Feldman
dfec98c068
Moving the paddle in one direction 2022-04-13 10:53:32 -04:00
Richard Feldman
ee7c5ad2e1
Wire up update in breakout 2022-04-13 10:48:11 -04:00
Richard Feldman
3746161c42
Fix init returning the wrong model 2022-04-13 10:39:32 -04:00
Richard Feldman
105730fc1b
Reproduce init returning wrong floats 2022-04-12 22:35:32 -04:00
Richard Feldman
82b55ae4c9
Initialize both model and elems at once 2022-04-12 22:34:16 -04:00
Richard Feldman
566e7f9a79
Call init and render on app startup 2022-04-12 22:14:31 -04:00
Richard Feldman
e7a298e7b9
Incorporate TEA into breakout 2022-04-12 19:05:03 -04:00
Richard Feldman
154a36398d
Simplify app_render 2022-04-12 17:32:31 -04:00
Richard Feldman
cd3f084c60
Fix missing provides in breakout.roc 2022-04-11 16:18:27 -04:00
Richard Feldman
c2b823ce99
Introduce basic TEA for breakout 2022-04-10 10:55:40 -04:00
Richard Feldman
999dbfd9d1
Send Event to breakout main 2022-04-10 10:15:43 -04:00
Richard Feldman
5de57ef30a
Horizontally center the paddle, make it bigger 2022-04-10 00:55:18 -04:00
Richard Feldman
6bbc0b5edb
Gracefully handle resizing in breakout 2022-04-10 00:52:43 -04:00
Richard Feldman
ee4e787712
Drop some unused code 2022-04-10 00:52:34 -04:00
Richard Feldman
29fe91f95e
Make breakout colors look nicer 2022-04-09 20:35:10 -04:00
Richard Feldman
d40c7ed1d9
Draw breakout rects differently 2022-04-08 10:56:56 -04:00
Richard Feldman
0f6e1bac73
Drop unused functions 2022-04-08 10:56:47 -04:00