Fixing load-everything for io.files split

Slava Pestov 2008-12-15 01:13:35 -06:00
parent 59a5e554d4
commit e0f86889c7
50 changed files with 146 additions and 142 deletions

View File

@ -2,7 +2,7 @@
! See http://factorcode.org/license.txt for BSD license. ! See http://factorcode.org/license.txt for BSD license.
USING: accessors arrays classes.singleton combinators USING: accessors arrays classes.singleton combinators
continuations io io.encodings.binary io.encodings.utf8 continuations io io.encodings.binary io.encodings.utf8
io.files io.sockets kernel io.streams.duplex math io.files io.pathnames io.sockets kernel io.streams.duplex math
math.parser sequences splitting namespaces strings fry ftp math.parser sequences splitting namespaces strings fry ftp
ftp.client.listing-parser urls ; ftp.client.listing-parser urls ;
IN: ftp.client IN: ftp.client
@ -104,7 +104,3 @@ ERROR: ftp-error got expected ;
[ nip parent-directory ftp-cwd drop ] [ nip parent-directory ftp-cwd drop ]
[ file-name (ftp-get) ] 2bi [ file-name (ftp-get) ] 2bi
] with-ftp-client ; ] with-ftp-client ;

View File

@ -1,6 +1,6 @@
! 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: accessors combinators io.files kernel math.parser USING: accessors combinators io.files.types kernel math.parser
sequences splitting ; sequences splitting ;
IN: ftp.client.listing-parser IN: ftp.client.listing-parser

View File

@ -2,12 +2,13 @@
! See http://factorcode.org/license.txt for BSD license. ! See http://factorcode.org/license.txt for BSD license.
USING: combinators.short-circuit accessors combinators io USING: combinators.short-circuit accessors combinators io
io.encodings.8-bit io.encodings io.encodings.binary io.encodings.8-bit io.encodings io.encodings.binary
io.encodings.utf8 io.files io.sockets kernel math.parser io.encodings.utf8 io.files io.files.info io.directories
namespaces make sequences ftp io.launcher.unix.parser io.pathnames io.sockets kernel math.parser namespaces make
unicode.case splitting assocs classes io.servers.connection sequences ftp io.launcher.unix.parser unicode.case splitting
destructors calendar io.timeouts io.streams.duplex threads assocs classes io.servers.connection destructors calendar
continuations math concurrency.promises byte-arrays io.timeouts io.streams.duplex threads continuations math
io.backend tools.hexdump tools.files io.streams.string ; concurrency.promises byte-arrays io.backend tools.hexdump
tools.files io.streams.string ;
IN: ftp.server IN: ftp.server
TUPLE: ftp-client url mode state command-promise user password ; TUPLE: ftp-client url mode state command-promise user password ;

View File

@ -168,6 +168,11 @@ ARTICLE: "io" "Input and output"
{ $heading "Streams" } { $heading "Streams" }
{ $subsection "streams" } { $subsection "streams" }
{ $subsection "io.files" } { $subsection "io.files" }
{ $heading "The file system" }
{ $subsection "io.pathnames" }
{ $subsection "io.files.info" }
{ $subsection "io.files.links" }
{ $subsection "io.directories" }
{ $heading "Encodings" } { $heading "Encodings" }
{ $subsection "encodings-introduction" } { $subsection "encodings-introduction" }
{ $subsection "io.encodings" } { $subsection "io.encodings" }

View File

@ -1,7 +1,7 @@
! Copyright (C) 2008 Slava Pestov. ! Copyright (C) 2008 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license. ! See http://factorcode.org/license.txt for BSD license.
USING: io.encodings.utf8 io.encodings.ascii io.encodings.binary USING: io.encodings.utf8 io.encodings.ascii io.encodings.binary
io.files html.streams html.elements help kernel io.files io.files.temp io.directories html.streams html.elements help kernel
assocs sequences make words accessors arrays help.topics vocabs assocs sequences make words accessors arrays help.topics vocabs
tools.vocabs tools.vocabs.browser namespaces prettyprint io tools.vocabs tools.vocabs.browser namespaces prettyprint io
vocabs.loader serialize fry memoize unicode.case math.order vocabs.loader serialize fry memoize unicode.case math.order

