Skip to content
This repository has been archived by the owner on Mar 16, 2018. It is now read-only.

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zaoqi committed Dec 24, 2017
1 parent bc37525 commit dc29b8f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions js.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
(define (**define s x) (++ "var "(**var s)"="x))
(define (**define-undefined s) (++ "var "(**var s)))
(define (**set! v x) (++ (**var v)"="x))
(define (**begin* xs) (ADDbetweenSTRING xs ";"))

(define (**return x) (++ "return "x))
(define (**lambda args body)
Expand Down Expand Up @@ -138,9 +139,9 @@

(define %*exp*fs
(hash
'apply *apply
'begin (λ xs (**begin* xs))
'return **return
'begin (λ xs (ADDbetweenSTRING xs ";"))
'apply *apply
'procedure? *procedure?

'raise *raise
Expand Down

0 comments on commit dc29b8f

Please sign in to comment.