remove `b-func`

pull/10/head
Matthew Butterick 8 years ago
parent 0ad47dd273
commit 4462141a41

@ -24,5 +24,3 @@
(define-macro (b-def ID VAR EXPR) (define-macro (b-def ID VAR EXPR)
#'(set! ID (λ (VAR) EXPR))) #'(set! ID (λ (VAR) EXPR)))
(define (b-func id val) (id val))

@ -29,7 +29,7 @@ b-product : [b-product ("*"|"/"|"%"|"^")] b-value
;; values ;; values
@b-value : b-id | b-number | /"(" b-expr /")" | b-not | b-func @b-value : b-id | b-number | /"(" b-expr /")" | b-not | b-func
b-func : b-id /"(" b-expr /")" /b-func : b-id /"(" b-expr /")"
b-not : /"!" b-value b-not : /"!" b-value
@b-id : ID @b-id : ID
@b-number : b-positive | b-negative @b-number : b-positive | b-negative

Loading…
Cancel
Save