View File

@ -2,9 +2,9 @@
! See http://factorcode.org/license.txt for BSD license. ! See http://factorcode.org/license.txt for BSD license.
USING: accessors kernel sequences combinators kernel fry USING: accessors kernel sequences combinators kernel fry
namespaces make classes.tuple assocs splitting words arrays io namespaces make classes.tuple assocs splitting words arrays io
io.files io.encodings.utf8 io.streams.string unicode.case io.files io.files.info io.encodings.utf8 io.streams.string
mirrors math urls present multiline quotations xml logging unicode.case mirrors math urls present multiline quotations xml
continuations logging continuations
xml.data xml.data
html.forms html.forms
html.elements html.elements

View File

@ -1,14 +1,11 @@
! Copyright (C) 2004, 2008 Slava Pestov. ! Copyright (C) 2004, 2008 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license. ! See http://factorcode.org/license.txt for BSD license.
USING: calendar io io.files kernel math math.order USING: calendar kernel math math.order math.parser namespaces
math.parser namespaces parser sequences strings parser sequences strings assocs hashtables debugger mime.types
assocs hashtables debugger mime.types sorting logging sorting logging calendar.format accessors splitting io io.files
calendar.format accessors splitting io.files.info io.directories io.pathnames io.encodings.binary
io.encodings.binary fry xml.entities destructors urls fry xml.entities destructors urls html.elements
html.elements html.templates.fhtml html.templates.fhtml http http.server http.server.responses
http
http.server
http.server.responses
http.server.redirection ; http.server.redirection ;
IN: http.server.static IN: http.server.static

View File

@ -1,9 +1,8 @@
! 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: accessors arrays continuations deques dlists fry USING: accessors arrays continuations deques dlists fry
io.directories io.directories.search.private io.files io.directories io.files io.files.info io.pathnames kernel
io.files.info io.pathnames kernel sequences system sequences system vocabs.loader ;
vocabs.loader ;
IN: io.directories.search IN: io.directories.search
TUPLE: directory-iterator path bfs queue ; TUPLE: directory-iterator path bfs queue ;

View File

@ -1,5 +1,5 @@
USING: help.markup help.syntax io io.ports kernel math USING: help.markup help.syntax io io.ports kernel math
io.files.unique.private math.parser io.files ; io.pathnames io.directories math.parser io.files ;
IN: io.files.unique IN: io.files.unique
HELP: temporary-path HELP: temporary-path

View File

@ -1,7 +1,7 @@
! 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: arrays combinators continuations fry io io.backend USING: arrays combinators continuations fry io io.backend
io.directories io.files io.files.unique.private io.pathnames io.directories io.directories.hierarchy io.files io.pathnames
kernel math math.bitwise math.parser namespaces random kernel math math.bitwise math.parser namespaces random
sequences system vocabs.loader ; sequences system vocabs.loader ;
IN: io.files.unique IN: io.files.unique

View File

@ -2,8 +2,8 @@
! See http://factorcode.org/license.txt for BSD license. ! See http://factorcode.org/license.txt for BSD license.
USING: accessors sequences assocs arrays continuations USING: accessors sequences assocs arrays continuations
destructors combinators kernel threads concurrency.messaging destructors combinators kernel threads concurrency.messaging
concurrency.mailboxes concurrency.promises io.files io.monitors concurrency.mailboxes concurrency.promises io.files io.files.info
debugger fry ; io.directories io.pathnames io.monitors debugger fry ;
IN: io.monitors.recursive IN: io.monitors.recursive
! Simulate recursive monitors on platforms that don't have them ! Simulate recursive monitors on platforms that don't have them

View File

@ -1,7 +1,7 @@
! Copyright (C) 2004, 2008 Slava Pestov. ! Copyright (C) 2004, 2008 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license. ! See http://factorcode.org/license.txt for BSD license.
USING: io.files io.encodings.ascii assocs sequences splitting USING: io.pathnames io.files io.encodings.ascii assocs sequences
kernel namespaces fry memoize ; splitting kernel namespaces fry memoize ;
IN: mime.types IN: mime.types
MEMO: mime-db ( -- seq ) MEMO: mime-db ( -- seq )

