Commits

Taegyoon Kim  committed a4f4d71

v0.3.1: removed printing the final value.

  • Participants
  • Parent commits d649718

Comments (0)

Files changed (2)

 Output written to: a-out.cpp
 Binary written to: a-out
 Hello, World!
-#t
 ```
 
 ### Other examples ###
 ; (C) 2014 KIM Taegyoon
 (require compatibility/defmacro)
 
-(define version "0.3")
+(define version "0.3.1")
 (define (readline)
   (read-line (current-input-port) 'any))
 
 (define dir (current-directory))
 (displayln (format "Current directory: ~a" dir))
 (displayln (format "Output written to: ~a" outsrc))
-(when 
-    (if (equal? (system-type) 'macosx)
-        (system (format "c++ -std=c++11 -O3 -o ~a ~a" outbin outsrc))
-        (system (format "c++ -std=c++11 -O3 -s -static -o ~a ~a" outbin outsrc)))
+(when (if (equal? (system-type) 'macosx)
+          (system (format "c++ -std=c++11 -O3 -o ~a ~a" outbin outsrc))
+          (system (format "c++ -std=c++11 -O3 -s -static -o ~a ~a" outbin outsrc)))
   (displayln (format "Binary written to: ~a" outbin))
-  (system (format "~a~a" dir outbin)))
+  (void (system (format "~a~a" dir outbin))))