We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c71e0d0 commit 59802faCopy full SHA for 59802fa
1 file changed
ziggy/src/run-stdin.rkt
@@ -0,0 +1,12 @@
1
+#lang crook
2
+{:= A B C D0 D1 E0 E1 F H0 H1}
3
+(provide main)
4
+(require "parse.rkt")
5
+(require "compile.rkt")
6
+(require "run.rkt")
7
+
8
+;; -> Void
9
+;; Compile contents of stdin and use asm-interp to run
10
+(define (main)
11
+ (read-line) ; ignore #lang racket line
12
+ (run (compile (parse (read)))))
0 commit comments