View File

@ -1,8 +1,8 @@
! 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: accessors arrays combinators io io.files kernel USING: accessors arrays combinators io io.files io.files.info
math.parser sequences system vocabs.loader calendar math io.directories kernel math.parser sequences system vocabs.loader
symbols fry prettyprint ; calendar math symbols fry prettyprint ;
IN: tools.files IN: tools.files
<PRIVATE <PRIVATE

View File

@ -1,8 +1,8 @@
! 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: accessors combinators kernel system unicode.case USING: accessors combinators kernel system unicode.case io.files
io.files.unix tools.files generalizations strings io.files.info io.files.info.unix tools.files generalizations
arrays sequences io.files math.parser unix.groups unix.users strings arrays sequences math.parser unix.groups unix.users
tools.files.private unix.stat math ; tools.files.private unix.stat math ;
IN: tools.files.unix IN: tools.files.unix

View File

@ -1,10 +1,11 @@
! 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: assocs io.files hashtables kernel namespaces sequences USING: assocs io.files io.pathnames io.directories
vocabs.loader io combinators io.encodings.utf8 calendar accessors io.encodings.utf8 hashtables kernel namespaces sequences
math.parser io.streams.string ui.tools.operations quotations vocabs.loader io combinators calendar accessors math.parser
strings arrays prettyprint words vocabs sorting sets io.streams.string ui.tools.operations quotations strings arrays
classes math alien urls splitting ascii ; prettyprint words vocabs sorting sets classes math alien urls
splitting ascii ;
IN: tools.scaffold IN: tools.scaffold
SYMBOL: developer-name SYMBOL: developer-name

View File

@ -1,8 +1,8 @@
! Copyright (C) 2007, 2008 Slava Pestov. ! Copyright (C) 2007, 2008 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license. ! See http://factorcode.org/license.txt for BSD license.
USING: io io.files io.encodings.utf8 namespaces http.server USING: io io.files io.pathnames io.encodings.utf8 namespaces
http.server.responses http.server.static http xmode.code2html http.server http.server.responses http.server.static http
kernel sequences accessors fry ; xmode.code2html kernel sequences accessors fry ;
IN: xmode.code2html.responder IN: xmode.code2html.responder
: <sources> ( root -- responder ) : <sources> ( root -- responder )

View File

@ -65,7 +65,7 @@ HELP: home
{ $values { "dir" string } } { $values { "dir" string } }
{ $description "Outputs the user's home directory." } ; { $description "Outputs the user's home directory." } ;
ARTICLE: "pathnames" "Pathname manipulation" ARTICLE: "io.pathnames" "Pathname manipulation"
"Pathname manipulation:" "Pathname manipulation:"
{ $subsection parent-directory } { $subsection parent-directory }
{ $subsection file-name } { $subsection file-name }

View File

@ -1,8 +1,9 @@
! Copyright (C) 2005, 2008 Slava Pestov. ! Copyright (C) 2005, 2008 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license. ! See http://factorcode.org/license.txt for BSD license.
USING: io kernel math math.functions sequences prettyprint USING: io kernel math math.functions sequences prettyprint
io.files io.encodings io.encodings.ascii io.encodings.binary fry io.files io.files.temp io.encodings io.encodings.ascii
benchmark.mandel.params benchmark.mandel.colors ; io.encodings.binary fry benchmark.mandel.params
benchmark.mandel.colors ;
IN: benchmark.mandel IN: benchmark.mandel
: x-inc width 200000 zoom-fact * / ; inline : x-inc width 200000 zoom-fact * / ; inline

View File

@ -1,4 +1,5 @@
USING: io.files io.encodings.ascii random math.parser io math ; USING: io io.files io.files.temp io.encodings.ascii random
math.parser math ;
IN: benchmark.random IN: benchmark.random
: random-numbers-path ( -- path ) : random-numbers-path ( -- path )

View File

