From 5db0287326276175a59a26f289bed1c788852e91 Mon Sep 17 00:00:00 2001 From: Jay McCarthy Date: Thu, 8 Oct 2015 19:04:37 -0400 Subject: [PATCH] notes --- remix/README | 8 +++++++- remix/core.rkt | 3 +-- remix/stx0.rkt | 3 ++- remix/tests/simple.rkt | 10 ++++++++++ 4 files changed, 20 insertions(+), 4 deletions(-) diff --git a/remix/README b/remix/README index 5491454..c77f694 100644 --- a/remix/README +++ b/remix/README @@ -157,10 +157,16 @@ TODO Rocket-strength super cut: λ.(+ $0 $1) -TODO Don't use English in exceptions and have more structured exns [demo on raco/pkg] +TODO Don't use English in exceptions and have more structured exns +[demo on raco/pkg] + +english in error messages is good, but adding a markup language instead of just supporting strings TODO (Define-default-type Number x y z) [for define things too] TODO zos don't appear to users (switch to interp if no write access) +TODO only use syntax-parse and define-simple-macro + +TODO add a threading macro diff --git a/remix/core.rkt b/remix/core.rkt index 0456e0d..ad21edb 100644 --- a/remix/core.rkt +++ b/remix/core.rkt @@ -1,4 +1,3 @@ #lang racket/base (provide #%module-begin - require - provide) + require) diff --git a/remix/stx0.rkt b/remix/stx0.rkt index cf2909e..88c8c51 100644 --- a/remix/stx0.rkt +++ b/remix/stx0.rkt @@ -142,4 +142,5 @@ unquote module module* - module+) + module+ + provide) diff --git a/remix/tests/simple.rkt b/remix/tests/simple.rkt index 7fefb27..1d458fd 100644 --- a/remix/tests/simple.rkt +++ b/remix/tests/simple.rkt @@ -2,6 +2,9 @@ ;; This requires changes to Racket that are not yet pushed, but will ;; be once the release branch is made. +;; #lang remix only contains two bindings: #%module-begin and require +;; +;; we use require to get everything else. most of it comes from stx0 (require remix/stx0 remix/num/gen0) @@ -109,3 +112,10 @@ {v7 + ,&}) (module+ test v9) + +;; ... +;; ,,, +;; ooo +;; … + +