Fixing load-everything for io.files split
parent
59a5e554d4
commit
e0f86889c7
|
@ -2,7 +2,7 @@
|
|||
! See http://factorcode.org/license.txt for BSD license.
|
||||
USING: accessors arrays classes.singleton combinators
|
||||
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
|
||||
ftp.client.listing-parser urls ;
|
||||
IN: ftp.client
|
||||
|
@ -104,7 +104,3 @@ ERROR: ftp-error got expected ;
|
|||
[ nip parent-directory ftp-cwd drop ]
|
||||
[ file-name (ftp-get) ] 2bi
|
||||
] with-ftp-client ;
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
! Copyright (C) 2008 Doug Coleman.
|
||||
! 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 ;
|
||||
IN: ftp.client.listing-parser
|
||||
|
||||
|
|
|
@ -2,12 +2,13 @@
|
|||
! See http://factorcode.org/license.txt for BSD license.
|
||||
USING: combinators.short-circuit accessors combinators io
|
||||
io.encodings.8-bit io.encodings io.encodings.binary
|
||||
io.encodings.utf8 io.files io.sockets kernel math.parser
|
||||
namespaces make sequences ftp io.launcher.unix.parser
|
||||
unicode.case splitting assocs classes io.servers.connection
|
||||
destructors calendar io.timeouts io.streams.duplex threads
|
||||
continuations math concurrency.promises byte-arrays
|
||||
io.backend tools.hexdump tools.files io.streams.string ;
|
||||
io.encodings.utf8 io.files io.files.info io.directories
|
||||
io.pathnames io.sockets kernel math.parser namespaces make
|
||||
sequences ftp io.launcher.unix.parser unicode.case splitting
|
||||
assocs classes io.servers.connection destructors calendar
|
||||
io.timeouts io.streams.duplex threads continuations math
|
||||
concurrency.promises byte-arrays io.backend tools.hexdump
|
||||
tools.files io.streams.string ;
|
||||
IN: ftp.server
|
||||
|
||||
TUPLE: ftp-client url mode state command-promise user password ;
|
||||
|
|
|
@ -168,6 +168,11 @@ ARTICLE: "io" "Input and output"
|
|||
{ $heading "Streams" }
|
||||
{ $subsection "streams" }
|
||||
{ $subsection "io.files" }
|
||||
{ $heading "The file system" }
|
||||
{ $subsection "io.pathnames" }
|
||||
{ $subsection "io.files.info" }
|
||||
{ $subsection "io.files.links" }
|
||||
{ $subsection "io.directories" }
|
||||
{ $heading "Encodings" }
|
||||
{ $subsection "encodings-introduction" }
|
||||
{ $subsection "io.encodings" }
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
! Copyright (C) 2008 Slava Pestov.
|
||||
! See http://factorcode.org/license.txt for BSD license.
|
||||
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
|
||||
tools.vocabs tools.vocabs.browser namespaces prettyprint io
|
||||
vocabs.loader serialize fry memoize unicode.case math.order
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
! See http://factorcode.org/license.txt for BSD license.
|
||||
USING: accessors kernel sequences combinators kernel fry
|
||||
namespaces make classes.tuple assocs splitting words arrays io
|
||||
io.files io.encodings.utf8 io.streams.string unicode.case
|
||||
mirrors math urls present multiline quotations xml logging
|
||||
continuations
|
||||
io.files io.files.info io.encodings.utf8 io.streams.string
|
||||
unicode.case mirrors math urls present multiline quotations xml
|
||||
logging continuations
|
||||
xml.data
|
||||
html.forms
|
||||
html.elements
|
||||
|
|
|
@ -1,14 +1,11 @@
|
|||
! Copyright (C) 2004, 2008 Slava Pestov.
|
||||
! See http://factorcode.org/license.txt for BSD license.
|
||||
USING: calendar io io.files kernel math math.order
|
||||
math.parser namespaces parser sequences strings
|
||||
assocs hashtables debugger mime.types sorting logging
|
||||
calendar.format accessors splitting
|
||||
io.encodings.binary fry xml.entities destructors urls
|
||||
html.elements html.templates.fhtml
|
||||
http
|
||||
http.server
|
||||
http.server.responses
|
||||
USING: calendar kernel math math.order math.parser namespaces
|
||||
parser sequences strings assocs hashtables debugger mime.types
|
||||
sorting logging calendar.format accessors splitting io io.files
|
||||
io.files.info io.directories io.pathnames io.encodings.binary
|
||||
fry xml.entities destructors urls html.elements
|
||||
html.templates.fhtml http http.server http.server.responses
|
||||
http.server.redirection ;
|
||||
IN: http.server.static
|
||||
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
! Copyright (C) 2008 Doug Coleman.
|
||||
! See http://factorcode.org/license.txt for BSD license.
|
||||
USING: accessors arrays continuations deques dlists fry
|
||||
io.directories io.directories.search.private io.files
|
||||
io.files.info io.pathnames kernel sequences system
|
||||
vocabs.loader ;
|
||||
io.directories io.files io.files.info io.pathnames kernel
|
||||
sequences system vocabs.loader ;
|
||||
IN: io.directories.search
|
||||
|
||||
TUPLE: directory-iterator path bfs queue ;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
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
|
||||
|
||||
HELP: temporary-path
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
! Copyright (C) 2008 Doug Coleman.
|
||||
! See http://factorcode.org/license.txt for BSD license.
|
||||
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
|
||||
sequences system vocabs.loader ;
|
||||
IN: io.files.unique
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
! See http://factorcode.org/license.txt for BSD license.
|
||||
USING: accessors sequences assocs arrays continuations
|
||||
destructors combinators kernel threads concurrency.messaging
|
||||
concurrency.mailboxes concurrency.promises io.files io.monitors
|
||||
debugger fry ;
|
||||
concurrency.mailboxes concurrency.promises io.files io.files.info
|
||||
io.directories io.pathnames io.monitors debugger fry ;
|
||||
IN: io.monitors.recursive
|
||||
|
||||
! Simulate recursive monitors on platforms that don't have them
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
! Copyright (C) 2004, 2008 Slava Pestov.
|
||||
! See http://factorcode.org/license.txt for BSD license.
|
||||
USING: io.files io.encodings.ascii assocs sequences splitting
|
||||
kernel namespaces fry memoize ;
|
||||
USING: io.pathnames io.files io.encodings.ascii assocs sequences
|
||||
splitting kernel namespaces fry memoize ;
|
||||
IN: mime.types
|
||||
|
||||
MEMO: mime-db ( -- seq )
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
! Copyright (C) 2008 Doug Coleman.
|
||||
! See http://factorcode.org/license.txt for BSD license.
|
||||
USING: accessors arrays combinators io io.files kernel
|
||||
math.parser sequences system vocabs.loader calendar math
|
||||
symbols fry prettyprint ;
|
||||
USING: accessors arrays combinators io io.files io.files.info
|
||||
io.directories kernel math.parser sequences system vocabs.loader
|
||||
calendar math symbols fry prettyprint ;
|
||||
IN: tools.files
|
||||
|
||||
<PRIVATE
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
! Copyright (C) 2008 Doug Coleman.
|
||||
! See http://factorcode.org/license.txt for BSD license.
|
||||
USING: accessors combinators kernel system unicode.case
|
||||
io.files.unix tools.files generalizations strings
|
||||
arrays sequences io.files math.parser unix.groups unix.users
|
||||
USING: accessors combinators kernel system unicode.case io.files
|
||||
io.files.info io.files.info.unix tools.files generalizations
|
||||
strings arrays sequences math.parser unix.groups unix.users
|
||||
tools.files.private unix.stat math ;
|
||||
IN: tools.files.unix
|
||||
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
! Copyright (C) 2008 Doug Coleman.
|
||||
! See http://factorcode.org/license.txt for BSD license.
|
||||
USING: assocs io.files hashtables kernel namespaces sequences
|
||||
vocabs.loader io combinators io.encodings.utf8 calendar accessors
|
||||
math.parser io.streams.string ui.tools.operations quotations
|
||||
strings arrays prettyprint words vocabs sorting sets
|
||||
classes math alien urls splitting ascii ;
|
||||
USING: assocs io.files io.pathnames io.directories
|
||||
io.encodings.utf8 hashtables kernel namespaces sequences
|
||||
vocabs.loader io combinators calendar accessors math.parser
|
||||
io.streams.string ui.tools.operations quotations strings arrays
|
||||
prettyprint words vocabs sorting sets classes math alien urls
|
||||
splitting ascii ;
|
||||
IN: tools.scaffold
|
||||
|
||||
SYMBOL: developer-name
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
! Copyright (C) 2007, 2008 Slava Pestov.
|
||||
! See http://factorcode.org/license.txt for BSD license.
|
||||
USING: io io.files io.encodings.utf8 namespaces http.server
|
||||
http.server.responses http.server.static http xmode.code2html
|
||||
kernel sequences accessors fry ;
|
||||
USING: io io.files io.pathnames io.encodings.utf8 namespaces
|
||||
http.server http.server.responses http.server.static http
|
||||
xmode.code2html kernel sequences accessors fry ;
|
||||
IN: xmode.code2html.responder
|
||||
|
||||
: <sources> ( root -- responder )
|
||||
|
|
|
@ -65,7 +65,7 @@ HELP: home
|
|||
{ $values { "dir" string } }
|
||||
{ $description "Outputs the user's home directory." } ;
|
||||
|
||||
ARTICLE: "pathnames" "Pathname manipulation"
|
||||
ARTICLE: "io.pathnames" "Pathname manipulation"
|
||||
"Pathname manipulation:"
|
||||
{ $subsection parent-directory }
|
||||
{ $subsection file-name }
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
! Copyright (C) 2005, 2008 Slava Pestov.
|
||||
! See http://factorcode.org/license.txt for BSD license.
|
||||
USING: io kernel math math.functions sequences prettyprint
|
||||
io.files io.encodings io.encodings.ascii io.encodings.binary fry
|
||||
benchmark.mandel.params benchmark.mandel.colors ;
|
||||
io.files io.files.temp io.encodings io.encodings.ascii
|
||||
io.encodings.binary fry benchmark.mandel.params
|
||||
benchmark.mandel.colors ;
|
||||
IN: benchmark.mandel
|
||||
|
||||
: x-inc width 200000 zoom-fact * / ; inline
|
||||
|
|
|
@ -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
|
||||
|
||||
: random-numbers-path ( -- path )
|
||||
|
|
|
@ -2,8 +2,9 @@
|
|||
! http://www.ffconsultancy.com/free/ray_tracer/languages.html
|
||||
|
||||
USING: arrays accessors specialized-arrays.double io io.files
|
||||
io.encodings.binary kernel math math.functions math.vectors
|
||||
math.parser make sequences sequences.private words hints ;
|
||||
io.files.temp io.encodings.binary kernel math math.functions
|
||||
math.vectors math.parser make sequences sequences.private words
|
||||
hints ;
|
||||
IN: benchmark.raytracer
|
||||
|
||||
! parameters
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
USING: io io.files io.streams.duplex kernel sequences
|
||||
sequences.private strings vectors words memoize splitting
|
||||
grouping hints tr continuations io.encodings.ascii
|
||||
! Copyright (C) 2006, 2008 Slava Pestov.
|
||||
! See http://factorcode.org/license.txt for BSD license.
|
||||
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 ;
|
||||
IN: benchmark.reverse-complement
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
! Copyright (C) 2008 Slava Pestov.
|
||||
! 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
|
||||
|
||||
: xml-benchmark ( -- )
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
USING: accessors alien.c-types arrays combinators destructors
|
||||
http.client io io.encodings.ascii io.files kernel math
|
||||
math.matrices math.parser math.vectors opengl
|
||||
http.client io io.encodings.ascii io.files io.files.temp kernel
|
||||
math math.matrices math.parser math.vectors opengl
|
||||
opengl.capabilities opengl.gl opengl.demo-support sequences
|
||||
splitting vectors words specialized-arrays.float
|
||||
specialized-arrays.uint ;
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
! Copyright (C) 2007, 2008 Slava Pestov.
|
||||
! See http://factorcode.org/license.txt for BSD license.
|
||||
USING: io.files io.launcher io.styles io.encodings.ascii
|
||||
prettyprint io hashtables kernel sequences assocs system sorting
|
||||
math.parser sets ;
|
||||
USING: io.files io.launcher io.directories io.pathnames
|
||||
io.encodings.ascii io prettyprint hashtables kernel sequences
|
||||
assocs system sorting math.parser sets ;
|
||||
IN: contributors
|
||||
|
||||
: changelog ( -- authors )
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
! See http://factorcode.org/license.txt for BSD license.
|
||||
|
||||
USING: accessors arrays classes classes.tuple compiler.units
|
||||
combinators continuations debugger definitions eval help
|
||||
io io.files io.streams.string kernel lexer listener listener.private
|
||||
make math namespaces parser prettyprint prettyprint.config
|
||||
quotations sequences strings source-files tools.vocabs
|
||||
vectors vocabs vocabs.loader ;
|
||||
combinators continuations debugger definitions eval help io
|
||||
io.files io.pathnames io.streams.string kernel lexer listener
|
||||
listener.private make math namespaces parser prettyprint
|
||||
prettyprint.config quotations sequences strings source-files
|
||||
tools.vocabs vectors vocabs vocabs.loader ;
|
||||
|
||||
IN: fuel
|
||||
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
! Copyright (C) 2008 Slava Pestov.
|
||||
! See http://factorcode.org/license.txt for BSD license.
|
||||
USING: kernel sequences io.files io.launcher io.encodings.ascii
|
||||
io.streams.string http.client generalizations combinators
|
||||
math.parser math.vectors math.intervals interval-maps memoize
|
||||
csv accessors assocs strings math splitting grouping arrays ;
|
||||
USING: kernel sequences io.files io.files.temp io.launcher
|
||||
io.pathnames io.encodings.ascii io.streams.string http.client
|
||||
generalizations combinators math.parser math.vectors
|
||||
math.intervals interval-maps memoize csv accessors assocs
|
||||
strings math splitting grouping arrays ;
|
||||
IN: geo-ip
|
||||
|
||||
: db-path ( -- path ) "IpToCountry.csv" temp-file ;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
! Copyright (C) 2008 William Schlieper
|
||||
! 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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
: read-lines ( stream -- )
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
! Copyright (C) 2008 Eduardo Cavazos, Slava Pestov.
|
||||
! See http://factorcode.org/license.txt for BSD license.
|
||||
USING: io.files io.launcher io.encodings.utf8 prettyprint arrays
|
||||
calendar namespaces mason.common mason.child
|
||||
mason.release mason.report mason.email mason.cleanup
|
||||
mason.help ;
|
||||
USING: arrays calendar io.directories io.encodings.utf8
|
||||
io.files io.launcher mason.child mason.cleanup mason.common
|
||||
mason.email mason.help mason.release mason.report namespaces
|
||||
prettyprint ;
|
||||
IN: mason.build
|
||||
|
||||
: create-build-dir ( -- )
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
! Copyright (C) 2008 Eduardo Cavazos, Slava Pestov.
|
||||
! See http://factorcode.org/license.txt for BSD license.
|
||||
USING: kernel namespaces make debugger sequences io.files
|
||||
io.launcher arrays accessors calendar continuations
|
||||
combinators.short-circuit mason.common mason.report
|
||||
mason.platform mason.config http.client ;
|
||||
USING: accessors arrays calendar combinators.short-circuit
|
||||
continuations debugger http.client io.directories io.files
|
||||
io.launcher io.pathnames kernel make mason.common mason.config
|
||||
mason.platform mason.report namespaces sequences ;
|
||||
IN: mason.child
|
||||
|
||||
: make-cmd ( -- args )
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
! Copyright (C) 2008 Eduardo Cavazos, Slava Pestov.
|
||||
! See http://factorcode.org/license.txt for BSD license.
|
||||
USING: kernel namespaces arrays continuations io.files io.launcher
|
||||
mason.common mason.platform mason.config ;
|
||||
USING: arrays continuations io.directories
|
||||
io.directories.hierarchy io.files io.launcher kernel
|
||||
mason.common mason.config mason.platform namespaces ;
|
||||
IN: mason.cleanup
|
||||
|
||||
: compress-image ( -- )
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
! Copyright (C) 2008 Eduardo Cavazos, Slava Pestov.
|
||||
! See http://factorcode.org/license.txt for BSD license.
|
||||
USING: kernel namespaces sequences splitting system accessors
|
||||
math.functions make io io.files io.launcher io.encodings.utf8
|
||||
prettyprint combinators.short-circuit parser combinators
|
||||
calendar calendar.format arrays mason.config locals ;
|
||||
math.functions make io io.files io.pathnames io.directories
|
||||
io.launcher io.encodings.utf8 prettyprint
|
||||
combinators.short-circuit parser combinators calendar
|
||||
calendar.format arrays mason.config locals ;
|
||||
IN: mason.common
|
||||
|
||||
: short-running-process ( command -- )
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
! Copyright (C) 2008 Eduardo Cavazos, Slava Pestov.
|
||||
! 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
|
||||
|
||||
! (Optional) Location for build directories
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
! Copyright (C) 2008 Slava Pestov.
|
||||
! See http://factorcode.org/license.txt for BSD license.
|
||||
USING: help.html sequences io.files io.launcher make namespaces
|
||||
kernel arrays mason.common mason.config ;
|
||||
USING: arrays help.html io.directories io.files io.launcher
|
||||
kernel make mason.common mason.config namespaces sequences ;
|
||||
IN: mason.help
|
||||
|
||||
: make-help-archive ( -- )
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
! Copyright (C) 2008 Eduardo Cavazos, Slava Pestov.
|
||||
! See http://factorcode.org/license.txt for BSD license.
|
||||
USING: kernel debugger io io.files threads debugger continuations
|
||||
namespaces accessors calendar mason.common mason.updates
|
||||
mason.build mason.email ;
|
||||
USING: accessors calendar continuations debugger debugger io
|
||||
io.directories io.files kernel mason.build mason.common
|
||||
mason.email mason.updates namespaces threads ;
|
||||
IN: mason
|
||||
|
||||
: build-loop-error ( error -- )
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
! Copyright (C) 2008 Eduardo Cavazos, Slava Pestov.
|
||||
! See http://factorcode.org/license.txt for BSD license.
|
||||
USING: kernel combinators sequences make namespaces io.files
|
||||
io.launcher prettyprint arrays
|
||||
mason.common mason.platform mason.config ;
|
||||
USING: arrays combinators io.directories
|
||||
io.directories.hierarchy io.files io.launcher io.pathnames
|
||||
kernel make mason.common mason.config mason.platform namespaces
|
||||
prettyprint sequences ;
|
||||
IN: mason.release.archive
|
||||
|
||||
: base-name ( -- string )
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
! Copyright (C) 2008 Eduardo Cavazos, Slava Pestov.
|
||||
! See http://factorcode.org/license.txt for BSD license.
|
||||
USING: kernel namespaces sequences prettyprint io.files
|
||||
io.launcher make mason.common mason.platform mason.config ;
|
||||
USING: io.directories io.files io.launcher kernel make
|
||||
mason.common mason.config mason.platform namespaces prettyprint
|
||||
sequences ;
|
||||
IN: mason.release.branch
|
||||
|
||||
: branch-name ( -- string ) "clean-" platform append ;
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
! Copyright (C) 2008 Eduardo Cavazos, Slava Pestov.
|
||||
! See http://factorcode.org/license.txt for BSD license.
|
||||
USING: kernel namespaces continuations debugger sequences fry
|
||||
io.files io.launcher bootstrap.image qualified mason.common
|
||||
mason.config ;
|
||||
USING: bootstrap.image continuations debugger fry
|
||||
io.directories io.directories.hierarchy io.files io.launcher
|
||||
kernel mason.common namespaces qualified sequences ;
|
||||
FROM: mason.config => target-os ;
|
||||
IN: mason.release.tidy
|
||||
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
! Copyright (C) 2008 Eduardo Cavazos, Slava Pestov.
|
||||
! See http://factorcode.org/license.txt for BSD license.
|
||||
USING: kernel namespaces assocs io.files io.encodings.utf8
|
||||
prettyprint help.lint benchmark tools.time bootstrap.stage2
|
||||
tools.test tools.vocabs help.html mason.common words generic
|
||||
accessors compiler.errors sequences sets sorting math ;
|
||||
USING: accessors assocs benchmark bootstrap.stage2
|
||||
compiler.errors generic help.html help.lint io.directories
|
||||
io.encodings.utf8 io.files kernel mason.common math namespaces
|
||||
prettyprint sequences sets sorting tools.test tools.time
|
||||
tools.vocabs words ;
|
||||
IN: mason.test
|
||||
|
||||
: do-load ( -- )
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
! Copyright (c) 2007, 2008 Aaron Schaefer, Samuel Tardieu.
|
||||
! 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
|
||||
project-euler.001 project-euler.002 project-euler.003 project-euler.004
|
||||
project-euler.005 project-euler.006 project-euler.007 project-euler.008
|
||||
|
|
|
@ -1,10 +1,8 @@
|
|||
|
||||
USING: kernel parser words continuations namespaces debugger
|
||||
sequences combinators splitting prettyprint
|
||||
system io io.files io.launcher io.encodings.utf8 io.pipes sequences.deep
|
||||
accessors multi-methods newfx shell.parser
|
||||
combinators.short-circuit eval environment ;
|
||||
|
||||
sequences combinators splitting prettyprint system io io.files
|
||||
io.pathnames io.launcher io.directories io.encodings.utf8 io.pipes
|
||||
sequences.deep accessors multi-methods newfx shell.parser
|
||||
combinators.short-circuit eval environment ;
|
||||
IN: shell
|
||||
|
||||
! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
! See http://factorcode.org/license.txt for BSD license.
|
||||
USING: alien alien.c-types alien.strings alien.syntax
|
||||
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
|
||||
|
||||
! See /usr/include/sys/sysctl.h for constants
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
USING: combinators io io.files io.streams.string kernel math
|
||||
math.parser continuations namespaces pack prettyprint sequences
|
||||
strings system tools.hexdump io.encodings.binary summary accessors
|
||||
USING: combinators io io.files io.files.links io.directories
|
||||
io.pathnames io.streams.string kernel math math.parser
|
||||
continuations namespaces pack prettyprint sequences strings
|
||||
system tools.hexdump io.encodings.binary summary accessors
|
||||
io.backend symbols byte-arrays ;
|
||||
IN: tar
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
|
||||
USING: namespaces debugger io.files bootstrap.image update.util ;
|
||||
|
||||
USING: namespaces debugger io.files io.directories
|
||||
bootstrap.image update.util ;
|
||||
IN: update.backup
|
||||
|
||||
: backup-boot-image ( -- )
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
|
||||
USING: kernel namespaces system io.files bootstrap.image http.client
|
||||
update update.backup update.util ;
|
||||
|
||||
USING: kernel namespaces system io.files io.pathnames io.directories
|
||||
bootstrap.image http.client update update.backup update.util ;
|
||||
IN: update.latest
|
||||
|
||||
! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
|
|
|
@ -1,10 +1,5 @@
|
|||
|
||||
USING: kernel system sequences io.files io.launcher bootstrap.image
|
||||
http.client
|
||||
update.util ;
|
||||
|
||||
! builder.util builder.release.branch ;
|
||||
|
||||
USING: kernel system sequences io.files io.directories
|
||||
io.pathnames io.launcher bootstrap.image http.client update.util ;
|
||||
IN: update
|
||||
|
||||
! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
|
|
|
@ -80,19 +80,19 @@ IN: vpri-talk
|
|||
{ $slide "Object system"
|
||||
"New operation, existing types:"
|
||||
{ $code
|
||||
"GENERIC: perimiter ( shape -- n )"
|
||||
"GENERIC: perimeter ( shape -- n )"
|
||||
""
|
||||
"M: rectangle perimiter"
|
||||
"M: rectangle perimeter"
|
||||
" [ width>> ] [ height>> ] bi + 2 * ;"
|
||||
""
|
||||
"M: circle perimiter"
|
||||
"M: circle perimeter"
|
||||
" radius>> 2 * pi * ;"
|
||||
}
|
||||
}
|
||||
{ $slide "Object system"
|
||||
"We can compute perimiters now."
|
||||
{ $code "100 20 <rectangle> perimiter ." }
|
||||
{ $code "3 <circle> perimiter ." }
|
||||
{ $code "100 20 <rectangle> perimeter ." }
|
||||
{ $code "3 <circle> perimeter ." }
|
||||
}
|
||||
{ $slide "Object system"
|
||||
"New type, extending existing operations:"
|
||||
|
@ -110,7 +110,7 @@ IN: vpri-talk
|
|||
{ $code
|
||||
": hypotenuse ( x y -- z ) [ sq ] bi@ + sqrt ;"
|
||||
""
|
||||
"M: triangle perimiter"
|
||||
"M: triangle perimeter"
|
||||
" [ base>> ] [ height>> ] bi"
|
||||
" [ + ] [ hypotenuse ] 2bi + ;"
|
||||
}
|
||||
|
@ -151,10 +151,10 @@ IN: vpri-talk
|
|||
"Libraries can define new parsing words"
|
||||
}
|
||||
{ $slide "Example: float arrays"
|
||||
{ $vocab-link "float-arrays" }
|
||||
{ $vocab-link "specialized-arrays.float" }
|
||||
"Avoids boxing and unboxing overhead"
|
||||
"Implemented with library code"
|
||||
{ $code "F{ 3.14 7.6 10.3 }" }
|
||||
{ $code "float-array{ 3.14 7.6 10.3 }" }
|
||||
}
|
||||
{ $slide "Example: memoization"
|
||||
{ "Memoization with " { $link POSTPONE: MEMO: } }
|
||||
|
|
|
@ -2,7 +2,8 @@
|
|||
! See http://factorcode.org/license.txt for BSD license.
|
||||
USING: kernel accessors http.server.dispatchers
|
||||
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
|
||||
|
||||
TUPLE: help-webapp < dispatcher ;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
! See http://factorcode.org/license.txt for BSD license.
|
||||
USING: accessors kernel hashtables calendar random assocs
|
||||
namespaces make splitting sequences sorting math.order present
|
||||
io.files io.encodings.ascii
|
||||
io.files io.directories io.encodings.ascii
|
||||
syndication farkup
|
||||
html.components html.forms
|
||||
http.server
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
! Copyright (c) 2008 Slava Pestov
|
||||
! See http://factorcode.org/license.txt for BSD license.
|
||||
USING: accessors kernel sequences assocs io.files io.sockets
|
||||
io.sockets.secure io.servers.connection
|
||||
USING: accessors kernel sequences assocs io.files io.pathnames
|
||||
io.sockets io.sockets.secure io.servers.connection
|
||||
namespaces db db.tuples db.sqlite smtp urls
|
||||
logging.insomniac
|
||||
html.templates.chloe
|
||||
|
|
Loading…
Reference in New Issue