Use collection-based module paths

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

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

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

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

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

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

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

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

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

Loading…
Cancel
Save