Hume (programming language): Difference between revisions

Content deleted Content added
Comments: precision
Vending machine: better name
Line 85:
;
box panelcontrol
in (c :: char)
out (coin :: Coins, button:: Buttons)
Line 105:
wire cofee
-- inputs (channel origins)
(panelcontrol.coin, panelcontrol.button, coffee.value’ initially 0) --
-- outputs destinations
(console_outp, coffee.value, console_outp, console_outp)
;
wire panelcontrol
(console_inp)
(coffee.coin, coffee.button)