Fix more module imports

remotes/jackfirth/master
Jack Firth 3 years ago
parent d7e5b10fe0
commit 121c26450e

@ -3,21 +3,19 @@
;; Provides the syntax used to create lexers and the functions needed to
;; create and use the buffer that the lexer reads from. See docs.
(require (for-syntax racket/list
racket/syntax
(require (for-syntax racket/syntax
syntax/stx
syntax/define
syntax/boundmap
"private-lex/util.rkt"
"private-lex/actions.rkt"
"private-lex/front.rkt"
"private-lex/unicode-chars.rkt"
yaragg/parser-tools/private-lex/util
yaragg/parser-tools/private-lex/actions
yaragg/parser-tools/private-lex/front
yaragg/parser-tools/private-lex/unicode-chars
racket/base
racket/promise))
(require racket/stxparam
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

@ -1,8 +1,7 @@
#lang racket/base
(require racket/list
(prefix-in is: data/integer-set)
"re.rkt"
"util.rkt")
(require (prefix-in is: data/integer-set)
yaragg/parser-tools/private-lex/re
yaragg/parser-tools/private-lex/util)
(provide build-dfa print-dfa (struct-out dfa))

@ -2,12 +2,11 @@
(require racket/base
racket/match
(prefix-in is: data/integer-set)
racket/list
syntax/stx
"util.rkt"
"stx.rkt"
"re.rkt"
"deriv.rkt")
yaragg/parser-tools/private-lex/util
yaragg/parser-tools/private-lex/stx
yaragg/parser-tools/private-lex/re
yaragg/parser-tools/private-lex/deriv)
(provide build-lexer)

@ -1,8 +1,7 @@
#lang racket/base
(require racket/list
racket/match
(require racket/match
(prefix-in is: data/integer-set)
"util.rkt")
yaragg/parser-tools/private-lex/util)
(provide ->re build-epsilon build-zero build-char-set build-concat
build-repeat build-or build-and build-neg

@ -1,5 +1,5 @@
#lang racket/base
(require racket/promise yaragg/parser-tools/private-lex/util)
(require racket/promise)
(provide (all-defined-out))

@ -3,8 +3,7 @@
;; representation of the input to the parser generator.
(require racket/class
(except-in racket/list remove-duplicates)
"yacc-helper.rkt"
yaragg/parser-tools/private-yacc/yacc-helper
racket/contract)
;; Each production has a unique index 0 <= index <= number of productions

@ -1,7 +1,6 @@
#lang racket/base
(require yaragg/parser-tools/private-yacc/lr0
yaragg/parser-tools/private-yacc/grammar
racket/list
racket/class)
;; Compute LALR lookaheads from DeRemer and Pennello 1982

@ -1,7 +1,6 @@
#lang racket/base
(require yaragg/parser-tools/private-yacc/grammar
yaragg/parser-tools/private-yacc/graph
racket/list
racket/class)
;; Handle the LR0 automaton

@ -63,7 +63,6 @@
(let ((BIND void) ... (TMP void) ...)
(void BOUND ... ... TERM-GROUP ... START ... END ... PREC ...)))))
(require racket/list "parser-actions.rkt")
(define (build-parser filename src-pos suppress input-terms start end assocs prods)
(define grammar (parse-input input-terms start end assocs prods src-pos))

@ -4,7 +4,6 @@
yaragg/parser-tools/private-yacc/lalr
yaragg/parser-tools/private-yacc/parser-actions
racket/contract
racket/list
racket/class)
;; Routine to build the LALR table

@ -2,8 +2,7 @@
(require yaragg/parser-tools/lex
(prefix-in : yaragg/parser-tools/lex-sre)
yaragg/parser-tools/yacc
syntax/readerr
racket/list)
syntax/readerr)
(provide trans)
(define match-double-string

@ -1,11 +1,11 @@
#lang racket/base
(require (for-syntax racket/base
"private-yacc/parser-builder.rkt"
"private-yacc/grammar.rkt"
"private-yacc/yacc-helper.rkt"
"private-yacc/parser-actions.rkt")
"private-lex/token.rkt"
"private-yacc/parser-actions.rkt"
yaragg/parser-tools/private-yacc/parser-builder
yaragg/parser-tools/private-yacc/grammar
yaragg/parser-tools/private-yacc/yacc-helper
yaragg/parser-tools/private-yacc/parser-actions)
yaragg/parser-tools/private-lex/token
yaragg/parser-tools/private-yacc/parser-actions
racket/local
racket/pretty
syntax/readerr)

@ -6,7 +6,6 @@
yaragg/rules/rule-structs
(only-in yaragg/support from/to)
racket/string
syntax-color/racket-lexer
racket/match)
(provide lex/1 tokenize)

@ -1,7 +1,6 @@
#lang racket/base
(require yaragg/parser-tools/yacc
yaragg/parser-tools/lex
racket/list
racket/match
yaragg/rules/rule-structs)

@ -1,9 +1,7 @@
#lang racket/base
(require yaragg/rules/rule-structs
yaragg/parser-tools/lex
racket/match
syntax/strip-context)
racket/match)
(provide rule->stx)

Loading…
Cancel
Save