Commit e2a52251 authored by Brian Guadalupe's avatar Brian Guadalupe

Moved GUI import to main submodule

parent b7eaff6b
#lang br/quicklang #lang br/quicklang
(require (except-in tm/tmachine run) (require (except-in tm/tmachine run)
(only-in tm/gui simulate)
racket/set) racket/set)
(provide (rename-out [tm-module-begin #%module-begin]) (provide (rename-out [tm-module-begin #%module-begin])
...@@ -114,6 +113,7 @@ ...@@ -114,6 +113,7 @@
(define this-tm (define this-tm
(make-tm-config raw-prgm)) (make-tm-config raw-prgm))
(module+ main (module+ main
(require (only-in tm/gui simulate))
(display "Input string: ") (display "Input string: ")
(define input (read-line)) (define input (read-line))
(set-input! this-tm input) (set-input! this-tm input)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment