Replies: 4 comments
|
input from chest
if redstone > 0 output to chest2input from chest
if (redstone > 0) (do
input from chest2
output to chest3
end)
output to chest4(parens for clarity) no "statements", only "expressions" all the way down? |
0 replies
|
a postfix so we could have could also just introduce a statement terminator like input from store output bread to chest if store has egg output 12 bread to chest-- underspecified
input from store output bread to chest if store has egg output 12 bread to chest
-- vs
input from store. output bread to chest. if store has egg output 12 bread to chest.
-- vs
input from store. output bread to chest if store has egg. output 12 bread to chest.-- underspecified
input from store output bread to chest unless store has egg output 12 bread to chest.
-- vs
input from store. output bread to chest unless store has egg. output 12 bread to chest.
-- vs
input from store. output bread to chest. unless store has egg output 12 bread to chest. |
0 replies
|
could replace every 20 ticks, input from chest, output to chest2, if redstone > 0, output to chest3.that feels less gucci than every 20 ticks do input from chest, output to chest2, if redstone > 0, output to chest3. endbut requiring the comma doesn't feel good compared to what works already every 20 ticks do input from chest output to chest2 if redstone > 0 then output to chest3 end enddouble |
0 replies
|
dank: every 20 ticks do input from chest output to chest2 then if redstone > 0 output to chest3 end
-- the above binds as
every 20 ticks do input from chest output to chest2 then (if redstone > 0 output to chest3) end
-- vs
every 20 ticks do input from chest output to chest2 if redstone > 0 output to chest3 end
-- the above binds as
every 20 ticks do input from chest (output to chest2 if redstone > 0) output to chest3 end |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
https://discordapp.com/channels/967118679370264627/1510670827958567112/1510687465864953946
simplify the memorization rules from
to
All reactions