lr35902ish racket
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
435B

  1. #lang br/quicklang
  2. (require brag/support "tokenizer.rkt")
  3. (define (read-syntax path port)
  4. (define tokens (apply-tokenizer make-tokenizer port))
  5. (strip-bindings
  6. #`(module zybino-tokens-mod zybino/tokenize-only
  7. #,@tokens)))
  8. (module+ reader
  9. (provide read-syntax))
  10. (define-macro (tokenize-only-mb TOKEN ...)
  11. #'(#%module-begin
  12. (list TOKEN ...)))
  13. (provide (rename-out [tokenize-only-mb #%module-begin]))