Use collection-based module paths

remotes/jackfirth/master
Jack Firth 3 years ago
parent 574fe215ea
commit ab8a7437a9

@ -3,7 +3,7 @@
racket/syntax racket/syntax
brag/rules/stx-types brag/rules/stx-types
syntax/id-table syntax/id-table
(prefix-in sat: "satisfaction.rkt") (prefix-in sat: brag/codegen/satisfaction)
(for-template racket/base (for-template racket/base
brag/codegen/runtime brag/codegen/runtime
brag/private/internal-support)) brag/private/internal-support))

@ -1,9 +1,9 @@
#lang racket/base #lang racket/base
(require (for-syntax racket/base (require (for-syntax racket/base
racket/list racket/list
"codegen.rkt" brag/codegen/codegen
"runtime.rkt" brag/codegen/runtime
"flatten.rkt") brag/codegen/flatten)
br-parser-tools/lex br-parser-tools/lex
br-parser-tools/cfg-parser br-parser-tools/cfg-parser
(prefix-in bs: brag/support) (prefix-in bs: brag/support)

@ -1,8 +1,8 @@
#lang racket/base #lang racket/base
(module reader racket/base (module reader racket/base
(require "codegen/reader.rkt") (require brag/codegen/reader)
(provide (all-from-out "codegen/reader.rkt"))) (provide (all-from-out brag/codegen/reader)))
;; this creates dummy identifiers ;; this creates dummy identifiers
;; so cross-refs in `brag` docs will work ;; so cross-refs in `brag` docs will work

@ -1,9 +1,9 @@
#lang racket/base #lang racket/base
(require (for-syntax racket/base "parser.rkt")) (require (for-syntax racket/base brag/rules/parser))
(require br-parser-tools/lex (require br-parser-tools/lex
(prefix-in : br-parser-tools/lex-sre) (prefix-in : br-parser-tools/lex-sre)
"parser.rkt" brag/rules/parser
"rule-structs.rkt" brag/rules/rule-structs
(only-in brag/support from/to) (only-in brag/support from/to)
racket/string racket/string
syntax-color/racket-lexer syntax-color/racket-lexer

@ -3,7 +3,7 @@
br-parser-tools/lex br-parser-tools/lex
racket/list racket/list
racket/match racket/match
"rule-structs.rkt") brag/rules/rule-structs)
;; A parser for grammars. ;; A parser for grammars.

@ -1,6 +1,6 @@
#lang racket/base #lang racket/base
(require "rule-structs.rkt" (require brag/rules/rule-structs
br-parser-tools/lex br-parser-tools/lex
racket/match racket/match
syntax/strip-context) syntax/strip-context)

@ -1,26 +1,26 @@
#lang racket/base #lang racket/base
(require "test-0n1.rkt" (require brag/test/test-0n1
"test-0n1n.rkt" brag/test/test-0n1n
"test-01-equal.rkt" brag/test/test-01-equal
"test-baby-json.rkt" brag/test/test-baby-json
"test-baby-json-hider.rkt" brag/test/test-baby-json-hider
"test-curly-quantifier.rkt" brag/test/test-curly-quantifier
"test-cutter.rkt" brag/test/test-cutter
"test-empty-symbol.rkt" brag/test/test-empty-symbol
"test-errors.rkt" brag/test/test-errors
"test-flatten.rkt" brag/test/test-flatten
"test-hide-and-splice.rkt" brag/test/test-hide-and-splice
"test-lexer.rkt" brag/test/test-lexer
"test-nested-repeats.rkt" brag/test/test-nested-repeats
"test-old-token.rkt" brag/test/test-old-token
"test-parser.rkt" brag/test/test-parser
"test-quotation-marks-and-backslashes.rkt" brag/test/test-quotation-marks-and-backslashes
"test-simple-arithmetic-grammar.rkt" brag/test/test-simple-arithmetic-grammar
"test-simple-line-drawing.rkt" brag/test/test-simple-line-drawing
"test-start-and-atok.rkt" brag/test/test-start-and-atok
"test-top-level-cut.rkt" brag/test/test-top-level-cut
"test-weird-grammar.rkt" brag/test/test-weird-grammar
"test-whitespace.rkt" brag/test/test-whitespace
"test-wordy.rkt" brag/test/test-wordy
(submod brag/codegen/satisfaction test)) (submod brag/codegen/satisfaction test))

@ -1,6 +1,6 @@
#lang racket/base #lang racket/base
(require "weird-grammar.rkt" (require brag/test/weird-grammar
rackunit) rackunit)
(check-equal? (syntax->datum (parse '("foo"))) (check-equal? (syntax->datum (parse '("foo")))

Loading…
Cancel
Save