@ -2,8 +2,9 @@
! http://www.ffconsultancy.com/free/ray_tracer/languages.html ! http://www.ffconsultancy.com/free/ray_tracer/languages.html
USING: arrays accessors specialized-arrays.double io io.files USING: arrays accessors specialized-arrays.double io io.files
io.encodings.binary kernel math math.functions math.vectors io.files.temp io.encodings.binary kernel math math.functions
math.parser make sequences sequences.private words hints ; math.vectors math.parser make sequences sequences.private words
hints ;
IN: benchmark.raytracer IN: benchmark.raytracer
! parameters ! parameters

View File

@ -1,6 +1,8 @@
USING: io io.files io.streams.duplex kernel sequences ! Copyright (C) 2006, 2008 Slava Pestov.
sequences.private strings vectors words memoize splitting ! See http://factorcode.org/license.txt for BSD license.
grouping hints tr continuations io.encodings.ascii USING: io io.files io.files.temp io.streams.duplex kernel
sequences sequences.private strings vectors words memoize
splitting grouping hints tr continuations io.encodings.ascii
unicode.case ; unicode.case ;
IN: benchmark.reverse-complement IN: benchmark.reverse-complement

View File

@ -1,6 +1,7 @@
! Copyright (C) 2008 Slava Pestov. ! Copyright (C) 2008 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license. ! See http://factorcode.org/license.txt for BSD license.
USING: io.encodings.utf8 io.files kernel sequences xml ; USING: io.encodings.utf8 io.directories io.files kernel
sequences xml ;
IN: benchmark.xml IN: benchmark.xml
: xml-benchmark ( -- ) : xml-benchmark ( -- )

View File

@ -1,6 +1,6 @@
USING: accessors alien.c-types arrays combinators destructors USING: accessors alien.c-types arrays combinators destructors
http.client io io.encodings.ascii io.files kernel math http.client io io.encodings.ascii io.files io.files.temp kernel
math.matrices math.parser math.vectors opengl math math.matrices math.parser math.vectors opengl
opengl.capabilities opengl.gl opengl.demo-support sequences opengl.capabilities opengl.gl opengl.demo-support sequences
splitting vectors words specialized-arrays.float splitting vectors words specialized-arrays.float
specialized-arrays.uint ; specialized-arrays.uint ;

View File

@ -1,8 +1,8 @@
! Copyright (C) 2007, 2008 Slava Pestov. ! Copyright (C) 2007, 2008 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license. ! See http://factorcode.org/license.txt for BSD license.
USING: io.files io.launcher io.styles io.encodings.ascii USING: io.files io.launcher io.directories io.pathnames
prettyprint io hashtables kernel sequences assocs system sorting io.encodings.ascii io prettyprint hashtables kernel sequences
math.parser sets ; assocs system sorting math.parser sets ;
IN: contributors IN: contributors
: changelog ( -- authors ) : changelog ( -- authors )

View File

@ -2,11 +2,11 @@
! See http://factorcode.org/license.txt for BSD license. ! See http://factorcode.org/license.txt for BSD license.
USING: accessors arrays classes classes.tuple compiler.units USING: accessors arrays classes classes.tuple compiler.units
combinators continuations debugger definitions eval help combinators continuations debugger definitions eval help io
io io.files io.streams.string kernel lexer listener listener.private io.files io.pathnames io.streams.string kernel lexer listener
make math namespaces parser prettyprint prettyprint.config listener.private make math namespaces parser prettyprint
quotations sequences strings source-files tools.vocabs prettyprint.config quotations sequences strings source-files
vectors vocabs vocabs.loader ; tools.vocabs vectors vocabs vocabs.loader ;
IN: fuel IN: fuel

View File

@ -1,9 +1,10 @@
! Copyright (C) 2008 Slava Pestov. ! Copyright (C) 2008 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license. ! See http://factorcode.org/license.txt for BSD license.
USING: kernel sequences io.files io.launcher io.encodings.ascii USING: kernel sequences io.files io.files.temp io.launcher
io.streams.string http.client generalizations combinators io.pathnames io.encodings.ascii io.streams.string http.client
math.parser math.vectors math.intervals interval-maps memoize generalizations combinators math.parser math.vectors
csv accessors assocs strings math splitting grouping arrays ; math.intervals interval-maps memoize csv accessors assocs
strings math splitting grouping arrays ;
IN: geo-ip IN: geo-ip
: db-path ( -- path ) "IpToCountry.csv" temp-file ; : db-path ( -- path ) "IpToCountry.csv" temp-file ;

