USA cities database added
parent
4c6a05de50
commit
191ac9efb8
|
@ -1,9 +1,14 @@
|
||||||
! Copyright (C) 2008 Doug Coleman.
|
! Copyright (C) 2008 Doug Coleman.
|
||||||
! See http://factorcode.org/license.txt for BSD license.
|
! See http://factorcode.org/license.txt for BSD license.
|
||||||
USING: parser sequences words kernel ;
|
USING: parser sequences words kernel classes.singleton ;
|
||||||
IN: symbols
|
IN: symbols
|
||||||
|
|
||||||
: SYMBOLS:
|
: SYMBOLS:
|
||||||
";" parse-tokens
|
";" parse-tokens
|
||||||
[ create-in dup reset-generic define-symbol ] each ;
|
[ create-in dup reset-generic define-symbol ] each ;
|
||||||
parsing
|
parsing
|
||||||
|
|
||||||
|
: SINGLETONS:
|
||||||
|
";" parse-tokens
|
||||||
|
[ create-class-in dup save-location define-singleton-class ] each ;
|
||||||
|
parsing
|
||||||
|
|
|
@ -1,7 +1,9 @@
|
||||||
|
! Copyright (C) 2008 Slava Pestov.
|
||||||
|
! See http://factorcode.org/license.txt for BSD license.
|
||||||
USING: io.files io.encodings.ascii sequences sequences.lib
|
USING: io.files io.encodings.ascii sequences sequences.lib
|
||||||
math.parser combinators kernel memoize csv symbols inspector
|
math.parser combinators kernel memoize csv symbols inspector
|
||||||
words accessors math.order sorting ;
|
words accessors math.order sorting ;
|
||||||
IN: zip-codes
|
IN: usa-cities
|
||||||
|
|
||||||
SINGLETONS: AK AL AR AS AZ CA CO CT DC DE FL GA HI IA ID IL IN
|
SINGLETONS: AK AL AR AS AZ CA CO CT DC DE FL GA HI IA ID IL IN
|
||||||
KS KY LA MA MD ME MI MN MO MS MT NC ND NE NH NJ NM NV NY OH OK
|
KS KY LA MA MD ME MI MN MO MS MT NC ND NE NH NJ NM NV NY OH OK
|
||||||
|
|
Loading…
Reference in New Issue