You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
342 B
Racket
14 lines
342 B
Racket
7 years ago
|
#lang racket
|
||
|
(provide #%datum #%top-interaction #%module-begin
|
||
|
(rename-out [#%my-app #%app]))
|
||
|
|
||
|
(define-syntax (#%datum stx)
|
||
|
(syntax-case stx ()
|
||
|
[(_ . THING) #''taco]))
|
||
|
|
||
|
(define-syntax (#%my-app stx)
|
||
|
(syntax-case stx ()
|
||
|
[(_ FUNC . ARGS) #'(list (#%datum) . ARGS)]))
|
||
|
|
||
|
(module reader syntax/module-reader
|
||
|
atomic-taco-demo)
|