View File

@ -1,7 +1,7 @@
! Copyright (C) 2008 William Schlieper ! Copyright (C) 2008 William Schlieper
! See http://factorcode.org/license.txt for BSD license. ! See http://factorcode.org/license.txt for BSD license.
USING: kernel io.files parser editors sequences ; USING: kernel io.files io.pathnames parser editors sequences ;
IN: irc.ui.load IN: irc.ui.load

View File

@ -1,4 +1,4 @@
USING: kernel io io.files io.monitors io.encodings.utf8 ; USING: kernel io io.files io.pathnames io.monitors io.encodings.utf8 ;
IN: log-viewer IN: log-viewer
: read-lines ( stream -- ) : read-lines ( stream -- )

View File

@ -1,9 +1,9 @@
! Copyright (C) 2008 Eduardo Cavazos, Slava Pestov. ! Copyright (C) 2008 Eduardo Cavazos, Slava Pestov.
! See http://factorcode.org/license.txt for BSD license. ! See http://factorcode.org/license.txt for BSD license.
USING: io.files io.launcher io.encodings.utf8 prettyprint arrays USING: arrays calendar io.directories io.encodings.utf8
calendar namespaces mason.common mason.child io.files io.launcher mason.child mason.cleanup mason.common
mason.release mason.report mason.email mason.cleanup mason.email mason.help mason.release mason.report namespaces
mason.help ; prettyprint ;
IN: mason.build IN: mason.build
: create-build-dir ( -- ) : create-build-dir ( -- )

View File

@ -1,9 +1,9 @@
! Copyright (C) 2008 Eduardo Cavazos, Slava Pestov. ! Copyright (C) 2008 Eduardo Cavazos, Slava Pestov.
! See http://factorcode.org/license.txt for BSD license. ! See http://factorcode.org/license.txt for BSD license.
USING: kernel namespaces make debugger sequences io.files USING: accessors arrays calendar combinators.short-circuit
io.launcher arrays accessors calendar continuations continuations debugger http.client io.directories io.files
combinators.short-circuit mason.common mason.report io.launcher io.pathnames kernel make mason.common mason.config
mason.platform mason.config http.client ; mason.platform mason.report namespaces sequences ;
IN: mason.child IN: mason.child
: make-cmd ( -- args ) : make-cmd ( -- args )

View File

@ -1,7 +1,8 @@
! Copyright (C) 2008 Eduardo Cavazos, Slava Pestov. ! Copyright (C) 2008 Eduardo Cavazos, Slava Pestov.
! See http://factorcode.org/license.txt for BSD license. ! See http://factorcode.org/license.txt for BSD license.
USING: kernel namespaces arrays continuations io.files io.launcher USING: arrays continuations io.directories
mason.common mason.platform mason.config ; io.directories.hierarchy io.files io.launcher kernel
mason.common mason.config mason.platform namespaces ;
IN: mason.cleanup IN: mason.cleanup
: compress-image ( -- ) : compress-image ( -- )

View File

@ -1,9 +1,10 @@
! Copyright (C) 2008 Eduardo Cavazos, Slava Pestov. ! Copyright (C) 2008 Eduardo Cavazos, Slava Pestov.
! See http://factorcode.org/license.txt for BSD license. ! See http://factorcode.org/license.txt for BSD license.
USING: kernel namespaces sequences splitting system accessors USING: kernel namespaces sequences splitting system accessors
math.functions make io io.files io.launcher io.encodings.utf8 math.functions make io io.files io.pathnames io.directories
prettyprint combinators.short-circuit parser combinators io.launcher io.encodings.utf8 prettyprint
calendar calendar.format arrays mason.config locals ; combinators.short-circuit parser combinators calendar
calendar.format arrays mason.config locals ;
IN: mason.common IN: mason.common
: short-running-process ( command -- ) : short-running-process ( command -- )

View File

