add hook for parsing transformers
This commit is contained in:
parent
35f64145ca
commit
e052c33998
10
collects/honu/private/language.ss
Normal file
10
collects/honu/private/language.ss
Normal file
|
@ -0,0 +1,10 @@
|
|||
#lang scheme
|
||||
|
||||
(require (for-syntax syntax/parse))
|
||||
|
||||
(provide (all-defined-out))
|
||||
|
||||
(define-syntax (field-access stx)
|
||||
(syntax-parse stx
|
||||
[(_ field object)
|
||||
#'(get-field field object)]))
|
Loading…
Reference in New Issue
Block a user