Split out call to ground-vm from definition of main

This commit is contained in:
Tony Garnock-Jones 2012-01-13 16:48:43 -05:00
parent 66f74dbe63
commit a4eb28f5c5
1 changed files with 36 additions and 34 deletions

View File

@ -37,7 +37,7 @@
(send-message `(tick ,counter ,now))
(loop now (+ counter 1)))]))))
(ground-vm
(define main
(os-big-bang 'none
(subscribe 'display-driver display-driver-handler)
(subscribe 'read-line-driver read-line-driver-handler)
@ -71,3 +71,5 @@
(unsubscribe 'ticker)
(send-message 'greet-loop)
)]))))
(ground-vm main)