@ -1,6 +1,7 @@
! Copyright (C) 2008 Eduardo Cavazos, Slava Pestov. ! Copyright (C) 2008 Eduardo Cavazos, Slava Pestov.
! See http://factorcode.org/license.txt for BSD license. ! See http://factorcode.org/license.txt for BSD license.
USING: system io.files namespaces kernel accessors assocs ; USING: system io.files io.pathnames namespaces kernel accessors
assocs ;
IN: mason.config IN: mason.config
! (Optional) Location for build directories ! (Optional) Location for build directories

View File

@ -1,7 +1,7 @@
! Copyright (C) 2008 Slava Pestov. ! Copyright (C) 2008 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license. ! See http://factorcode.org/license.txt for BSD license.
USING: help.html sequences io.files io.launcher make namespaces USING: arrays help.html io.directories io.files io.launcher
kernel arrays mason.common mason.config ; kernel make mason.common mason.config namespaces sequences ;
IN: mason.help IN: mason.help
: make-help-archive ( -- ) : make-help-archive ( -- )

View File

@ -1,8 +1,8 @@
! Copyright (C) 2008 Eduardo Cavazos, Slava Pestov. ! Copyright (C) 2008 Eduardo Cavazos, Slava Pestov.
! See http://factorcode.org/license.txt for BSD license. ! See http://factorcode.org/license.txt for BSD license.
USING: kernel debugger io io.files threads debugger continuations USING: accessors calendar continuations debugger debugger io
namespaces accessors calendar mason.common mason.updates io.directories io.files kernel mason.build mason.common
mason.build mason.email ; mason.email mason.updates namespaces threads ;
IN: mason IN: mason
: build-loop-error ( error -- ) : build-loop-error ( error -- )

View File

@ -1,8 +1,9 @@
! Copyright (C) 2008 Eduardo Cavazos, Slava Pestov. ! Copyright (C) 2008 Eduardo Cavazos, Slava Pestov.
! See http://factorcode.org/license.txt for BSD license. ! See http://factorcode.org/license.txt for BSD license.
USING: kernel combinators sequences make namespaces io.files USING: arrays combinators io.directories
io.launcher prettyprint arrays io.directories.hierarchy io.files io.launcher io.pathnames
mason.common mason.platform mason.config ; kernel make mason.common mason.config mason.platform namespaces
prettyprint sequences ;
IN: mason.release.archive IN: mason.release.archive
: base-name ( -- string ) : base-name ( -- string )

View File

@ -1,7 +1,8 @@
! Copyright (C) 2008 Eduardo Cavazos, Slava Pestov. ! Copyright (C) 2008 Eduardo Cavazos, Slava Pestov.
! See http://factorcode.org/license.txt for BSD license. ! See http://factorcode.org/license.txt for BSD license.
USING: kernel namespaces sequences prettyprint io.files USING: io.directories io.files io.launcher kernel make
io.launcher make mason.common mason.platform mason.config ; mason.common mason.config mason.platform namespaces prettyprint
sequences ;
IN: mason.release.branch IN: mason.release.branch
: branch-name ( -- string ) "clean-" platform append ; : branch-name ( -- string ) "clean-" platform append ;

View File

@ -1,8 +1,8 @@
! Copyright (C) 2008 Eduardo Cavazos, Slava Pestov. ! Copyright (C) 2008 Eduardo Cavazos, Slava Pestov.
! See http://factorcode.org/license.txt for BSD license. ! See http://factorcode.org/license.txt for BSD license.
USING: kernel namespaces continuations debugger sequences fry USING: bootstrap.image continuations debugger fry
io.files io.launcher bootstrap.image qualified mason.common io.directories io.directories.hierarchy io.files io.launcher
mason.config ; kernel mason.common namespaces qualified sequences ;
FROM: mason.config => target-os ; FROM: mason.config => target-os ;
IN: mason.release.tidy IN: mason.release.tidy

View File

