Use collection-based module paths in parser-tools

remotes/jackfirth/master
Jack Firth 3 years ago
parent add6832116
commit 8feed88328

@ -1,6 +1,6 @@
#lang racket/base #lang racket/base
(require (for-syntax racket/base) (require (for-syntax racket/base)
"../lex.rkt" br-parser-tools/private-lex/lex
rackunit) rackunit)
(define-syntax (catch-syn-error stx) (define-syntax (catch-syn-error stx)

@ -1,5 +1,5 @@
#lang racket/base #lang racket/base
(require "util.rkt" syntax/id-table racket/syntax) (require br-parser-tools/private-lex/util syntax/id-table racket/syntax)
(provide parse) (provide parse)
(define (bad-args stx num) (define (bad-args stx num)

@ -1,5 +1,5 @@
#lang racket/base #lang racket/base
(require (for-syntax racket/base "token-syntax.rkt")) (require (for-syntax racket/base br-parser-tools/private-lex/token-syntax))
;; Defining tokens ;; Defining tokens

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

@ -1,7 +1,7 @@
#lang racket/base #lang racket/base
(require "yacc-helper.rkt" (require br-parser-tools/private-yacc/yacc-helper
"../private-lex/token-syntax.rkt" br-parser-tools/private-lex/token-syntax
"grammar.rkt" br-parser-tools/private-yacc/grammar
racket/class racket/class
racket/contract racket/contract
(for-template racket/base)) (for-template racket/base))

@ -1,6 +1,6 @@
#lang racket/base #lang racket/base
(require "lr0.rkt" (require br-parser-tools/private-yacc/lr0
"grammar.rkt" br-parser-tools/private-yacc/grammar
racket/list racket/list
racket/class) racket/class)

@ -1,6 +1,6 @@
#lang racket/base #lang racket/base
(require "grammar.rkt" (require br-parser-tools/private-yacc/grammar
"graph.rkt" br-parser-tools/private-yacc/graph
racket/list racket/list
racket/class) racket/class)

@ -1,5 +1,5 @@
#lang racket/base #lang racket/base
(require "grammar.rkt") (require br-parser-tools/private-yacc/grammar)
(provide (except-out (all-defined-out) make-reduce make-reduce*) (provide (except-out (all-defined-out) make-reduce make-reduce*)
(rename-out [make-reduce* make-reduce])) (rename-out [make-reduce* make-reduce]))

@ -1,7 +1,7 @@
#lang racket/base #lang racket/base
(require "input-file-parser.rkt" (require br-parser-tools/private-yacc/input-file-parser
"grammar.rkt" br-parser-tools/private-yacc/grammar
"table.rkt" br-parser-tools/private-yacc/table
racket/class racket/class
racket/contract) racket/contract)
(require (for-template racket/base)) (require (for-template racket/base))

@ -1,8 +1,8 @@
#lang racket/base #lang racket/base
(require "grammar.rkt" (require br-parser-tools/private-yacc/grammar
"lr0.rkt" br-parser-tools/private-yacc/lr0
"lalr.rkt" br-parser-tools/private-yacc/lalr
"parser-actions.rkt" br-parser-tools/private-yacc/parser-actions
racket/contract racket/contract
racket/list racket/list
racket/class) racket/class)

@ -1,6 +1,6 @@
#lang racket/base #lang racket/base
(require (prefix-in rl: racket/list) (require (prefix-in rl: racket/list)
"../private-lex/token-syntax.rkt") br-parser-tools/private-lex/token-syntax)
;; General helper routines ;; General helper routines
(provide duplicate-list? remove-duplicates overlap? vector-andmap display-yacc) (provide duplicate-list? remove-duplicates overlap? vector-andmap display-yacc)

Loading…
Cancel
Save