Skip to content

Instantly share code, notes, and snippets.

diff --git a/expander.rkt b/expander.rkt
index dec4ba9..61eb98f 100644
--- a/expander.rkt
+++ b/expander.rkt
@@ -1,26 +1,18 @@
#lang br/quicklang
-(define-macro (aoclop-module-begin (aoclop-program BODY ...))
+(define-macro (aoclop-module-begin (aoclop-program READ (op FUNC ARG)))
#'(#%module-begin
diff --git a/expander.rkt b/expander.rkt
index dec4ba9..e6b71d6 100644
--- a/expander.rkt
+++ b/expander.rkt
@@ -2,8 +2,7 @@
(define-macro (aoclop-module-begin (aoclop-program BODY ...))
#'(#%module-begin
- BODY ...
- (display data)))
diff --git a/1.1.md b/1.1.md
index a2611b2..ed1dbd3 100644
--- a/1.1.md
+++ b/1.1.md
@@ -1 +1 @@
-read 1: \n | v | / 3 | floor | -2 | ^ | sum
+read 1: \n | / 3 | floor | - 2 | ^ | sum
diff --git a/1.rkt b/1.rkt
new file mode 100644
index 0000000..36cedbd
@michaelrauh
michaelrauh / Dockerfile
Created August 12, 2016 00:53
Builds ubuntu 14.04 with C unit testing framework Check ready to run, and current dir mounted. Build with: docker build -t [name] . Run with: docker run --rm --name [name] -it -v $(pwd):/code [name]
FROM ubuntu:14.04
RUN apt-get update && apt-get install -y make gcc check git
VOLUME ["/code"]
WORKDIR /code
CMD 'bash'