@ -1,9 +1,10 @@
! Copyright (C) 2008 Eduardo Cavazos, Slava Pestov. ! Copyright (C) 2008 Eduardo Cavazos, Slava Pestov.
! See http://factorcode.org/license.txt for BSD license. ! See http://factorcode.org/license.txt for BSD license.
USING: kernel namespaces assocs io.files io.encodings.utf8 USING: accessors assocs benchmark bootstrap.stage2
prettyprint help.lint benchmark tools.time bootstrap.stage2 compiler.errors generic help.html help.lint io.directories
tools.test tools.vocabs help.html mason.common words generic io.encodings.utf8 io.files kernel mason.common math namespaces
accessors compiler.errors sequences sets sorting math ; prettyprint sequences sets sorting tools.test tools.time
tools.vocabs words ;
IN: mason.test IN: mason.test
: do-load ( -- ) : do-load ( -- )

View File

@ -1,6 +1,6 @@
! Copyright (c) 2007, 2008 Aaron Schaefer, Samuel Tardieu. ! Copyright (c) 2007, 2008 Aaron Schaefer, Samuel Tardieu.
! See http://factorcode.org/license.txt for BSD license. ! See http://factorcode.org/license.txt for BSD license.
USING: definitions io io.files kernel math math.parser USING: definitions io io.files io.pathnames kernel math math.parser
prettyprint project-euler.ave-time sequences vocabs vocabs.loader prettyprint project-euler.ave-time sequences vocabs vocabs.loader
project-euler.001 project-euler.002 project-euler.003 project-euler.004 project-euler.001 project-euler.002 project-euler.003 project-euler.004
project-euler.005 project-euler.006 project-euler.007 project-euler.008 project-euler.005 project-euler.006 project-euler.007 project-euler.008

View File

@ -1,10 +1,8 @@
USING: kernel parser words continuations namespaces debugger USING: kernel parser words continuations namespaces debugger
sequences combinators splitting prettyprint sequences combinators splitting prettyprint system io io.files
system io io.files io.launcher io.encodings.utf8 io.pipes sequences.deep io.pathnames io.launcher io.directories io.encodings.utf8 io.pipes
accessors multi-methods newfx shell.parser sequences.deep accessors multi-methods newfx shell.parser
combinators.short-circuit eval environment ; combinators.short-circuit eval environment ;
IN: shell IN: shell
! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

View File

@ -2,7 +2,7 @@
! See http://factorcode.org/license.txt for BSD license. ! See http://factorcode.org/license.txt for BSD license.
USING: alien alien.c-types alien.strings alien.syntax USING: alien alien.c-types alien.strings alien.syntax
byte-arrays kernel namespaces sequences unix byte-arrays kernel namespaces sequences unix
system-info.backend system io.unix.backend io.encodings.utf8 ; system-info.backend system io.encodings.utf8 ;
IN: system-info.macosx IN: system-info.macosx
! See /usr/include/sys/sysctl.h for constants ! See /usr/include/sys/sysctl.h for constants

View File

@ -1,6 +1,7 @@
USING: combinators io io.files io.streams.string kernel math USING: combinators io io.files io.files.links io.directories
math.parser continuations namespaces pack prettyprint sequences io.pathnames io.streams.string kernel math math.parser
strings system tools.hexdump io.encodings.binary summary accessors continuations namespaces pack prettyprint sequences strings
system tools.hexdump io.encodings.binary summary accessors
io.backend symbols byte-arrays ; io.backend symbols byte-arrays ;
IN: tar IN: tar

View File

@ -1,6 +1,5 @@
USING: namespaces debugger io.files io.directories
USING: namespaces debugger io.files bootstrap.image update.util ; bootstrap.image update.util ;
IN: update.backup IN: update.backup
: backup-boot-image ( -- ) : backup-boot-image ( -- )

View File

@ -1,7 +1,5 @@
USING: kernel namespaces system io.files io.pathnames io.directories
USING: kernel namespaces system io.files bootstrap.image http.client bootstrap.image http.client update update.backup update.util ;
update update.backup update.util ;
IN: update.latest IN: update.latest
! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

View File

@ -1,10 +1,5 @@
USING: kernel system sequences io.files io.directories
USING: kernel system sequences io.files io.launcher bootstrap.image io.pathnames io.launcher bootstrap.image http.client update.util ;
http.client
update.util ;
! builder.util builder.release.branch ;
IN: update IN: update
! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

View File

