(load-option 'gtk #t)
-(let ((time (get-universal-time))
- (latitude 33.3)
- (longitude -111.9)
-
- (device (gtk-graphics/make 400 400))
- (here (the-environment))
+(let ((here (the-environment))
(gtk (->environment '(gtk))))
(for-each (lambda (name) (environment-link-name here gtk name))
'(surface-ink-surface
(with-working-directory-pathname
(directory-pathname (current-load-pathname))
(lambda ()
- (for-each load '("geometry" "matrices" "time" "solar" "earth"
- "mit-scheme-cil" "tellurian" "mit-scheme-gtk"))))
+ (for-each (lambda (file) (compile-file file '() here) (load file))
+ '("mit-scheme-syntax"
+ "geometry" "matrices" "time" "solar" "earth"
+ "mit-scheme-cil" "tellurian" "mit-scheme-gtk")))))
+
+(let ((time (get-universal-time))
+ (latitude 33.3)
+ (longitude -111.9)
+
+ (device (gtk-graphics/make 400 400)))
(graphics-set-coordinate-limits device -1.1 -1.1 1.1 1.1)
(draw-tellurian device time (make-latitude/longitude latitude longitude))
(let ((surface (surface-ink-surface (graphics-device/descriptor device))))