use parser-combinators.regexp instead of regexp
parent
01cafb935b
commit
c6ab49e8ca
|
@ -1,6 +1,6 @@
|
||||||
! Copyright (C) 2007 Slava Pestov.
|
! Copyright (C) 2007 Slava Pestov.
|
||||||
! See http://factorcode.org/license.txt for BSD license.
|
! See http://factorcode.org/license.txt for BSD license.
|
||||||
USING: parser-combinators regexp lists sequences kernel
|
USING: parser-combinators parser-combinators.regexp lists sequences kernel
|
||||||
promises strings unicode.case ;
|
promises strings unicode.case ;
|
||||||
IN: globs
|
IN: globs
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
! Copyright (C) 2006, 2008 Slava Pestov
|
! Copyright (C) 2006, 2008 Slava Pestov
|
||||||
! See http://factorcode.org/license.txt for BSD license.
|
! See http://factorcode.org/license.txt for BSD license.
|
||||||
USING: kernel continuations sequences math namespaces make sets
|
USING: kernel continuations sequences math namespaces make sets
|
||||||
math.parser math.ranges assocs regexp unicode.categories arrays
|
math.parser math.ranges assocs parser-combinators.regexp
|
||||||
hashtables words classes quotations xmode.catalog ;
|
unicode.categories arrays hashtables words classes quotations
|
||||||
|
xmode.catalog ;
|
||||||
IN: validators
|
IN: validators
|
||||||
|
|
||||||
: v-default ( str def -- str )
|
: v-default ( str def -- str )
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
USING: xmode.loader.syntax xmode.tokens xmode.rules
|
USING: xmode.loader.syntax xmode.tokens xmode.rules
|
||||||
xmode.keyword-map xml.data xml.utilities xml assocs kernel
|
xmode.keyword-map xml.data xml.utilities xml assocs kernel
|
||||||
combinators sequences math.parser namespaces parser
|
combinators sequences math.parser namespaces parser
|
||||||
xmode.utilities regexp io.files accessors ;
|
xmode.utilities parser-combinators.regexp io.files accessors ;
|
||||||
IN: xmode.loader
|
IN: xmode.loader
|
||||||
|
|
||||||
! Based on org.gjt.sp.jedit.XModeHandler
|
! Based on org.gjt.sp.jedit.XModeHandler
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
! See http://factorcode.org/license.txt for BSD license.
|
! See http://factorcode.org/license.txt for BSD license.
|
||||||
USING: accessors xmode.tokens xmode.rules xmode.keyword-map
|
USING: accessors xmode.tokens xmode.rules xmode.keyword-map
|
||||||
xml.data xml.utilities xml assocs kernel combinators sequences
|
xml.data xml.utilities xml assocs kernel combinators sequences
|
||||||
math.parser namespaces make parser lexer xmode.utilities regexp
|
math.parser namespaces make parser lexer xmode.utilities
|
||||||
io.files ;
|
parser-combinators.regexp io.files ;
|
||||||
IN: xmode.loader.syntax
|
IN: xmode.loader.syntax
|
||||||
|
|
||||||
SYMBOL: ignore-case?
|
SYMBOL: ignore-case?
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
USING: accessors xmode.tokens xmode.keyword-map kernel
|
USING: accessors xmode.tokens xmode.keyword-map kernel
|
||||||
sequences vectors assocs strings memoize regexp unicode.case ;
|
sequences vectors assocs strings memoize unicode.case
|
||||||
|
parser-combinators.regexp ;
|
||||||
IN: xmode.rules
|
IN: xmode.rules
|
||||||
|
|
||||||
TUPLE: string-matcher string ignore-case? ;
|
TUPLE: string-matcher string ignore-case? ;
|
||||||
|
|
Loading…
Reference in New Issue