@ -80,19 +80,19 @@ IN: vpri-talk
{ $slide "Object system" { $slide "Object system"
"New operation, existing types:" "New operation, existing types:"
{ $code { $code
"GENERIC: perimiter ( shape -- n )" "GENERIC: perimeter ( shape -- n )"
"" ""
"M: rectangle perimiter" "M: rectangle perimeter"
" [ width>> ] [ height>> ] bi + 2 * ;" " [ width>> ] [ height>> ] bi + 2 * ;"
"" ""
"M: circle perimiter" "M: circle perimeter"
" radius>> 2 * pi * ;" " radius>> 2 * pi * ;"
} }
} }
{ $slide "Object system" { $slide "Object system"
"We can compute perimiters now." "We can compute perimiters now."
{ $code "100 20 <rectangle> perimiter ." } { $code "100 20 <rectangle> perimeter ." }
{ $code "3 <circle> perimiter ." } { $code "3 <circle> perimeter ." }
} }
{ $slide "Object system" { $slide "Object system"
"New type, extending existing operations:" "New type, extending existing operations:"
@ -110,7 +110,7 @@ IN: vpri-talk
{ $code { $code
": hypotenuse ( x y -- z ) [ sq ] bi@ + sqrt ;" ": hypotenuse ( x y -- z ) [ sq ] bi@ + sqrt ;"
"" ""
"M: triangle perimiter" "M: triangle perimeter"
" [ base>> ] [ height>> ] bi" " [ base>> ] [ height>> ] bi"
" [ + ] [ hypotenuse ] 2bi + ;" " [ + ] [ hypotenuse ] 2bi + ;"
} }
@ -151,10 +151,10 @@ IN: vpri-talk
"Libraries can define new parsing words" "Libraries can define new parsing words"
} }
{ $slide "Example: float arrays" { $slide "Example: float arrays"
{ $vocab-link "float-arrays" } { $vocab-link "specialized-arrays.float" }
"Avoids boxing and unboxing overhead" "Avoids boxing and unboxing overhead"
"Implemented with library code" "Implemented with library code"
{ $code "F{ 3.14 7.6 10.3 }" } { $code "float-array{ 3.14 7.6 10.3 }" }
} }
{ $slide "Example: memoization" { $slide "Example: memoization"
{ "Memoization with " { $link POSTPONE: MEMO: } } { "Memoization with " { $link POSTPONE: MEMO: } }

View File

@ -2,7 +2,8 @@
! See http://factorcode.org/license.txt for BSD license. ! See http://factorcode.org/license.txt for BSD license.
USING: kernel accessors http.server.dispatchers USING: kernel accessors http.server.dispatchers
http.server.static furnace.actions furnace.redirection urls http.server.static furnace.actions furnace.redirection urls
validators locals io.files html.forms html.components help.html ; validators locals io.files io.directories html.forms
html.components help.html ;
IN: webapps.help IN: webapps.help
TUPLE: help-webapp < dispatcher ; TUPLE: help-webapp < dispatcher ;

View File

@ -2,7 +2,7 @@
! See http://factorcode.org/license.txt for BSD license. ! See http://factorcode.org/license.txt for BSD license.
USING: accessors kernel hashtables calendar random assocs USING: accessors kernel hashtables calendar random assocs
namespaces make splitting sequences sorting math.order present namespaces make splitting sequences sorting math.order present
io.files io.encodings.ascii io.files io.directories io.encodings.ascii
syndication farkup syndication farkup
html.components html.forms html.components html.forms
http.server http.server

View File

@ -1,7 +1,7 @@
! Copyright (c) 2008 Slava Pestov ! Copyright (c) 2008 Slava Pestov
! See http://factorcode.org/license.txt for BSD license. ! See http://factorcode.org/license.txt for BSD license.
USING: accessors kernel sequences assocs io.files io.sockets USING: accessors kernel sequences assocs io.files io.pathnames
io.sockets.secure io.servers.connection io.sockets io.sockets.secure io.servers.connection
namespaces db db.tuples db.sqlite smtp urls namespaces db db.tuples db.sqlite smtp urls
logging.insomniac logging.insomniac
html.templates.chloe html.templates.chloe