[honu] provide honu-syntax through the user api
This commit is contained in:
parent
2984bfe8e2
commit
fb42f390c9
|
@ -5,10 +5,12 @@
|
|||
(require "private/syntax.rkt"
|
||||
"private/literals.rkt"
|
||||
(for-syntax "private/compile.rkt"
|
||||
"private/syntax.rkt"
|
||||
"private/parse2.rkt"))
|
||||
(provide define-honu-syntax
|
||||
define-literal
|
||||
(for-syntax racket-syntax
|
||||
honu-expression
|
||||
honu-syntax
|
||||
honu-body
|
||||
parse-all))
|
||||
|
|
|
@ -394,10 +394,11 @@
|
|||
(with-syntax ([(out ...) maybe-out])
|
||||
#'(#:with result (parse-stuff honu-syntax (#%parens out ...))))
|
||||
#'(#:with result #'()))])
|
||||
#'[pattern (~seq new-pattern ...)
|
||||
withs ... ...
|
||||
result-with ...
|
||||
]))
|
||||
(syntax/loc honu-pattern
|
||||
[pattern (~seq new-pattern ...)
|
||||
withs ... ...
|
||||
result-with ...
|
||||
])))
|
||||
|
||||
(define pattern-stuff
|
||||
(for/list ([pattern (syntax->list #'(pattern-stx ...))]
|
||||
|
|
Loading…
Reference in New Issue
Block a user