|
|
@ -3,21 +3,19 @@
|
|
|
|
;; Provides the syntax used to create lexers and the functions needed to
|
|
|
|
;; Provides the syntax used to create lexers and the functions needed to
|
|
|
|
;; create and use the buffer that the lexer reads from. See docs.
|
|
|
|
;; create and use the buffer that the lexer reads from. See docs.
|
|
|
|
|
|
|
|
|
|
|
|
(require (for-syntax racket/list
|
|
|
|
(require (for-syntax racket/syntax
|
|
|
|
racket/syntax
|
|
|
|
|
|
|
|
syntax/stx
|
|
|
|
syntax/stx
|
|
|
|
syntax/define
|
|
|
|
syntax/define
|
|
|
|
syntax/boundmap
|
|
|
|
yaragg/parser-tools/private-lex/util
|
|
|
|
"private-lex/util.rkt"
|
|
|
|
yaragg/parser-tools/private-lex/actions
|
|
|
|
"private-lex/actions.rkt"
|
|
|
|
yaragg/parser-tools/private-lex/front
|
|
|
|
"private-lex/front.rkt"
|
|
|
|
yaragg/parser-tools/private-lex/unicode-chars
|
|
|
|
"private-lex/unicode-chars.rkt"
|
|
|
|
|
|
|
|
racket/base
|
|
|
|
racket/base
|
|
|
|
racket/promise))
|
|
|
|
racket/promise))
|
|
|
|
|
|
|
|
|
|
|
|
(require racket/stxparam
|
|
|
|
(require racket/stxparam
|
|
|
|
syntax/readerr
|
|
|
|
syntax/readerr
|
|
|
|
"private-lex/token.rkt")
|
|
|
|
yaragg/parser-tools/private-lex/token)
|
|
|
|
|
|
|
|
|
|
|
|
(provide lexer lexer-src-pos lexer-srcloc define-lex-abbrev define-lex-abbrevs define-lex-trans
|
|
|
|
(provide lexer lexer-src-pos lexer-srcloc define-lex-abbrev define-lex-abbrevs define-lex-trans
|
|
|
|
|
|
|
|
|
|
|
|