! Copyright (C) 2009 Joe Groff.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors alien.c-types alien.parser alien.parser.private
-alien.syntax compiler.units continuations debugger eval fry kernel
+alien.syntax compiler.units continuations debugger eval kernel
lexer namespaces parser sequences sets summary tools.test
vocabs.parser words ;
IN: alien.parser.tests
USING: bootstrap.image.private kernel kernel.private namespaces
system cpu.ppc.assembler compiler.units compiler.constants math
math.private ranges layouts words vocabs slots.private
-locals locals.backend generic.single.private fry sequences
+locals locals.backend generic.single.private sequences
threads.private strings.private ;
FROM: cpu.ppc.assembler => B ;
IN: bootstrap.ppc
! Copyright (C) 2008 Doug Coleman.
! Copyright (C) 2009 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors alien alien.c-types cairo.ffi colors images
-images.memory kernel math math.rectangles sequences ;
+USING: accessors alien alien.c-types colors images images.memory
+kernel math math.rectangles sequences ;
+USE: cairo.ffi
IN: cairo
ERROR: cairo-error n message ;
-USING: byte-arrays checksums checksums.murmur fry kernel math
+USING: byte-arrays checksums checksums.murmur kernel math
sequences tools.test ;
{ 455139366 } [ "asdf" >byte-array 0 <murmur3-32> checksum-bytes ] unit-test
! Copyright (C) 2013 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: cocoa cocoa.application cocoa.classes kernel parser
-multiline words ;
+USING: cocoa cocoa.application cocoa.classes kernel parser words ;
IN: cocoa.apple-script
USING: alien.c-types alien.data arrays byte-arrays cocoa
cocoa.application cocoa.classes cocoa.enumeration combinators
core-foundation.data core-foundation.strings
-core-foundation.utilities fry io.backend kernel macros math
+core-foundation.utilities io.backend kernel math
quotations sequences ;
IN: cocoa.plists
! See http://factorcode.org/license.txt for BSD license.
USING: accessors alien.c-types arrays cocoa cocoa.application
cocoa.classes cocoa.messages cocoa.runtime cocoa.subclassing
-compiler.units kernel locals.backend math.parser multiline
-sequences ui ;
+compiler.units kernel locals.backend math.parser sequences ;
IN: cocoa.statusbar
<< {
-USING: help.markup help.syntax strings alien hashtables ;
+USING: help.markup help.syntax ;
IN: cocoa.subclassing
HELP: <CLASS:
! Copyright (C) 2006, 2010 Slava Pestov, Joe Groff.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors alien alien.parser alien.strings arrays assocs
-cocoa.messages cocoa.runtime combinators compiler.units fry
+cocoa.messages cocoa.runtime combinators compiler.units
io.encodings.utf8 kernel lexer locals.parser locals.types
make namespaces parser sequences words ;
IN: cocoa.subclassing
! Copyright (C) 2009, 2011 Doug Coleman, John Benediktsson.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays assocs combinators effects fry
-generalizations kernel macros math math.order memoize sequences
-sequences.generalizations sequences.private stack-checker
-stack-checker.backend stack-checker.errors stack-checker.values
+USING: accessors arrays assocs combinators effects
+generalizations kernel math sequences sequences.generalizations
+stack-checker stack-checker.backend stack-checker.values
stack-checker.visitor words ;
IN: combinators.smart
USING: accessors assocs compiler.cfg.branch-splitting
compiler.cfg.instructions compiler.cfg.predecessors compiler.cfg.rpo
-compiler.cfg.utilities compiler.test fry kernel namespaces tools.test ;
+compiler.cfg.utilities compiler.test kernel namespaces tools.test ;
IN: compiler.cfg.branch-splitting.tests
: get-predecessors ( cfg -- assoc )
compiler.cfg.builder.alien.boxing compiler.cfg.builder.alien.params
compiler.cfg.hats compiler.cfg.instructions compiler.cfg.registers
compiler.cfg.stacks compiler.cfg.stacks.local compiler.errors
-compiler.tree cpu.architecture fry kernel layouts make math namespaces
+compiler.tree cpu.architecture kernel layouts make math namespaces
sequences sequences.generalizations words ;
IN: compiler.cfg.builder.alien
USING: accessors alien.c-types arrays assocs classes.struct
combinators compiler.cfg.builder.alien.params compiler.cfg.hats
compiler.cfg.instructions compiler.cfg.intrinsics.allot
-compiler.cfg.registers cpu.architecture fry kernel layouts
+compiler.cfg.registers cpu.architecture kernel layouts
locals math namespaces sequences system ;
QUALIFIED-WITH: alien.c-types c
IN: compiler.cfg.builder.alien.boxing
! Copyright (C) 2009 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors assocs combinators compiler.cfg.predecessors
-compiler.cfg.rpo deques dlists fry kernel locals math math.order
+compiler.cfg.rpo deques dlists kernel math math.order
namespaces sequences sorting vectors ;
IN: compiler.cfg.dominance
! Copyright (C) 2008, 2010 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors classes.parser classes.tuple combinators
-effects fry kernel lexer make namespaces parser sequences
+effects kernel lexer make namespaces parser sequences
splitting words ;
IN: compiler.cfg.instructions.syntax
USING: tools.test random sorting sequences hashtables assocs
-kernel fry arrays splitting namespaces math accessors vectors locals
+kernel arrays splitting namespaces math accessors vectors
math.order grouping strings strings.private classes layouts
cpu.architecture
compiler.cfg
compiler.cfg.builder.alien compiler.cfg.finalization
compiler.cfg.optimizer compiler.codegen compiler.crossref
compiler.errors compiler.tree.builder compiler.tree.optimizer
-compiler.units compiler.utilities continuations definitions fry
+compiler.units compiler.utilities continuations definitions
generic generic.single io kernel macros make namespaces
sequences sets stack-checker.dependencies stack-checker.errors
stack-checker.inlining vocabs.loader words ;
! Copyright (C) 2011 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: alien.c-types alien.data alien.syntax classes.struct
-continuations core-foundation core-foundation.strings
-core-foundation.urls destructors kernel sequences
-specialized-arrays strings unix.ffi ;
+USING: alien.c-types alien.data alien.syntax continuations
+core-foundation core-foundation.strings core-foundation.urls
+destructors kernel sequences specialized-arrays strings unix.ffi ;
SPECIALIZED-ARRAY: char
IN: core-foundation.launch-services
! Copyright (C) 2008, 2010 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
USING: alien.c-types alien.syntax calendar.unix core-foundation
-core-foundation.time locals ;
+core-foundation.time ;
IN: core-foundation.timers
TYPEDEF: void* CFRunLoopTimerRef
alien.destructors alien.syntax colors
core-foundation.dictionaries core-foundation.strings
core-foundation.urls core-foundation.utilities
-core-graphics.types destructors fry images images.memory kernel
+core-graphics.types destructors images images.memory kernel
libc math opengl.gl sequences ;
IN: core-graphics
-USING: help.syntax help.markup ;
+USING: help.syntax ;
IN: editors.brackets
ARTICLE: "editors.brackets" "Adobe Brackets support"
! Copyright (C) 2013 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: combinators.short-circuit editors fry io.standard-paths
-kernel make math.parser namespaces system vocabs ;
+USING: combinators.short-circuit editors io.standard-paths
+kernel make math.parser namespaces system ;
IN: editors.geany
SINGLETON: geany
! Copyright (C) 2018 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors editors fry kernel sequences ui ui.gadgets
+USING: accessors editors kernel sequences ui ui.gadgets
ui.gadgets.borders ui.gadgets.buttons ui.gadgets.packs
ui.gadgets.scrollers ui.tools.listener vocabs.loader ;
IN: editors.ui
USING: accessors calendar calendar.format io io.encodings.utf8
-io.files kernel multiline parser sequences sorting splitting
-vocabs ;
+io.files kernel multiline sequences sorting splitting vocabs ;
IN: editors.vim.generate-syntax
<PRIVATE
-USING: definitions io.launcher kernel math math.parser parser
-namespaces prettyprint editors make ;
+USING: editors kernel make namespaces ;
IN: editors.xcode
SINGLETON: xcode
! Copyright (C) 2018 Cat Stevens
-USING: arrays assocs help.markup help.syntax kernel math multiline
+USING: arrays assocs help.markup help.syntax kernel math
sequences strings ;
IN: english
! Copyright (C) 2019 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors checksums checksums.sha documents
-escape-strings kernel locals math.parser models sequences ui
-ui.gadgets ui.gadgets.editors ui.gadgets.labeled
-ui.gadgets.scrollers ui.gadgets.tracks ;
+escape-strings kernel math.parser models sequences ui ui.gadgets
+ui.gadgets.editors ui.gadgets.labeled ui.gadgets.scrollers
+ui.gadgets.tracks ;
IN: escape-strings.ui
TUPLE: escape-string-editor < source-editor source-model quot ;
-USING: arrays assocs environment hashtables io.encodings.utf8
-io.files io.pathnames kernel memoize sequences splitting system
-unicode ;
+USING: assocs environment io.encodings.utf8 io.files
+io.pathnames kernel sequences splitting system unicode ;
IN: etc-hosts
! Copyright (C) 2008, 2009 Doug Coleman, Daniel Ehrenberg.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays assocs combinators fry io.streams.string
-kernel lists locals math math.order namespaces sequences splitting
+USING: accessors arrays assocs combinators io.streams.string
+kernel lists math math.order namespaces sequences splitting
strings urls urls.encoding xml.data xml.syntax xml.writer
xmode.code2html ;
IN: farkup
! Copyright (C) 2008 Doug Coleman.
! 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.pathnames io.sockets kernel io.streams.duplex math
-math.parser sequences splitting namespaces strings fry ftp
-ftp.client.listing-parser urls ;
+USING: accessors ftp ftp.client.listing-parser io
+io.encodings.binary io.encodings.utf8 io.files io.pathnames
+io.sockets io.streams.duplex kernel math.parser sequences
+splitting urls ;
IN: ftp.client
: (ftp-response-code) ( str -- n )
-USING: assocs classes help.markup help.syntax io.streams.string
-http http.server.dispatchers http.server.responses
-furnace.redirection strings html.forms ;
+USING: classes furnace.redirection help.markup help.syntax
+html.forms http http.server.dispatchers http.server.responses ;
IN: furnace.actions
HELP: <action>
! Copyright (C) 2008, 2009 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors assocs combinators fry furnace.conversations
-furnace.utilities html.forms http http.server
-http.server.responses kernel namespaces sequences splitting urls
-validators ;
+USING: accessors assocs combinators furnace.conversations
+furnace.utilities html.forms html.templates.chloe http
+http.server http.server.responses kernel namespaces sequences
+splitting urls validators ;
FROM: html.templates.chloe => <chloe> ;
IN: furnace.actions
! Copyright (C) 2008 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel sequences db.tuples timers calendar db fry
-furnace.db
-furnace.cache
-furnace.asides
-furnace.sessions
-furnace.conversations
-furnace.auth.providers
-furnace.auth.login.permits ;
+USING: calendar db db.tuples furnace.asides
+furnace.auth.login.permits furnace.auth.providers furnace.cache
+furnace.conversations furnace.db furnace.sessions kernel
+sequences timers ;
IN: furnace.alloy
CONSTANT: state-classes { session aside conversation permit }
-USING: help.markup help.syntax io.streams.string urls
-furnace.redirection http furnace.sessions furnace.db ;
+USING: furnace.db furnace.redirection furnace.sessions
+help.markup help.syntax http urls ;
IN: furnace.asides
HELP: <asides>
! Copyright (C) 2008, 2010 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: namespaces assocs kernel sequences accessors hashtables
-urls db.types db.tuples math.parser fry logging combinators
-html.templates.chloe.syntax
-http http.server http.server.filters http.server.redirection
-furnace.cache
-furnace.sessions
-furnace.utilities
-furnace.redirection ;
+USING: accessors assocs combinators db.tuples db.types
+furnace.cache furnace.redirection furnace.sessions
+furnace.utilities hashtables html.templates.chloe.syntax http
+http.server kernel logging math.parser namespaces urls ;
IN: furnace.asides
TUPLE: aside < server-state
USING: byte-arrays checksums.sha furnace.auth.providers
furnace.auth.providers.db help.markup help.syntax http kernel
-math strings vocabs words.symbol ;
+math strings words.symbol ;
IN: furnace.auth
HELP: <protected>
! Copyright (c) 2008, 2010 Slava Pestov
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors assocs namespaces kernel sequences sets
-destructors combinators endian fry logging io.encodings.utf8
-io.encodings.string io.sockets.secure random checksums
-checksums.sha urls
-html.forms
-http.server
-http.server.filters
-http.server.dispatchers
-furnace.actions
-furnace.utilities
-furnace.redirection
-furnace.boilerplate
-furnace.auth.providers
-furnace.auth.providers.db ;
+USING: accessors assocs checksums checksums.sha combinators
+destructors endian furnace.actions furnace.auth.providers
+furnace.auth.providers.db furnace.boilerplate
+furnace.redirection furnace.utilities html.forms http.server
+http.server.dispatchers http.server.filters io.encodings.string
+io.encodings.utf8 io.sockets.secure kernel logging namespaces
+random sequences sets urls ;
IN: furnace.auth
SYMBOL: logged-in-user
! Copyright (C) 2008 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel assocs namespaces accessors db db.tuples urls
-http.server.dispatchers
-furnace.asides
-furnace.actions
-furnace.auth
-furnace.auth.providers ;
+USING: accessors assocs furnace.actions furnace.asides
+furnace.auth http.server.dispatchers kernel namespaces urls ;
IN: furnace.auth.features.deactivate-user
: <deactivate-user-action> ( -- action )
-USING: help.markup help.syntax kernel strings urls ;
+USING: help.markup help.syntax kernel ;
IN: furnace.auth.features.recover-password
HELP: allow-password-recovery
! Copyright (c) 2008 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: namespaces make accessors kernel assocs arrays io.sockets
-threads fry urls smtp validators html.forms present http
-http.server.responses http.server.redirection
-http.server.dispatchers furnace.actions furnace.auth
-furnace.auth.providers furnace.redirection furnace.utilities ;
+USING: accessors arrays assocs furnace.actions furnace.auth
+furnace.auth.providers furnace.redirection furnace.utilities
+html.forms http.server.dispatchers http.server.responses
+io.sockets kernel make namespaces present smtp threads urls
+validators ;
IN: furnace.auth.features.recover-password
SYMBOL: lost-password-from
! Copyright (c) 2008 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors assocs kernel namespaces validators html.forms urls
-http.server.dispatchers
-furnace.auth furnace.auth.providers furnace.actions
-furnace.redirection ;
+USING: accessors assocs furnace.actions furnace.auth
+furnace.auth.providers html.forms http.server.dispatchers kernel
+namespaces validators ;
IN: furnace.auth.features.registration
: <register-action> ( -- action )
-USING: help.markup help.syntax kernel strings ;
+USING: help.markup help.syntax strings ;
IN: furnace.auth.login
HELP: <login-realm>
! Copyright (c) 2008 Slava Pestov
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel accessors namespaces sequences math.parser
-calendar checksums validators urls logging html.forms
-http http.server http.server.dispatchers
-furnace.auth
-furnace.asides
-furnace.actions
-furnace.sessions
-furnace.utilities
-furnace.redirection
-furnace.conversations
-furnace.auth.login.permits ;
+USING: accessors calendar furnace.actions furnace.asides
+furnace.auth furnace.auth.login.permits furnace.conversations
+furnace.redirection furnace.utilities html.forms http
+http.server.dispatchers kernel logging math.parser namespaces
+sequences urls validators ;
IN: furnace.auth.login
SYMBOL: permit-id
-USING: help.markup help.syntax io.streams.string ;
+USING: help.markup help.syntax ;
IN: furnace.auth.providers.assoc
HELP: <users-in-memory>
-USING: help.syntax help.markup help.vocabs furnace.auth.providers ;
+USING: furnace.auth.providers help.markup help.syntax ;
IN: furnace.auth.providers.couchdb
HELP: couchdb-auth-provider
-USING: accessors assocs base64 byte-arrays combinators.short-circuit
-continuations couchdb fry furnace.auth.providers json.writer kernel
-locals make mirrors namespaces sequences strings urls urls.encoding ;
+USING: accessors assocs base64 byte-arrays
+combinators.short-circuit continuations couchdb
+furnace.auth.providers json.writer kernel make mirrors
+namespaces sequences strings urls urls.encoding ;
IN: furnace.auth.providers.couchdb
! !!! Implement the authentication protocol for CouchDB.
! Copyright (C) 2008 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: db db.tuples db.types accessors
-furnace.auth.providers kernel continuations
-classes.singleton ;
+USING: accessors db db.tuples db.types furnace.auth.providers
+kernel ;
IN: furnace.auth.providers.db
user "USERS"
! Copyright (C) 2008 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel accessors random math.parser locals
-sequences math ;
+USING: accessors kernel math math.parser random sequences ;
IN: furnace.auth.providers
TUPLE: user
-USING: help.markup help.syntax io.streams.string
-http.server.dispatchers ;
+USING: help.markup help.syntax http.server.dispatchers ;
IN: furnace.boilerplate
HELP: <boilerplate>
! Copyright (c) 2008, 2009 Slava Pestov
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors kernel math.order namespaces combinators.short-circuit
-html.forms
-html.templates
-html.templates.chloe
-http.server
-http.server.filters
-furnace.utilities ;
+USING: accessors combinators.short-circuit furnace.utilities
+html.forms html.templates html.templates.chloe http.server
+http.server.filters kernel ;
IN: furnace.boilerplate
TUPLE: boilerplate < filter-responder template init ;
! Copyright (C) 2008 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel accessors math.intervals
-system calendar fry
-random db db.tuples db.types
-http.server.filters ;
+USING: accessors calendar db.tuples db.types http.server.filters
+kernel math.intervals random ;
IN: furnace.cache
TUPLE: server-state id expires ;
! Copyright (C) 2008 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors assocs combinators fry furnace.utilities
+USING: accessors assocs combinators furnace.utilities
html.components html.forms html.templates
html.templates.chloe.compiler html.templates.chloe.syntax kernel
namespaces present sequences splitting urls xml.data xml.syntax
-USING: help.markup help.syntax urls http words kernel
-furnace.sessions furnace.db words.symbol ;
+USING: furnace.db furnace.sessions help.markup help.syntax http
+kernel urls words.symbol ;
IN: furnace.conversations
HELP: <conversations>
! Copyright (C) 2008 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: namespaces assocs kernel sequences accessors hashtables
-urls db.types db.tuples math.parser fry logging combinators
-html.templates.chloe.syntax
-http http.server http.server.filters http.server.redirection
-furnace.cache
-furnace.scopes
-furnace.sessions
-furnace.utilities
-furnace.redirection ;
+USING: accessors assocs db.tuples db.types furnace.cache
+furnace.redirection furnace.scopes furnace.sessions
+furnace.utilities http http.server kernel math.parser namespaces
+sequences urls ;
IN: furnace.conversations
TUPLE: conversation < scope session ;
! Copyright (C) 2008 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel accessors continuations namespaces destructors
-db db.private db.pools io.pools http.server http.server.filters ;
+USING: accessors db db.pools destructors http.server
+http.server.filters io.pools kernel namespaces ;
IN: furnace.db
TUPLE: db-persistence < filter-responder pool disposed ;
-USING: assocs help.markup help.syntax kernel
-quotations sequences strings urls xml.data http ;
+USING: help.markup help.syntax ;
IN: furnace
ARTICLE: "furnace.persistence" "Furnace persistence layer"
-USING: kernel http.server help.markup help.syntax http
-vocabs.loader ;
+USING: help.markup help.syntax http kernel ;
IN: furnace.json
HELP: <json-content>
! Copyright (C) 2009 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors db.sqlite furnace.actions furnace.alloy
-furnace.conversations furnace.recaptcha furnace.redirection
-html.templates.chloe.compiler http.server
-http.server.dispatchers http.server.responses io.streams.string
-kernel urls xml.syntax ;
+furnace.recaptcha furnace.redirection http.server.dispatchers
+urls ;
IN: furnace.recaptcha.example
TUPLE: recaptcha-app < dispatcher recaptcha ;
! Copyright (C) 2009 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: help.markup help.syntax http.server.filters kernel
-multiline furnace.actions furnace.alloy furnace.conversations ;
+USING: furnace.actions furnace.alloy help.markup help.syntax
+http.server.filters ;
IN: furnace.recaptcha
HELP: <recaptcha>
! Copyright (C) 2009 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors assocs furnace.actions furnace.conversations
-furnace.redirection html.forms html.templates.chloe.compiler
+html.forms html.templates.chloe.compiler
html.templates.chloe.syntax http.client http.server
-http.server.filters io.sockets json.reader kernel locals
-namespaces sequences splitting urls validators xml.syntax ;
+http.server.filters io.sockets json.reader kernel namespaces
+urls validators xml.syntax ;
IN: furnace.recaptcha
TUPLE: recaptcha < filter-responder domain secret-key site-key ;
-USING: help.markup help.syntax io.streams.string quotations urls
-http.server http ;
+USING: help.markup help.syntax http quotations urls ;
IN: furnace.redirection
HELP: <redirect-responder>
! Copyright (C) 2008, 2010 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel accessors combinators namespaces fry urls http
-http.server http.server.redirection http.server.responses
-http.server.remapping http.server.filters furnace.utilities ;
+USING: accessors combinators furnace.utilities http http.server
+http.server.filters http.server.redirection
+http.server.remapping http.server.responses kernel namespaces
+urls ;
IN: furnace.redirection
: <redirect> ( url -- response )
-USING: help.markup help.syntax io.streams.string
-furnace.utilities ;
+USING: furnace.utilities help.markup help.syntax ;
IN: furnace.referrer
HELP: <check-form-submissions>
! Copyright (C) 2008, 2009 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors kernel http.server http.server.filters
-http.server.responses furnace.utilities ;
+USING: accessors furnace.utilities http.server
+http.server.filters http.server.responses kernel ;
IN: furnace.referrer
TUPLE: referrer-check < filter-responder quot ;
-USING: help.markup help.syntax io.streams.string quotations
-strings calendar serialize furnace.db words words.symbol
-kernel ;
+USING: calendar furnace.db help.markup help.syntax kernel
+words.symbol ;
IN: furnace.sessions
HELP: <sessions>
! Copyright (C) 2008 Doug Coleman, Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: assocs kernel math.intervals math.parser namespaces
-strings random accessors quotations hashtables sequences
-continuations fry calendar combinators combinators.short-circuit
-destructors io.sockets db db.tuples db.types
-http http.server http.server.dispatchers http.server.filters
-furnace.cache furnace.scopes furnace.utilities ;
+USING: accessors combinators.short-circuit db.tuples db.types
+furnace.cache furnace.scopes furnace.utilities http http.server
+http.server.dispatchers http.server.filters io.sockets kernel
+math.parser namespaces strings ;
IN: furnace.sessions
TUPLE: session < scope user-agent client ;
! Copyright (C) 2008, 2010 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors kernel sequences fry combinators syndication
-http.server.responses http.server.redirection furnace.actions
-furnace.utilities io.encodings.utf8 ;
+USING: accessors combinators furnace.actions furnace.utilities
+http.server.responses io.encodings.utf8 kernel sequences
+syndication ;
IN: furnace.syndication
GENERIC: feed-entry-title ( object -- string )
-USING: assocs help.markup help.syntax kernel
-quotations sequences strings urls xml.data http words ;
+USING: assocs help.markup help.syntax kernel strings urls words
+xml.data ;
IN: furnace.utilities
HELP: adjust-redirect-url
! Copyright (C) 2008, 2010 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors arrays assocs classes combinators continuations
-definitions fry http http.server http.server.redirection
+definitions http http.server http.server.redirection
http.server.remapping io.pathnames kernel make namespaces
sequences splitting strings urls words xml.syntax ;
IN: furnace.utilities
-USING: help.markup help.syntax kernel ui.gestures quotations
-sequences strings math ;
+USING: help.markup help.syntax kernel math quotations sequences
+strings ;
IN: game.input
ARTICLE: "game-input" "Game controller input"
cocoa.application cocoa.enumeration cocoa.plists combinators
combinators.short-circuit core-foundation core-foundation.data
core-foundation.run-loop core-foundation.strings destructors
-game.input hints iokit iokit.hid kernel locals math namespaces
+game.input hints iokit iokit.hid kernel math namespaces
sequences vectors ;
IN: game.input.iokit
! Copyright (C) 2010 Anton Gorenko.
! See http://factorcode.org/license.txt for BSD license.
USING: alien alien.libraries alien.syntax combinators
-gobject-introspection kernel system vocabs ;
+gobject-introspection system vocabs ;
IN: gmodule.ffi
<< "glib.ffi" require >>
! Copyright (C) 2013 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: accessors combinators hash-sets hash-sets.wrapped kernel
-parser sequences sets vocabs.loader ;
+USING: accessors hash-sets hash-sets.wrapped kernel parser
+sequences vocabs.loader ;
IN: hash-sets.sequences
! Copyright (C) 2013 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: accessors assocs combinators hashtables
-hashtables.wrapped kernel math math.hashcodes parser
-vocabs.loader ;
+USING: accessors assocs hashtables hashtables.wrapped kernel
+math math.hashcodes parser vocabs.loader ;
IN: hashtables.numbers
! Copyright (C) 2011 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: accessors assocs combinators hashtables
-hashtables.wrapped kernel parser sequences vocabs.loader ;
+USING: accessors assocs hashtables hashtables.wrapped kernel
+parser sequences vocabs.loader ;
IN: hashtables.sequences
! Copyright (C) 2008, 2011 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays assocs combinators.short-circuit
-debugger formatting fry help help.home help.topics help.vocabs
-html html.streams io.directories io.encodings.binary
-io.encodings.utf8 io.files io.files.temp io.pathnames kernel
-locals make math math.parser memoize namespaces regexp sequences
-sequences.deep serialize sorting splitting system tools.completion
-vocabs vocabs.hierarchy words xml.data xml.syntax xml.traversal
-xml.writer ;
+USING: accessors arrays ascii assocs combinators.short-circuit
+debugger formatting help help.home help.topics help.vocabs html
+html.streams io.directories io.encodings.ascii
+io.encodings.binary io.encodings.utf8 io.files io.files.temp
+io.pathnames kernel make math math.parser namespaces regexp
+sequences sequences.deep serialize sorting splitting system
+tools.completion vocabs vocabs.hierarchy words xml.data
+xml.syntax xml.traversal xml.writer ;
FROM: io.encodings.ascii => ascii ;
FROM: ascii => ascii? ;
IN: help.html
! Copyright (C) 2017 Alexander Ilin.
! See http://factorcode.org/license.txt for BSD license.
-USING: arrays combinators.short-circuit formatting io
-io.directories io.encodings.utf8 io.files io.pathnames
-kernel math namespaces prettyprint sequences ui.gadgets.panes
-vocabs.loader ;
+USING: arrays combinators.short-circuit formatting
+io.directories io.encodings.utf8 io.files io.pathnames kernel
+math namespaces prettyprint sequences vocabs.loader ;
IN: help.lint.spaces
! Copyright (C) 2012 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: arrays assocs combinators combinators.short-circuit fry
-help help.apropos help.markup help.stylesheet help.topics io
-io.streams.string io.styles kernel math memoize namespaces
-sequences sequences.deep sorting splitting strings unicode
-words ;
+USING: arrays combinators combinators.short-circuit help
+help.apropos help.markup help.stylesheet help.topics io
+io.styles kernel math namespaces sequences sorting splitting
+strings unicode words ;
IN: help.search
! Copyright (C) 2008 Slava Pestov
! See http://factorcode.org/license.txt for BSD license.
-USING: help.markup help.syntax io.streams.string kernel strings
-urls lcs inspector present io ;
+USING: help.markup help.syntax inspector io kernel lcs present
+strings urls ;
IN: html.components
HELP: checkbox
! Copyright (C) 2008, 2010 Slava Pestov, Daniel Ehrenberg
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors kernel namespaces io math.parser assocs classes
-classes.tuple words arrays sequences splitting mirrors
-hashtables combinators continuations math strings inspector
-fry locals calendar calendar.format xml.entities xml.data
-validators urls present xml.writer xml.syntax xml
-xmode.code2html lcs.diff2html farkup io.streams.string
-html html.streams html.forms ;
+USING: accessors arrays combinators farkup html html.forms
+html.streams inspector io kernel lcs.diff2html namespaces
+present sequences splitting strings urls xml.data xml.syntax
+xml.writer xmode.code2html ;
IN: html.components
GENERIC: render* ( value name renderer -- xml )
! Copyright (C) 2008 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays assocs fry html.components html.forms
+USING: accessors assocs html.components html.forms
html.templates html.templates.chloe.compiler
html.templates.chloe.components html.templates.chloe.syntax
io.encodings.utf8 io.files io.files.info kernel logging make
! Copyright (C) 2008 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: assocs namespaces make kernel sequences accessors
-combinators strings splitting io io.streams.string present
-sets ascii xml.writer xml.data xml.entities html.forms
-html.templates html.templates.chloe.syntax ;
+USING: accessors ascii assocs combinators html.forms
+html.templates html.templates.chloe.syntax io io.streams.string
+kernel make namespaces present sequences splitting strings
+xml.data xml.entities xml.writer ;
IN: html.templates.chloe.compiler
: chloe-attrs-only ( assoc -- assoc' )
! Copyright (C) 2008, 2010 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors assocs sequences kernel parser fry quotations
-classes.tuple classes.singleton namespaces
-html.components
-html.templates.chloe.compiler
-html.templates.chloe.syntax ;
+USING: accessors assocs classes.singleton classes.tuple
+html.components html.templates.chloe.compiler
+html.templates.chloe.syntax kernel namespaces parser quotations
+sequences ;
IN: html.templates.chloe.components
: render-quot ( -- quot )
! Copyright (C) 2008 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors sequences combinators kernel namespaces classes.tuple
-assocs splitting words arrays memoize parser lexer io io.files
-io.encodings.utf8 io.streams.string unicode mirrors fry math urls
-multiline xml xml.data xml.writer xml.syntax html.components
-html.templates ;
+USING: accessors assocs kernel lexer namespaces parser sequences
+xml.data xml.syntax ;
IN: html.templates.chloe.syntax
SYMBOL: tags
! Copyright (C) 2007, 2009 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays assocs calendar fry http http.server io
+USING: accessors arrays assocs calendar http http.server io
io.encodings io.encodings.binary io.launcher io.streams.duplex
-kernel make math.parser namespaces sequences urls urls.encoding
-;
+kernel make math.parser namespaces sequences urls urls.encoding ;
IN: http.server.cgi
: cgi-variables ( script-path -- assoc )
! Copyright (C) 2008 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel namespaces sequences assocs accessors splitting
-unicode urls http http.server http.server.responses ;
+USING: accessors assocs http.server http.server.responses kernel
+namespaces sequences splitting unicode urls ;
IN: http.server.dispatchers
TUPLE: dispatcher default responders ;
! Copyright (C) 2008 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel accessors combinators namespaces strings
-logging urls http http.server http.server.responses ;
+USING: accessors http http.server.responses kernel logging
+namespaces strings urls ;
IN: http.server.redirection
GENERIC: relative-to-request ( url -- url' )
-USING: accessors combinators continuations http http.parsers io io.crlf
-io.encodings io.encodings.binary io.streams.limited kernel math math.order
-math.parser namespaces sequences splitting urls urls.encoding ;
+USING: accessors combinators continuations http http.parsers io
+io.crlf io.encodings io.encodings.binary io.streams.limited
+kernel math.order math.parser namespaces sequences splitting
+urls urls.encoding ;
FROM: mime.multipart => parse-multipart ;
IN: http.server.requests
-USING: help.markup help.syntax io.streams.string strings
-http math furnace.json ;
+USING: help.markup help.syntax http math strings ;
IN: http.server.responses
HELP: <content>
! Copyright (C) 2003, 2010 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors arrays assocs combinators
-combinators.short-circuit continuations debugger destructors fry
+combinators.short-circuit continuations debugger destructors
hashtables html html.streams html.templates http
http.server.remapping http.server.requests http.server.responses
io io.crlf io.encodings io.encodings.ascii io.encodings.iana
! Copyright (C) 2008 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: help.markup help.syntax io.streams.string ;
+USING: help.markup help.syntax ;
IN: http.server.static
HELP: <file-responder>
! See http://factorcode.org/license.txt for BSD license.
USING: accessors alien.c-types alien.data alien.syntax arrays
assocs combinators gdk.pixbuf.ffi glib.ffi gobject.ffi grouping
-images images.loader io kernel locals math sequences
-specialized-arrays system unicode ;
+images images.loader io kernel math sequences specialized-arrays
+system unicode ;
IN: images.loader.gtk
SPECIALIZED-ARRAY: uchar
! Copyright (C) 2009 Keith Lazuka.
! See http://factorcode.org/license.txt for BSD license.
-USING: help.markup help.syntax kernel images ;
+USING: help.markup help.syntax images ;
IN: images.normalization
HELP: normalize-image
! Copyright (C) 2009 Doug Coleman, Keith Lazuka
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors alien.c-types alien.data byte-arrays
-combinators fry grouping images kernel locals math math.vectors
-sequences specialized-arrays math.floats.half ;
+USING: accessors alien.c-types alien.data byte-arrays grouping
+images kernel math math.floats.half sequences specialized-arrays ;
FROM: alien.c-types => float ;
+IN: images.normalization
SPECIALIZED-ARRAY: half
SPECIALIZED-ARRAY: float
SPECIALIZED-ARRAY: ushort
-IN: images.normalization
<PRIVATE
! Copyright (C) 2010 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: arrays assocs combinators combinators.short-circuit
-formatting hashtables io io.streams.string kernel make math
-namespaces quoting sequences splitting strings strings.parser ;
+USING: arrays assocs combinators.short-circuit formatting
+hashtables io io.streams.string kernel make math namespaces
+quoting sequences splitting strings strings.parser ;
IN: ini-file
! Copyright (C) 2004, 2008 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors alien.data assocs bit-arrays fry
-io.backend.unix io.backend.unix.multiplexers kernel layouts
-locals math math.order sequences unix.ffi unix.time ;
+USING: accessors alien.data assocs bit-arrays io.backend.unix
+io.backend.unix.multiplexers kernel layouts math math.order
+sequences unix.ffi unix.time ;
IN: io.backend.unix.multiplexers.select
TUPLE: select-mx < mx read-fdset write-fdset ;
! Copyright (C) 2009 Daniel Ehrenberg, Slava Pestov
! See http://factorcode.org/license.txt for BSD license.
-USING: byte-vectors io io.private kernel locals math namespaces
-sbufs sequences splitting ;
+USING: byte-vectors io io.private kernel math namespaces sbufs
+sequences splitting ;
IN: io.crlf
: crlf ( -- )
! Copyright (C) 2009 Daniel Ehrenberg
! See http://factorcode.org/license.txt for BSD license.
-USING: xml xml.data kernel io io.encodings interval-maps splitting fry
-math.parser sequences combinators assocs locals accessors math arrays
-byte-arrays ascii io.files biassocs math.order namespaces
-combinators.short-circuit endian io.encodings.iana ;
+USING: accessors arrays ascii assocs biassocs byte-arrays
+combinators combinators.short-circuit interval-maps io
+io.encodings io.encodings.iana io.files kernel math
+math.order math.parser namespaces sequences splitting xml
+xml.data ;
FROM: io.encodings.ascii => ascii ;
IN: io.encodings.gb18030
! Copyright (C) 2008 Daniel Ehrenberg
! See http://factorcode.org/license.txt for BSD license.
-USING: io.encodings kernel accessors summary ;
+USING: accessors io.encodings kernel ;
IN: io.encodings.strict
TUPLE: strict-state code ;
! Copyright (C) 2009 Daniel Ehrenberg.
! See http://factorcode.org/license.txt for BSD license.
-USING: combinators endian math io io.encodings
-io.encodings.iana io.encodings.utf16 kernel sequences ;
+USING: combinators endian io io.encodings io.encodings.iana
+io.encodings.utf16 kernel sequences ;
IN: io.encodings.utf32
SINGLETON: utf32be
! Copyright (C) 2013-2014 Björn Lindqvist
! See http://factorcode.org/license.txt for BSD license
-USING: accessors ascii base64 fry io io.encodings
+USING: accessors ascii base64 io io.encodings
io.encodings.string io.encodings.utf16 kernel make math
math.functions sequences splitting strings ;
IN: io.encodings.utf7
! Copyright (C) 2007 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors destructors io.backend.unix io.mmap
-io.mmap.private kernel libc literals locals system unix unix.ffi ;
+io.mmap.private kernel libc literals system unix unix.ffi ;
IN: io.mmap.unix
:: mmap-open ( path length prot flags open-mode -- alien fd )
! Copyright (C) 2008, 2010 Slava Pestov.
! 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.files.info
-io.directories io.pathnames io.monitors io.monitors.private
-debugger fry ;
+USING: accessors assocs combinators concurrency.mailboxes
+concurrency.messaging concurrency.promises continuations
+destructors io.directories io.files.info io.monitors
+io.monitors.private io.pathnames kernel sequences threads ;
IN: io.monitors.recursive
! Simulate recursive monitors on platforms that don't have them
! Copyright (C) 2010 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: accessors arrays combinators generic kernel io.sockets
-io.sockets.private memoize sequences system vocabs.parser ;
+USING: accessors arrays combinators io.sockets
+io.sockets.private kernel sequences system
+vocabs.parser ;
IN: io.sockets.icmp
! Copyright (C) 2011 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
USING: core-foundation.launch-services io.standard-paths
-io.standard-paths.unix system ;
+system ;
IN: io.standard-paths.macosx
M: macosx find-native-bundle launch-services-path ;
! Copyright (C) 2011 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors ascii environment fry io io.encodings.binary
+USING: accessors ascii environment io io.encodings.binary
io.encodings.string io.encodings.utf8 io.files io.launcher
io.pathnames io.standard-paths kernel math sequences splitting
system unix.users ;
! Copyright (C) 2009 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: help.markup help.syntax kernel math io ;
+USING: help.markup help.syntax io math ;
IN: io.streams.limited
HELP: <limited-stream>
! Copyright (C) 2008 Slava Pestov.
! Copyright (C) 2009 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors byte-vectors combinators destructors fry io
-io.encodings io.files io.files.info kernel locals math
-namespaces sequences math.order ;
+USING: accessors combinators destructors io io.encodings
+io.files io.files.info kernel math math.order namespaces
+sequences ;
IN: io.streams.limited
TUPLE: limited-stream stream count limit current start stop ;
! Copyright (C) 2010 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: help.markup help.syntax io kernel quotations words
-math ;
+USING: help.markup help.syntax io math quotations words ;
IN: io.streams.throwing
HELP: stream-exhausted
! Copyright (C) 2010 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors destructors io kernel locals namespaces
-sequences fry math ;
+USING: accessors destructors io kernel math namespaces sequences ;
IN: io.streams.throwing
ERROR: stream-exhausted n stream word ;
-USING: iokit alien alien.syntax alien.c-types kernel system
-core-foundation core-foundation.arrays core-foundation.data
+USING: alien.c-types alien.syntax core-foundation
+core-foundation.arrays core-foundation.data
core-foundation.dictionaries core-foundation.run-loop
-core-foundation.strings core-foundation.time unix.types ;
+core-foundation.strings core-foundation.time kernel system
+unix.types ;
IN: iokit.hid
CONSTANT: kIOHIDDeviceKey "IOHIDDevice"
-USING: alien.syntax alien.c-types alien.data core-foundation
-core-foundation.bundles core-foundation.dictionaries system
-combinators kernel sequences io accessors unix.types ;
+USING: alien.c-types alien.data alien.syntax core-foundation
+core-foundation.bundles core-foundation.dictionaries kernel
+sequences system unix.types ;
IN: iokit
<<
! Copyright (C) 2008, 2010 Slava Pestov
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors kernel lcs sequences strings xml.syntax
-xml.writer ;
+USING: accessors kernel lcs sequences strings xml.syntax ;
IN: lcs.diff2html
GENERIC: diff-line ( obj -- xml )
! Copyright (C) 2016 John Benediktsson
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays assocs deques dlists fry hashtables
-kernel linked-assocs sets ;
+USING: accessors assocs deques dlists hashtables kernel sets ;
IN: linked-sets
TUPLE: linked-set { assoc hashtable read-only } { dlist dlist read-only } ;
! Copyright (C) 2004 Chris Double.
! See http://factorcode.org/license.txt for BSD license.
-USING: lists lists.lazy math kernel sequences quotations ;
+USING: kernel lists lists.lazy math ;
IN: lists.lazy.examples
: naturals ( -- list ) 0 lfrom ;
-USING: help.markup help.syntax assocs strings logging
-logging.analysis smtp ;
+USING: help.markup help.syntax logging.analysis ;
IN: logging.insomniac
HELP: insomniac-sender
! Copyright (C) 2009 Joe Groff.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors alien arrays assocs classes combinators
-combinators.short-circuit fry kernel locals math math.vectors
-math.vectors.simd math.vectors.simd.intrinsics sequences ;
+USING: accessors alien alien.c-types classes combinators
+combinators.short-circuit kernel math math.vectors.simd
+math.vectors.simd.intrinsics sequences ;
FROM: alien.c-types =>
char uchar short ushort int uint longlong ulonglong
float double heap-size ;
USING: math.vectors.simd mirrors ;
IN: math.vectors.simd.mirrors
+
+! Empty vocabulary for mirrors to go into after functors create them.
+! Do not delete.
literals math math.bitwise math.vectors
math.vectors.simd.intrinsics parser prettyprint.custom
quotations sequences sequences.generalizations sequences.private
-vocabs.loader words ;
+words ;
QUALIFIED-WITH: alien.c-types c
IN: math.vectors.simd
short-8-rep [ (simd-v*hs+) ] [ call-next-method ] vv->v-op int-4-cast ; inline
M: int-4 v*hs+
int-4-rep [ (simd-v*hs+) ] [ call-next-method ] vv->v-op longlong-2-cast ; inline
-
-{ "math.vectors.simd" "mirrors" } "math.vectors.simd.mirrors" require-when
! Copyright (C) 2009 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors ascii assocs byte-arrays combinators fry
-hashtables http http.parsers io io.encodings.binary io.files
-io.files.temp io.files.unique io.streams.string kernel math
-quoting sequences splitting ;
+USING: accessors ascii assocs byte-arrays combinators hashtables
+http http.parsers io io.encodings.binary io.files io.files.temp
+io.files.unique io.streams.string kernel math quoting sequences
+splitting ;
IN: mime.multipart
CONSTANT: buffer-size 65536
! Copyright (C) 2008 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: assocs help.markup help.syntax io.streams.string sequences ;
+USING: assocs help.markup help.syntax sequences ;
IN: mime.types
HELP: mime-db
! Copyright (C) 2004, 2010 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: io.pathnames io.files io.encodings.ascii
-io.encodings.binary io.encodings.utf8 assocs sequences
-splitting kernel make fry memoize ;
+USING: assocs io.encodings.ascii io.encodings.binary
+io.encodings.utf8 io.files io.pathnames kernel make sequences
+splitting ;
IN: mime.types
MEMO: mime-db ( -- seq )
! Copyright (C) 2009 Slava Pestov
! See http://factorcode.org/license.txt for BSD license.
-USING: sorting models.arrow.smart fry ;
+USING: models.arrow.smart sorting ;
IN: models.sort
: <sort> ( values sort -- model )
! Copyright (C) 2008, 2010 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: math kernel sequences sequences.private byte-arrays
-alien prettyprint.custom parser accessors locals ;
+USING: accessors alien byte-arrays kernel math parser
+prettyprint.custom sequences sequences.private ;
IN: nibble-arrays
TUPLE: nibble-array
! Copyright (C) 2010 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: accessors arrays calendar combinators destructors
-fry formatting kernel io io.sockets math pack random
-sequences ;
+USING: accessors arrays calendar combinators formatting
+io.sockets kernel math pack random sequences ;
IN: ntp
-USING: alien help.markup help.syntax io kernel math quotations
-opengl.gl assocs vocabs.loader sequences accessors colors words
-opengl ;
+USING: help.markup help.syntax opengl words ;
IN: opengl.annotations
HELP: log-gl-error
! Copyright (C) 2009 Joe Groff.
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel namespaces combinators.short-circuit vocabs sequences
-compiler.units tools.annotations tools.annotations.private fry words
-opengl calendar accessors ascii ;
+USING: accessors ascii calendar combinators.short-circuit
+compiler.units kernel namespaces opengl sequences
+tools.annotations.private vocabs words ;
IN: opengl.annotations
TUPLE: gl-error-log
! Copyright (C) 2009 Joe Groff.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors kernel namespaces parser sequences tools.continuations
+USING: accessors kernel namespaces sequences tools.continuations
ui.backend ui.gadgets.worlds words ;
IN: opengl.debug
! Copyright (C) 2010 Anton Gorenko.
! See http://factorcode.org/license.txt for BSD license.
-USING: alien alien.strings io.encodings.ascii
-gdk.gl.ffi ;
+USING: alien.strings gdk.gl.ffi io.encodings.ascii ;
IN: opengl.gl.gtk
: gl-function-context ( -- context )
-USING: alien kernel x11.glx ;
+USING: x11.glx ;
IN: opengl.gl.x11
: gl-function-context ( -- context ) glXGetCurrentContext ; inline
! Copyright (C) 2008 Joe Groff.
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel opengl.gl alien.c-types continuations namespaces
-assocs alien alien.data alien.strings libc opengl math sequences
-combinators macros arrays io.encodings.ascii fry
-specialized-arrays destructors accessors ;
+USING: alien.c-types alien.data alien.strings arrays
+continuations destructors io.encodings.ascii kernel libc math
+opengl opengl.gl sequences specialized-arrays ;
SPECIALIZED-ARRAY: uint
IN: opengl.shaders
! Copyright (C) 2010 Anton Gorenko.
! See http://factorcode.org/license.txt for BSD license.
-USING: alien alien.libraries alien.syntax cairo.ffi combinators
-kernel gobject-introspection system vocabs ;
+USING: alien alien.libraries alien.syntax combinators
+gobject-introspection system vocabs ;
+USE: cairo.ffi
IN: pango.cairo.ffi
<< "pango.ffi" require >>
! Copyright (C) 2008 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: layouts kernel parser math math.bitwise sequences ;
+USING: kernel layouts math math.bitwise sequences ;
IN: persistent.hashtables.config
: radix-bits ( -- n ) << cell 4 = 4 5 ? suffix! >> ; foldable
! Copyright (C) 2007 Chris Double, Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors assocs combinators effects.parser fry
-generalizations kernel macros make sequences
-sequences.generalizations ;
+USING: accessors assocs combinators effects.parser
+generalizations kernel sequences sequences.generalizations ;
IN: shuffle
MACRO: shuffle-effect ( effect -- quot )
! Copyright (C) 2008 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors kernel quotations help.syntax help.markup
-io.sockets strings calendar io.encodings.utf8 ;
+USING: help.markup help.syntax io.encodings.utf8 io.sockets
+quotations strings ;
IN: smtp
HELP: smtp-config
! See http://factorcode.org/license.txt for BSD license.
USING: specialized-vectors mirrors ;
IN: specialized-vectors.mirrors
+
+! Empty vocabulary for mirrors to go into after functors create them.
+! Do not delete.
-USING: help.markup help.syntax byte-vectors alien byte-arrays classes.struct ;
+USING: alien byte-arrays classes.struct help.markup help.syntax ;
IN: specialized-vectors
HELP: SPECIALIZED-VECTOR:
! Copyright (C) 2008 Marc Fauconneau.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors binary-search fry kernel math math.order parser
+USING: accessors binary-search kernel math math.order parser
sequences sets sorting ;
IN: suffix-arrays
-USING: help.markup help.syntax io.streams.string strings urls
-calendar xml.data xml.writer present ;
+USING: calendar help.markup help.syntax present strings urls
+xml.data xml.writer ;
IN: syndication
HELP: entry
-USING: help.markup help.syntax kernel kernel.private io
-threads.private init quotations strings assocs heaps boxes
-namespaces deques dlists system ;
+USING: assocs boxes deques dlists heaps help.markup help.syntax
+init kernel kernel.private namespaces quotations strings system
+threads.private ;
IN: threads
ARTICLE: "threads-start/stop" "Starting and stopping threads"
! Copyright (C) 2005, 2008 Slava Pestov, Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors calendar fry kernel math quotations system
-threads ;
+USING: accessors calendar kernel math quotations system threads ;
IN: timers
! Copyright (C) 2019 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: accessors arrays assocs hashtables kernel locals make
-math.parser peg peg.parsers regexp sequences splitting
-strings.parser ;
+USING: accessors assocs hashtables kernel make math.parser peg
+peg.parsers regexp sequences splitting strings.parser ;
IN: toml
-USING: help.markup help.syntax words parser quotations strings
-system sequences ;
+USING: help.markup help.syntax words ;
IN: tools.annotations
ARTICLE: "tools.annotations" "Word annotations"
-USING: alien fry generalizations io io.ports kernel locals math
-sequences sequences.private tools.annotations ;
+USING: alien generalizations io io.ports kernel math sequences
+sequences.private tools.annotations ;
IN: tools.annotations.assertions
ERROR: invalid-nth-unsafe n seq word ;
-USING: help.markup help.syntax strings generic vectors assocs
-math make ;
+USING: help.markup help.syntax make math strings vectors ;
IN: tools.completion
ARTICLE: "tools.completion" "Fuzzy completion"
! See http://factorcode.org/license.txt for BSD license.
USING: accessors arrays assocs colors combinators
combinators.short-circuit io.directories io.files io.files.info
-io.pathnames kernel locals make math math.order sequences
+io.pathnames kernel make math math.order sequences
sequences.private sorting splitting splitting.monotonic unicode
-unicode.data vectors vocabs vocabs.hierarchy ;
+unicode.data vocabs vocabs.hierarchy ;
IN: tools.completion
<PRIVATE
! Copyright (C) 2009, 2010 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: threads threads.private kernel namespaces continuations
-combinators sequences math namespaces.private
-continuations.private concurrency.messaging quotations
-kernel.private words sequences.private assocs models
-models.arrow arrays accessors generic generic.single definitions
-make sbufs tools.crossref fry ;
+USING: accessors arrays assocs combinators continuations
+continuations.private generic generic.single kernel
+kernel.private make math namespaces namespaces.private
+quotations sequences sequences.private threads threads.private
+tools.crossref words ;
IN: tools.continuations
<PRIVATE
! Copyright (C) 2011 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors arrays assocs classes combinators.short-circuit
-continuations fry io kernel math namespaces prettyprint
-quotations sequences sequences.deep splitting strings
-tools.annotations tools.test.private vocabs words words.symbol ;
+continuations io kernel math namespaces prettyprint quotations
+sequences sequences.deep splitting strings tools.annotations
+tools.test.private vocabs words words.symbol ;
IN: tools.coverage
TUPLE: coverage-state < identity-tuple executed? ;
! Copyright (C) 2014 Jon Harper.
! See http://factorcode.org/license.txt for BSD license.
-USING: help.markup help.syntax kernel quotations sequences ;
+USING: help.markup help.syntax ;
IN: tools.coverage.testvocab
ARTICLE: "tools.coverage.testvocab" "Coverage tool dummy test vocabulary"
! Copyright (C) 2014 Jon Harper.
! See http://factorcode.org/license.txt for BSD license.
-USING: combinators fry kernel macros math sequences ;
+USING: combinators kernel math sequences ;
IN: tools.coverage.testvocab
<PRIVATE
! See http://factorcode.org/license.txt for BSD license.
USING: accessors alien.libraries.finder assocs bootstrap.image
hashtables io io.directories io.encodings.utf8 io.files
-io.files.temp io.launcher io.pathnames kernel locals make
+io.files.temp io.launcher io.pathnames kernel make
namespaces prettyprint sequences splitting system
tools.deploy.config tools.deploy.config.editor
tools.deploy.embed vocabs.loader vocabs.metadata.resources
! Copyright (C) 2007, 2008 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: assocs combinators.smart hashtables kernel math namespaces
-sequences vocabs ;
+USING: assocs combinators.smart hashtables kernel math
+namespaces sequences vocabs ;
IN: tools.deploy.config
SYMBOL: deploy-name
! Copyright (C) 2008, 2010 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: assocs io.pathnames kernel parser prettyprint
-prettyprint.config sequences splitting tools.deploy.config
-vocabs.loader vocabs.metadata ;
+USING: assocs kernel parser prettyprint prettyprint.config
+sequences splitting tools.deploy.config vocabs.metadata ;
IN: tools.deploy.config.editor
: deploy-config-path ( vocab -- path/f )
-USING: help.markup help.syntax words alien.c-types assocs
-kernel combinators combinators.private tools.deploy.config ;
+USING: combinators.private help.markup help.syntax kernel
+tools.deploy.config ;
IN: tools.deploy
ARTICLE: "prepare-deploy" "Preparing to deploy an application"
! See http://factorcode.org/license.txt for BSD license.
USING: alien.c-types alien.data bootstrap.image.private
destructors io io.directories io.encodings.binary io.files
-kernel locals system ;
+kernel system ;
IN: tools.deploy.embed
:: embed-image ( image executable -- )
! Copyright (C) 2007, 2010 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: io io.files io.files.info.unix io.pathnames
-io.directories kernel namespaces make
-sequences system tools.deploy.backend tools.deploy.config
-tools.deploy.config.editor assocs hashtables prettyprint
-io.backend.unix cocoa io.encodings.utf8 io.backend
-cocoa.application cocoa.classes cocoa.plists
-combinators vocabs.metadata vocabs.loader webbrowser ;
+USING: cocoa.application cocoa.plists combinators io.backend
+io.directories io.files io.files.info.unix io.pathnames kernel
+make namespaces sequences system tools.deploy.backend
+tools.deploy.config tools.deploy.config.editor vocabs.loader ;
QUALIFIED-WITH: tools.deploy.unix unix
IN: tools.deploy.macosx
! Copyright (C) 2007, 2010 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors alien.libraries arrays assocs byte-arrays classes
-classes.builtin combinators combinators.private command-line
-compiler.crossref compiler.errors compiler.units continuations
-definitions fry generic generic.single generic.standard grouping
-hashtables init io io.backend io.encodings.utf8 io.files io.pathnames
-io.streams.c kernel kernel.private locals make math memoize memory
-namespaces parser parser.notes quotations sequences sequences.deep
-sequences.private sets slots.private source-files source-files.errors
-strings strings.parser system tools.deploy.config vocabs vocabs.loader
-vocabs.loader.private vocabs.parser words ;
+USING: accessors alien.libraries arrays assocs byte-arrays
+classes classes.builtin classes.private combinators
+combinators.private command-line compiler.crossref
+compiler.errors compiler.units continuations definitions generic
+generic.single generic.standard grouping hashtables init io
+io.backend io.encodings.utf8 io.files io.pathnames io.streams.c
+kernel kernel.private make math memoize memory namespaces parser
+parser.notes quotations sequences sequences.deep
+sequences.private sets slots.private source-files
+source-files.errors strings strings.parser system
+tools.deploy.config vocabs vocabs.loader vocabs.loader.private
+vocabs.parser words ;
QUALIFIED: classes.private
IN: tools.deploy.shaker
-USING: accessors arrays bootstrap.image continuations
-io.directories io.files.info io.files.temp io.launcher
-io.backend kernel layouts math sequences system
-tools.deploy.backend tools.deploy.config.editor ;
+USING: accessors arrays bootstrap.image io.backend
+io.directories io.files.info io.files.temp io.launcher kernel
+layouts math sequences system tools.deploy.backend
+tools.deploy.config.editor ;
IN: tools.deploy.test
: test-image ( -- str )
! See http://factorcode.org/license.txt for BSD license.
USING: combinators io.backend io.directories io.files.info.unix
io.pathnames kernel namespaces system tools.deploy.backend
-tools.deploy.config tools.deploy.config.editor webbrowser ;
+tools.deploy.config tools.deploy.config.editor ;
IN: tools.deploy.unix
: create-app-dir ( vocab bundle-name -- vm-path )
! Copyright (C) 2009 Joe Groff.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays assocs combinators.short-circuit
+USING: accessors assocs combinators.short-circuit
compiler.units debugger init io io.streams.null kernel
namespaces prettyprint sequences sets source-files.errors
summary tools.crossref tools.crossref.private tools.errors
! Copyright (C) 2009 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors arrays assocs classes combinators.smart
-continuations destructors fry io io.styles kernel namespaces
+continuations destructors io io.styles kernel namespaces
prettyprint sequences sets sorting ;
IN: tools.destructors
! Copyright (C) 2008, 2010 Slava Pestov, Jorge Acereda Macia.
! See http://factorcode.org/license.txt for BSD license.
USING: alien alien.c-types alien.libraries alien.syntax arrays
-combinators destructors fry kernel layouts libc make math
+combinators destructors kernel layouts libc make math
math.order math.parser namespaces sequences splitting system
-tools.disassembler.private tools.disassembler.utils tools.memory
-;
+tools.disassembler.private tools.disassembler.utils tools.memory ;
IN: tools.disassembler.udis
<< "libudis86" {
! Copyright (C) 2008 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: help.markup help.syntax io.streams.string strings ;
+USING: help.markup help.syntax ;
IN: tools.files
HELP: directory.
! Copyright (C) 2008, 2009 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays calendar calendar.english combinators fry io
-io.directories io.files.info kernel math math.parser prettyprint sequences
-system vocabs sorting.slots calendar.format splitting ;
+USING: accessors arrays calendar calendar.english
+calendar.format combinators io.directories io.files.info kernel
+math math.parser prettyprint sequences sorting.slots splitting
+system vocabs ;
IN: tools.files
<PRIVATE
! Copyright (C) 2013 John Benediktsson.
! See http://factorcode.org/license.txt for BSD license.
-USING: help.markup help.syntax kernel strings ;
+USING: help.markup help.syntax strings ;
IN: tools.which
! Copyright (C) 2006, 2010 Slava Pestov
! See http://factorcode.org/license.txt for BSD license.
-USING: arrays assocs classes continuations hashtables kernel
-make math math.functions math.parser ranges namespaces
-quotations regexp sequences sets unicode words xmode.catalog ;
+USING: kernel make math math.functions math.parser ranges regexp
+sequences sets unicode xmode.catalog ;
IN: validators
: v-checkbox ( str -- ? )
! See http://factorcode.org/license.txt for BSD license.
!
! based on glx.h from xfree86, and some of glxtokens.h
-USING: alien.c-types alien.syntax kernel namespaces specialized-arrays
-x11 x11.X x11.syntax x11.xlib ;
+USING: alien.c-types alien.syntax kernel namespaces
+specialized-arrays x11 x11.X x11.syntax x11.xlib ;
SPECIALIZED-ARRAY: int
IN: x11.glx
! Copyright (C) 2009 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: alien.syntax alien.parser words x11.io sequences kernel ;
+USING: alien.parser kernel sequences words x11.io ;
IN: x11.syntax
SYNTAX: X-FUNCTION:
! Copyright (C) 2005, 2009 Eduardo Cavazos, Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: alien.strings continuations io
-io.encodings.ascii kernel namespaces x11.xlib x11.io
-vocabs vocabs.loader ;
+USING: alien.c-types continuations io kernel namespaces
+vocabs.loader x11.io x11.xlib ;
FROM: alien.c-types => c-bool> ;
IN: x11
! Copyright (C) 2009 Daniel Ehrenberg.
! See http://factorcode.org/license.txt for BSD license.
-USING: assocs io.encodings.binary io.files kernel namespaces sequences
-xml xml.entities accessors xml.state ;
+USING: accessors assocs kernel namespaces sequences xml
+xml.entities ;
IN: xml.entities.html
SYMBOL: html-entities
-USING: xmode.tokens xmode.marker xmode.catalog kernel io io.files
-sequences words io.encodings.utf8 namespaces xml.entities accessors
-xml.syntax locals xml.writer ;
+USING: accessors io io.encodings.utf8 io.files kernel namespaces
+sequences xml.syntax xml.writer xmode.catalog xmode.marker ;
IN: xmode.code2html
: htmlize-tokens ( tokens -- xml )
! Copyright (C) 2007, 2008 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: xmode.marker.context xmode.rules accessors
-xmode.tokens namespaces make kernel sequences assocs math ;
+USING: accessors kernel make math namespaces sequences
+xmode.marker.context xmode.tokens ;
IN: xmode.marker.state
! Based on org.gjt.sp.jedit.syntax.TokenMarker
USING: accessors arrays assocs calendar colors
combinators.short-circuit help help.markup help.syntax kernel
-locals math math.functions math.matrices math.order math.parser
+math math.functions math.matrices math.order math.parser
math.trig math.vectors opengl opengl.demo-support opengl.gl
opengl.glu sbufs sequences strings threads ui.gadgets
ui.gadgets.worlds ui.gestures ui.render ;
! Copyright (C) 2009, 2010 Joe Groff, Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: alien.data alien.data.map fry generalizations kernel locals math.vectors
+USING: alien.data alien.data.map generalizations kernel math.vectors
math.vectors.conversion math math.vectors.simd ranges sequences
specialized-arrays tools.test ;
FROM: alien.c-types => uchar short int float ;
! Copyright (C) 2010 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: ascii assocs fry io.encodings.ascii io.files kernel math
-memoize sequences sequences.extras sorting sets ;
+USING: ascii assocs io.encodings.ascii io.files kernel math
+sequences sequences.extras sorting sets ;
IN: anagrams
: make-anagram-hash ( strings -- assoc )
! Copyright (C) 2012 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays assocs combinators.short-circuit fry
+USING: accessors arrays assocs combinators.short-circuit
grouping kernel math math.functions math.order math.vectors
parser prettyprint.custom sequences sequences.deep ;
IN: arrays.shaped
! Copyright (C) 2007 Elie CHAFTARI
! See http://factorcode.org/license.txt for BSD license.
-USING: arrays asn1.ldap assocs byte-arrays combinators
-continuations endian io io.streams.string kernel math
-math.parser namespaces make pack strings sequences accessors ;
+USING: accessors arrays assocs byte-arrays combinators endian io
+io.streams.string kernel make math math.parser namespaces pack
+sequences strings ;
IN: asn1
! Copyright (C) 2012 John Benediktsson, Doug Coleman
! See http://factorcode.org/license.txt for BSD license
-USING: arrays assocs assocs.private fry generalizations kernel
-math math.statistics sequences sequences.extras sets ;
+USING: arrays assocs assocs.private kernel math math.statistics
+sequences sets ;
IN: assocs.extras
: deep-at ( assoc seq -- value/f )
! Copyright (C) 2010 Joe Groff.
! See http://factorcode.org/license.txt for BSD license.
-USING: alien byte-arrays help.markup help.syntax kernel math
-memory ;
+USING: alien byte-arrays help.markup help.syntax math memory ;
IN: audio
HELP: <audio>
! Copyright (C) 2010 Joe Groff.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors alien arrays combinators math openal ;
+USING: accessors alien arrays combinators kernel math openal ;
IN: audio
TUPLE: audio
! Copyright (C) 2009 Joe Groff.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors timers audio audio.engine audio.loader calendar
-destructors io kernel locals math math.functions ranges specialized-arrays
+USING: accessors timers audio.engine audio.loader calendar
+destructors io kernel math math.functions ranges specialized-arrays
sequences random math.vectors ;
FROM: alien.c-types => short ;
SPECIALIZED-ARRAY: short
USING: accessors audio audio.engine combinators destructors
-images.loader images.viewer init kernel locals namespaces
+images.loader images.viewer init kernel namespaces
ui.gadgets ui.gadgets.buttons ui.gadgets.panes ;
FROM: ui.gadgets.buttons.private => border-button-theme ;
FROM: audio.engine.private => make-engine-current ;
! Copyright (C) 2009 Joe Groff.
! See http://factorcode.org/license.txt for BSD license.
-USING: ascii assocs io.pathnames namespaces vocabs ;
+USING: ascii assocs io.pathnames kernel namespaces vocabs ;
IN: audio.loader
ERROR: unknown-audio-extension extension ;
! See http://factorcode.org/license.txt for BSD license.
USING: base64.private byte-arrays combinators io
io.encodings.binary io.streams.byte-array kernel kernel.private
-literals locals math namespaces sequences ;
+literals math namespaces sequences ;
IN: base16
ERROR: malformed-base16 ;
-USING: kernel locals math math.matrices math.matrices.extras
+USING: kernel math math.matrices math.matrices.extras
math.order math.vectors prettyprint sequences ;
IN: benchmark.3d-matrix-scalar
! Copyright (C) 2008, 2010 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors kernel math ranges math.order math.parser
-io locals sequences ;
+io sequences ;
IN: benchmark.binary-trees
TUPLE: tree-node item left right ;
-USING: locals math math.combinatorics math.matrices math.matrices.extras
-prettyprint sequences typed ;
+USING: math math.combinatorics math.matrices math.matrices.extras
+prettyprint sequences ;
IN: benchmark.matrix-exponential-scalar
:: e^m ( m iterations -- e^m )
-USING: locals math math.combinatorics math.matrices.simd
+USING: math math.combinatorics math.matrices.simd
prettyprint sequences typed ;
IN: benchmark.matrix-exponential-simd
! Copyright (C) 2008, 2009 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors specialized-arrays fry kernel
-locals math math.constants math.functions math.vectors
-prettyprint combinators.smart sequences hints arrays ;
+USING: accessors specialized-arrays kernel math math.constants
+math.functions math.vectors prettyprint combinators.smart
+sequences hints arrays ;
FROM: alien.c-types => double ;
SPECIALIZED-ARRAY: double
IN: benchmark.nbody
! Copyright (C) 2008 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: math locals hints ;
+USING: math hints ;
IN: benchmark.nested-empty-loop-1
:: nested-empty-loop ( n -- )
! Copyright (C) 2010 Dmitry Shubin.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays assocs kernel locals math math.order
-ranges sequences sequences.private z-algorithm ;
+USING: accessors arrays assocs kernel math math.order ranges
+sequences sequences.private z-algorithm ;
IN: boyer-moore
<PRIVATE
! See http://factorcode.org/license.txt for BSD license
USING: accessors assocs command-line io io.encodings.binary
-io.files io.streams.string kernel macros math namespaces
-peg.ebnf prettyprint sequences multiline ;
+io.files io.streams.string kernel math multiline namespaces
+peg.ebnf prettyprint sequences ;
IN: brainfuck
! Copyright (C) 2021 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors arrays assocs calendar combinators
-combinators.extras continuations destructors io
-io.encodings.string io.encodings.utf8 io.files.info io.sockets
-io.streams.string kernel layouts make parser prettyprint
-prettyprint.config sequences splitting system system-info
-threads ;
+continuations destructors io io.encodings.string
+io.encodings.utf8 io.files.info io.sockets io.streams.string
+kernel layouts make parser prettyprint prettyprint.config
+sequences splitting system system-info threads ;
IN: broadcast-server
TUPLE: broadcast-server < disposable
! Copyright (C) 2010 Sascha Matzke.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors assocs bson.constants byte-arrays calendar
-combinators combinators.short-circuit endian io io.encodings
-io.encodings.binary io.encodings.utf8 io.files
-io.streams.byte-array kernel locals math namespaces sequences
-sequences.extras serialize strings typed vectors ;
+USING: accessors assocs bson.constants calendar combinators
+endian io io.encodings io.encodings.binary io.encodings.utf8
+io.files io.streams.byte-array kernel math namespaces sequences
+sequences.extras serialize strings typed ;
IN: bson.reader
SYMBOL: state
! See http://factorcode.org/license.txt for BSD license.
USING: accessors alien.accessors arrays assocs bson.constants
byte-arrays byte-vectors calendar combinators
-combinators.short-circuit dlists endian fry hashtables
-io io.encodings io.encodings.utf8 io.streams.byte-array kernel
-linked-assocs literals math math.parser namespaces quotations
-sequences serialize strings typed vectors words ;
+combinators.short-circuit dlists endian hashtables io
+io.encodings io.encodings.utf8 kernel linked-assocs math
+math.parser namespaces quotations sequences serialize strings
+typed vectors words ;
IN: bson.writer
<PRIVATE
USING: accessors arrays bunny.cel-shaded bunny.fixed-pipeline
bunny.model bunny.outlined destructors kernel literals math
opengl.demo-support opengl.gl sequences ui ui.gadgets
-ui.gadgets.worlds ui.gestures ui.render words ui.pixel-formats ;
+ui.gadgets.worlds ui.gestures ui.pixel-formats ;
IN: bunny
TUPLE: bunny-world < demo-world model-triangles geom draw-seq draw-n ;
-USING: arrays bunny.model continuations destructors kernel
-multiline opengl opengl.shaders opengl.capabilities opengl.gl
-sequences accessors combinators ;
+USING: accessors arrays bunny.model combinators destructors
+kernel multiline opengl.capabilities opengl.gl opengl.shaders ;
IN: bunny.cel-shaded
STRING: vertex-shader-source
-USING: alien.c-types continuations destructors kernel
-opengl opengl.gl bunny.model specialized-arrays accessors ;
+USING: accessors alien.c-types bunny.model destructors kernel
+opengl.gl specialized-arrays ;
SPECIALIZED-ARRAY: float
IN: bunny.fixed-pipeline
-USING: accessors alien.c-types arrays combinators destructors
-http.client io io.encodings.ascii io.files io.files.temp kernel
-locals math math.matrices math.parser math.vectors opengl
-opengl.capabilities opengl.gl opengl.demo-support sequences
-splitting vectors words specialized-arrays alien.data ;
+USING: accessors alien.c-types alien.data arrays combinators
+destructors http.client io io.encodings.ascii io.files
+io.files.temp kernel math math.parser math.vectors opengl
+opengl.capabilities opengl.demo-support opengl.gl sequences
+specialized-arrays splitting vectors ;
QUALIFIED-WITH: alien.c-types c
SPECIALIZED-ARRAY: c:float
SPECIALIZED-ARRAY: c:uint
-USING: arrays bunny.model bunny.cel-shaded continuations
-destructors kernel literals math multiline opengl opengl.shaders
-opengl.framebuffers opengl.gl opengl.textures opengl.demo-support fry
-opengl.capabilities sequences ui.gadgets combinators accessors
-macros locals ;
+USING: accessors arrays bunny.cel-shaded bunny.model combinators
+destructors kernel literals multiline opengl opengl.capabilities
+opengl.demo-support opengl.framebuffers opengl.gl opengl.shaders
+opengl.textures sequences ;
FROM: opengl.demo-support => rect-vertices ;
IN: bunny.outlined
! Copyright (C) 2009 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: sequences.parser io io.encodings.utf8 io.files
-io.streams.string kernel combinators accessors io.pathnames
-fry sequences arrays locals namespaces io.directories
-assocs math splitting make unicode combinators.short-circuit
-c.lexer ;
+USING: accessors assocs c.lexer combinators
+combinators.short-circuit io io.directories io.encodings.utf8
+io.files io.pathnames io.streams.string kernel make math
+sequences sequences.parser splitting unicode ;
IN: c.preprocessor
: initial-library-paths ( -- seq )
! http://cairographics.org/samples/text/
-USING: cairo.ffi math math.constants byte-arrays kernel ui
-ui.render combinators ui.gadgets opengl.gl accessors
-namespaces opengl sequences ;
+USING: accessors byte-arrays combinators kernel math
+math.constants opengl.gl pango.cairo.ffi ui ui.gadgets ui.render ;
IN: cairo-demo
! Copyright (C) 2008 Matthew Willis.
! See http://factorcode.org/license.txt for BSD license.
-USING: sequences math kernel byte-arrays cairo.ffi cairo
-io.backend ui.gadgets accessors opengl.gl arrays fry
-classes ui.render namespaces destructors libc ;
+USING: accessors cairo destructors kernel libc math namespaces
+opengl.gl pango.cairo.ffi sequences ui.gadgets ui.render ;
IN: cairo-gadgets
SYMBOL: current-cairo
! Copyright (C) 2015 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: help.markup help.syntax kernel quotations strings ;
+USING: help.markup help.syntax quotations strings ;
IN: changer
HELP: change:
! Copyright (C) 2018 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors assocs calendar combinators environment
-escape-strings fry io io.pathnames io.streams.string kernel math
+escape-strings io io.pathnames io.streams.string kernel math
math.parser namespaces prettyprint prettyprint.config sequences
tools.deploy.backend tools.time unix.groups unix.users uuid ;
IN: ci.run-process
! Copyright (C) 2006, 2009 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors colors formatting kernel math math.functions
-math.vectors models models.arrow models.product models.range sequences
-ui ui.gadgets ui.gadgets.labels ui.gadgets.packs ui.gadgets.sliders
+USING: accessors colors formatting kernel math math.vectors
+models models.arrow models.product models.range sequences ui
+ui.gadgets ui.gadgets.labels ui.gadgets.packs ui.gadgets.sliders
ui.gadgets.tracks ui.pens.solid ;
IN: color-picker
! Copyright (C) 2013 Doug Coleman, John Benediktsson.
! See http://factorcode.org/license.txt for BSD license.
-USING: arrays assocs combinators combinators.smart fry
-generalizations kernel locals macros math math.order namespaces
-quotations sequences sequences.generalizations sequences.private
+USING: arrays assocs combinators combinators.smart
+generalizations kernel math math.order namespaces quotations
+sequences sequences.generalizations sequences.private
stack-checker.transforms system words ;
IN: combinators.extras
! Copyright (C) 2009 Joe Groff.
! See http://factorcode.org/license.txt for BSD license.
-USING: assocs classes help.markup help.syntax kernel math
-quotations strings ;
+USING: accessors assocs classes.tuple generalizations kernel
+quotations sequences ;
IN: combinators.tuple
HELP: 1make-tuple
! Copyright (C) 2008 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel math sequences fry ;
+USING: kernel math sequences ;
IN: crypto.xor
: mod-nth ( n seq -- elt ) [ length mod ] [ nth ] bi ;
! See http://factorcode.org/license.txt for BSD license.
USING: accessors alien alien.c-types alien.data alien.destructors
alien.enums continuations cuda cuda.contexts cuda.ffi
-cuda.gl.ffi destructors fry gpu.buffers kernel ;
+cuda.gl.ffi destructors gpu.buffers kernel ;
IN: cuda.gl
: create-gl-cuda-context ( device flags -- context )
-USING: kernel fry sequences vocabs.loader help.vocabs ui
+USING: kernel sequences vocabs.loader help.vocabs ui
ui.gadgets ui.gadgets.buttons ui.gadgets.packs ui.gadgets.borders
ui.gadgets.scrollers ui.tools.listener accessors assocs ;
IN: demos
! See http://factorcode.org/license.txt for BSD license
USING: accessors arrays assocs bit-arrays byte-arrays calendar
-colors combinators fry kernel kernel.private locals math
+colors combinators kernel kernel.private math
math.order ranges namespaces opengl random sequences
sequences.private timers ui ui.commands ui.gadgets
-ui.gadgets.toolbar ui.gadgets.tracks ui.gestures ui.render words
-;
+ui.gadgets.toolbar ui.gadgets.tracks ui.gestures ui.render words ;
IN: game-of-life
! Copyright (C) 2009 Joe Groff.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors calendar continuations destructors fry kernel
-locals math math.order system timers ui ui.gadgets.worlds
-vocabs.loader ;
+USING: accessors calendar continuations destructors kernel
+math math.order system timers ui ui.gadgets.worlds vocabs.loader ;
IN: game.loop
TUPLE: game-loop
! Copyright (C) 2010 Slava Pestov.
-USING: accessors continuations debugger fry io io.encodings.utf8
-io.files kernel namespaces sequences euler.b-rep euler.operators
-gml.core gml.coremath gml.b-rep gml.geometry gml.modeling
-gml.parser gml.printer gml.runtime gml.viewer ;
+USING: accessors continuations debugger euler.b-rep gml.parser
+gml.printer gml.runtime io io.encodings.utf8 io.files kernel
+namespaces sequences ;
IN: gml
TUPLE: gml-file-error pathname error ;
! Copyright (C) 2010 Slava Pestov.
-USING: arrays accessors colors euler.b-rep fry gml
-gml.runtime gml.viewer gml.printer io.directories
-io.encodings.utf8 io.files io.pathnames io.streams.string kernel
-locals models namespaces sequences ui ui.gadgets
-ui.gadgets.buttons ui.gadgets.editors ui.gadgets.frames
-ui.gadgets.grids ui.gadgets.labels ui.gadgets.packs
-ui.gadgets.scrollers ui.gadgets.worlds ui.gadgets.tables
-ui.gadgets.labeled unicode ;
+USING: accessors arrays colors euler.b-rep gml gml.printer
+gml.runtime gml.viewer io.directories io.encodings.utf8 io.files
+io.pathnames io.streams.string kernel models namespaces
+sequences ui ui.gadgets ui.gadgets.buttons ui.gadgets.editors
+ui.gadgets.frames ui.gadgets.grids ui.gadgets.labeled
+ui.gadgets.labels ui.gadgets.packs ui.gadgets.scrollers
+ui.gadgets.tables unicode ;
FROM: gml => gml ;
IN: gml.ui
USING: accessors alien.c-types alien.data alien.data.map arrays
assocs byte-arrays colors combinators combinators.short-circuit
-destructors euler.b-rep euler.b-rep.triangulation fry game.input
+destructors euler.b-rep euler.b-rep.triangulation game.input
game.loop game.models.half-edge game.worlds gml.printer gpu
gpu.buffers gpu.framebuffers gpu.render gpu.shaders gpu.state
-gpu.util.wasd growable images kernel literals locals math
-math.order ranges math.vectors math.vectors.conversion
-math.vectors.simd math.vectors.simd.cords method-chains models
-namespaces sequences sets specialized-vectors typed ui
-ui.gadgets ui.gadgets.worlds ui.gestures ui.pixel-formats
-vectors ;
+gpu.util.wasd growable images kernel literals math math.order
+math.vectors math.vectors.conversion math.vectors.simd
+math.vectors.simd.cords method-chains models namespaces ranges
+sequences sets specialized-vectors typed ui ui.gadgets
+ui.gadgets.worlds ui.gestures ui.pixel-formats vectors ;
FROM: models => change-model ;
SPECIALIZED-VECTORS: ushort float-4 ;
IN: gml.viewer
! Copyright (C) 2011 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: accessors arrays assocs assocs.extras classes.tuple
-colors combinators formatting fry http.client io io.styles
-json.reader kernel sequences urls wrap.strings ;
+USING: accessors assocs.extras classes.tuple colors combinators
+formatting http.client io io.styles json.reader kernel sequences
+urls wrap.strings ;
IN: google.search
! Copyright (C) 2010 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: assocs combinators fry grouping http.client io
-io.encodings.binary io.files io.files.temp io.files.unique
-json.reader kernel locals make namespaces sequences urls ;
+USING: assocs combinators grouping http.client io io.files.temp
+io.files.unique json.reader kernel make sequences urls ;
IN: google.translate
CONSTANT: google-translate-url "http://ajax.googleapis.com/ajax/services/language/translate"
! Copyright (C) 2014 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: accessors byte-arrays calendar colors combinators
-formatting fry images images.loader images.loader.private
-images.viewer io io.encodings.binary io.encodings.string
-io.encodings.utf8 io.sockets io.styles io.timeouts kernel make
-math math.parser namespaces present prettyprint sequences
-splitting summary urls urls.encoding vocabs ;
+USING: accessors calendar colors combinators formatting
+images.loader images.loader.private images.viewer io
+io.encodings.binary io.encodings.string io.encodings.utf8
+io.sockets io.styles io.timeouts kernel make namespaces present
+prettyprint sequences splitting summary urls urls.encoding ;
IN: gopher
! Copyright (C) 2014 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: accessors arrays debugger fonts fry gopher gopher.private
-kernel math.vectors models present sequences ui ui.commands ui.gadgets
-ui.gadgets.editors ui.gadgets.panes ui.gadgets.scrollers
-ui.gadgets.status-bar ui.gadgets.toolbar ui.gadgets.tracks
-ui.gadgets.viewports ui.gestures ui.operations ui.tools.browser
-ui.tools.browser.history ui.tools.common urls webbrowser ;
+USING: accessors arrays debugger fonts gopher gopher.private
+kernel math.vectors models present sequences ui ui.commands
+ui.gadgets ui.gadgets.editors ui.gadgets.panes
+ui.gadgets.scrollers ui.gadgets.status-bar ui.gadgets.toolbar
+ui.gadgets.tracks ui.gadgets.viewports ui.gestures ui.operations
+ui.tools.browser ui.tools.browser.history ui.tools.common urls
+webbrowser ;
IN: gopher.ui
! See http://factorcode.org/license.txt for BSD license.
USING: accessors alien.c-types arrays classes.struct combinators
combinators.short-circuit game.loop game.worlds gpu gpu.buffers
-gpu.util.wasd gpu.framebuffers gpu.render gpu.shaders gpu.state
-gpu.textures gpu.util grouping http.client images images.loader
-images.tiff io io.encodings.ascii io.files io.files.temp kernel
-locals math math.matrices math.vectors.simd math.parser math.vectors
-method-chains namespaces sequences splitting threads ui ui.gadgets
-ui.gadgets.worlds ui.pixel-formats specialized-arrays
-specialized-vectors literals ;
+gpu.framebuffers gpu.render gpu.shaders gpu.state gpu.textures
+gpu.util gpu.util.wasd grouping http.client images images.loader
+io io.encodings.ascii io.files io.files.temp kernel literals
+math.parser math.vectors math.vectors.simd method-chains
+namespaces sequences specialized-arrays specialized-vectors
+threads ui.gadgets.worlds ui.pixel-formats ;
FROM: alien.c-types => float ;
SPECIALIZED-ARRAY: float
SPECIALIZED-VECTOR: uint
! See http://factorcode.org/license.txt for BSD license.
USING: accessors arrays audio.engine audio.loader game.loop
game.worlds gpu gpu.render gpu.shaders gpu.util gpu.util.wasd
-kernel literals locals math math.libm math.matrices
+kernel literals math math.libm math.matrices
math.matrices.extras math.order math.vectors method-chains
sequences ui.gadgets.worlds ui.pixel-formats ;
IN: gpu.demos.raytrace
! Copyright (C) 2011 Alex Vondrak.
! See http://factorcode.org/license.txt for BSD license.
-USING: graphviz help.markup help.syntax kernel strings ;
+USING: help.markup help.syntax strings ;
IN: graphviz.attributes
{
! Copyright (C) 2009 Joe Groff.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors alien.data.map arrays destructors fry grouping
-kernel math ranges math.vectors.simd opengl opengl.gl sequences
-sequences.product specialized-arrays ;
+USING: accessors alien.data.map destructors grouping kernel math
+math.vectors.simd opengl opengl.gl ranges sequences
+specialized-arrays ;
FROM: alien.c-types => float ;
SPECIALIZED-ARRAY: float-4
IN: grid-meshes
-USING: help.markup help.syntax sequences splitting strings ;
+USING: help.markup help.syntax sequences ;
IN: grouping.extras
! Copyright (C) 2010 Anton Gorenko.
! See http://factorcode.org/license.txt for BSD license.
USING: alien.strings gobject.ffi gtk.ffi io.encodings.utf8
-kernel locals ;
+kernel ;
IN: gtk-samples.hello-world
: on-button-clicked ( button label-user-data -- )
! Copyright (C) 2010 Anton Gorenko.
! See http://factorcode.org/license.txt for BSD license.
USING: alien.strings gdk.gl.ffi gobject.ffi gtk.ffi gtk.gl.ffi
-io.encodings.utf8 kernel locals opengl.demo-support opengl.gl ;
+io.encodings.utf8 kernel opengl.demo-support opengl.gl ;
IN: gtk-samples.opengl
! This sample is based on
! See http://factorcode.org/license.txt for BSD license
USING: accessors combinators combinators.short-circuit
-continuations formatting fry io kernel math math.functions
-math.order math.parser ranges random sequences strings ;
+continuations formatting io kernel math math.functions
+math.order math.parser random ranges strings ;
IN: hamurabi
-USING: help help.lint.coverage help.lint.coverage.private
-help.markup help.syntax io kernel sequences strings vocabs words ;
+USING: help.markup help.syntax io kernel sequences strings
+vocabs words ;
IN: help.lint.coverage
<PRIVATE
USING: accessors arrays classes classes.error combinators
-combinators.short-circuit continuations english eval formatting
-fry generic help help.lint help.lint.checks help.markup io
-io.streams.string io.styles kernel math namespaces parser
-prettyprint sequences sequences.deep sets sorting splitting strings summary
-vocabs vocabs.parser words words.alias ;
-
+continuations english formatting generic help help.lint.checks
+help.markup io io.streams.string io.styles kernel math
+namespaces parser sequences sequences.deep sets sorting
+splitting strings summary vocabs vocabs.parser words words.alias ;
FROM: namespaces => set ;
-
IN: help.lint.coverage
TUPLE: word-help-coverage
! Copyright (C) 2010 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: accessors arrays assocs help help.markup help.topics
-io.encodings.utf8 io.files io.pathnames kernel namespaces pdf
+USING: accessors arrays help help.markup help.topics
+io.encodings.utf8 io.files io.pathnames kernel namespaces
pdf.canvas pdf.layout pdf.streams sequences sets strings ;
IN: help.pdf
-USING: help.markup help.syntax io present html ;
+USING: help.markup help.syntax io present ;
IN: html.elements
ARTICLE: "html.elements" "HTML elements"
-USING: accessors assocs combinators fry html.parser
+USING: accessors assocs combinators html.parser
html.parser.utils io io.streams.string kernel math namespaces
regexp sequences strings unicode ;
IN: html.parser.printer
-USING: accessors arrays assocs bit-arrays http2.hpack
-io.encodings.string io.encodings.utf8 kernel literals locals
-make math sequences ;
+USING: accessors arrays assocs bit-arrays io.encodings.string
+io.encodings.utf8 kernel literals make math sequences ;
IN: http2.hpack.huffman
! Copyright (C) 2008 Tim Wawrzynczak
! See http://factorcode.org/license.txt for BSD license.
-USING: help.markup help.syntax sequences kernel accessors
-id3.private strings ;
+USING: help.markup help.syntax id3.private kernel sequences
+strings ;
IN: id3
HELP: mp3>id3
! Copyright (C) 2007, 2009 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors alien.c-types alien.data arrays byte-arrays
-combinators compression.run-length endian fry grouping images
-images.loader images.normalization io
-io.encodings.latin1 io.encodings.string io.streams.throwing
-kernel math math.bitwise sequences specialized-arrays summary ;
+USING: accessors alien.c-types alien.data arrays
+byte-arrays combinators compression.run-length endian grouping
+images images.loader images.normalization io io.encodings.latin1
+io.encodings.string io.streams.throwing kernel math math.bitwise
+sequences specialized-arrays summary ;
QUALIFIED-WITH: bitstreams b
SPECIALIZED-ARRAYS: uint ushort ;
IN: images.bitmap
! Copyright (C) 2009 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors assocs combinators.short-circuit http.client
+USING: accessors combinators.short-circuit http.client
images.loader images.loader.private images.viewer io.pathnames
-kernel namespaces present sequences strings urls ;
+kernel present sequences strings urls ;
IN: images.http
<PRIVATE
! Copyright (C) 2009 Marc Fauconneau.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors arrays byte-arrays combinators
-compression.huffman endian fry grouping images images.loader
-images.processing io io.encodings.binary
-io.streams.byte-array io.streams.limited io.streams.throwing
-kernel locals math math.bitwise math.blas.matrices
-math.blas.vectors math.constants math.functions math.matrices
-math.order math.vectors memoize namespaces sequences
-sequences.deep ;
+compression.huffman endian grouping images images.loader
+images.processing io io.encodings.binary io.streams.byte-array
+io.streams.limited io.streams.throwing kernel math math.bitwise
+math.blas.matrices math.blas.vectors math.constants
+math.functions math.matrices math.order math.vectors namespaces
+sequences sequences.deep ;
QUALIFIED-WITH: bitstreams bs
IN: images.jpeg
! Copyright (C) 2010 Erik Charlebois.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors arrays ascii bit-arrays byte-arrays combinators
-continuations grouping images images.loader io io.encodings.ascii
-io.encodings.string kernel locals make math math.functions math.parser
-sequences io.streams.throwing ;
+continuations grouping images images.loader io
+io.encodings.ascii io.encodings.string io.streams.throwing
+kernel make math math.functions math.parser sequences ;
IN: images.pbm
SINGLETON: pbm-image
! Copyright (C) 2010 Erik Charlebois.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors alien.c-types ascii combinators images images.loader
-io io.encodings.ascii io.encodings.string kernel locals make math
-math.parser sequences specialized-arrays io.streams.throwing ;
+USING: accessors alien.c-types ascii combinators images
+images.loader io io.encodings.ascii io.encodings.string
+io.streams.throwing kernel make math math.parser sequences
+specialized-arrays ;
SPECIALIZED-ARRAY: ushort
IN: images.pgm
! Copyright (C) 2009 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays assocs checksums checksums.crc32
-combinators compression.inflate endian fry grouping images
-images.loader io io.encodings.ascii
-io.encodings.binary io.encodings.latin1 io.encodings.string
-io.streams.byte-array io.streams.throwing kernel locals math
-math.bitwise math.functions sequences sorting ;
+USING: accessors arrays assocs bitstreams checksums
+checksums.crc32 combinators compression.inflate endian grouping
+images images.loader io io.encodings.ascii io.encodings.binary
+io.encodings.latin1 io.encodings.string io.streams.byte-array
+io.streams.throwing kernel math math.bitwise math.functions
+sequences sorting ;
QUALIFIED: bitstreams
IN: images.png
! Copyright (C) 2010 Erik Charlebois.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors ascii combinators images images.loader io
-io.encodings.ascii io.encodings.string kernel locals make math
-math.parser sequences io.streams.throwing ;
+io.encodings.ascii io.encodings.string io.streams.throwing
+kernel make math math.parser sequences ;
IN: images.ppm
SINGLETON: ppm-image
! Copyright (C) 2009 Kobi Lurie.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays colors combinators
-combinators.short-circuit fry grouping images images.bitmap
-images.loader images.normalization kernel locals math sequences ;
+USING: accessors combinators grouping images kernel math
+sequences ;
IN: images.processing.rotation
ERROR: unsupported-rotation degrees ;
! Copyright (C) 2009 Keith Lazuka.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays fry images images.loader
+USING: accessors arrays images images.loader
images.normalization images.viewer io io.backend io.directories
io.encodings.binary io.files io.pathnames io.streams.byte-array
-kernel locals namespaces quotations random sequences serialize
-tools.test ;
+kernel namespaces random sequences serialize tools.test ;
IN: images.testing
<PRIVATE
! Copyright (C) 2010 Erik Charlebois
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors endian images images.loader io kernel
-locals math sequences io.encodings.ascii io.encodings.string
-calendar ranges math.parser colors arrays hashtables
-ui.pixel-formats combinators continuations io.streams.throwing ;
+USING: accessors arrays calendar colors combinators
+continuations endian hashtables images images.loader io
+io.encodings.ascii io.encodings.string io.streams.throwing
+kernel math math.parser ranges sequences ;
IN: images.tga
SINGLETON: tga-image
! Copyright (C) 2009 Philipp Brüschweiler
! See http://factorcode.org/license.txt for BSD license.
-USING: help.syntax help.markup math math.functions prettyprint locals sequences ;
+USING: help.markup help.syntax math math.functions ;
IN: infix
HELP: [infix
! Copyright (C) 2009 Philipp Brüschweiler
! See http://factorcode.org/license.txt for BSD license.
USING: accessors combinators combinators.short-circuit effects
-effects.parser fry infix.ast infix.parser kernel locals
-locals.parser locals.types math math.functions math.order
-ranges multiline parser quotations sequences summary
-vocabs.parser words words.constant ;
+effects.parser infix.ast infix.parser kernel locals.parser
+locals.types math math.functions math.order multiline parser
+quotations ranges sequences summary vocabs.parser words
+words.constant ;
IN: infix
<PRIVATE
! Copyright (C) 2009 Philipp Brüschweiler
! See http://factorcode.org/license.txt for BSD license.
-USING: infix.ast infix.tokenizer kernel math peg.ebnf sequences
-strings vectors multiline ;
+USING: infix.ast infix.tokenizer kernel multiline peg.ebnf
+sequences strings vectors ;
IN: infix.parser
EBNF: parse-infix [=[
! Copyright (C) 2009 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: alien.c-types alien.data alien.destructors alien.syntax
-classes.struct combinators destructors io.backend io.files
-io.files.acls.macosx.ffi kernel libc literals locals math.order
-prettyprint sequences unix unix.ffi unix.groups unix.types
-unix.users ;
+USING: alien.c-types alien.data alien.destructors combinators
+destructors io io.backend io.files io.files.acls.macosx.ffi
+kernel libc sequences unix.groups unix.types unix.users ;
QUALIFIED: io
IN: io.files.acls.macosx
! Copyright (C) 2010 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: accessors calendar combinators.short-circuit environment
-formatting io io.backend io.directories io.encodings.utf8
-io.files io.files.info io.files.info.unix io.files.trash
-io.files.types io.pathnames kernel math math.parser sequences
-system unix.stat unix.users xdg ;
+USING: accessors calendar combinators.short-circuit formatting
+io io.backend io.directories io.encodings.utf8 io.files
+io.files.info io.files.info.unix io.files.trash io.pathnames
+kernel math math.parser sequences system unix.stat unix.users
+xdg ;
IN: io.files.trash.unix
! Copyright (C) 2012 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: fry io kernel locals math random sequences
-sequences.private ;
+USING: io kernel math random sequences sequences.private ;
IN: io.random
! See http://factorcode.org/license.txt for BSD license
USING: accessors arrays assocs destructors environment
-formatting fry io io.streams.string io.styles kernel locals
-math math.functions ranges math.vectors namespaces
-sequences sequences.extras strings strings.tables ;
+formatting io io.streams.string io.styles kernel math
+math.functions math.vectors namespaces ranges sequences strings
+strings.tables ;
IN: io.streams.256color
! Copyright (C) 2014 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: accessors arrays assocs destructors formatting fry io
+USING: accessors arrays assocs destructors formatting io
io.streams.string io.styles kernel math math.functions
math.vectors namespaces sequences strings strings.tables ;
! Copyright (C) 2010 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
USING: destructors io io.encodings.binary io.files
-io.streams.limited kernel random random.private sequences
+io.streams.limited kernel random random.private
sequences.private ;
IN: io.streams.random
! Copyright (C) 2009 Bruno Deferrari
! See http://factorcode.org/license.txt for BSD license.
-USING: help.markup help.syntax quotations kernel ;
+USING: help.syntax ;
IN: irc.client.chats
HELP: irc-client "IRC Client object" ;
! Copyright (C) 2009 Bruno Deferrari
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors assocs combinators fry hashtables
-irc.client.base irc.client.chats kernel sequences splitting ;
+USING: accessors assocs combinators irc.client.base
+irc.client.chats kernel sequences splitting ;
IN: irc.client.participants
TUPLE: participant nick operator voice ;
! Copyright (C) 2008, 2010 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: calendar debugger fry io io.encodings.utf8 io.launcher
+USING: calendar debugger io io.encodings.utf8 io.launcher
irc.client irc.client.chats kernel make mason.common mason.git
math namespaces sequences threads timers ;
IN: irc.gitbot
! Copyright (C) 2009 Bruno Deferrari.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors calendar destructors formatting fry io io.directories
+USING: accessors calendar destructors formatting io io.directories
io.encodings.utf8 io.files io.pathnames irc.client irc.client.chats
irc.logbot.log-line irc.messages.base kernel namespaces sequences
splitting threads ;
! Copyright (C) 2009 Bruno Deferrari
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays assocs calendar classes.parser classes.tuple
- combinators fry generic.parser kernel lexer
- mirrors namespaces parser sequences splitting strings words ;
+USING: accessors arrays assocs calendar classes.parser
+classes.tuple combinators generic.parser kernel lexer mirrors
+namespaces parser sequences splitting words ;
IN: irc.messages.base
TUPLE: irc-message line prefix command parameters trailing timestamp sender ;
! Copyright (C) 2009 Bruno Deferrari
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel fry splitting ascii calendar accessors combinators
-arrays classes.tuple math.order words assocs strings irc.messages.base
-combinators.short-circuit math sequences ;
+USING: accessors ascii combinators.short-circuit
+irc.messages.base kernel math sequences splitting ;
IN: irc.messages
! connection
! Copyright (C) 2007, 2008 Alex Chapman
! See http://factorcode.org/license.txt for BSD license.
USING: accessors alien.c-types jamshred.game jamshred.tunnel
-kernel literals locals math math.constants math.functions
+kernel literals math math.constants math.functions
math.vectors opengl opengl.demo-support opengl.gl opengl.glu
sequences specialized-arrays ;
SPECIALIZED-ARRAY: alien.c-types:float
! Copyright (C) 2010 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors timers bit-arrays calendar endian game.input io
+USING: accessors bit-arrays calendar endian game.input io
io.encodings.binary io.files kernel literals math namespaces
-system threads ;
+threads timers ;
IN: key-logger
CONSTANT: frequency $[ 1/30 seconds ]
! Copyright (C) 2006, 2007 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays assocs combinators fry hashtables io
-kernel locals make math math.matrices math.matrices.elimination
-math.order math.parser math.vectors namespaces prettyprint
-sequences sets shuffle sorting splitting ;
+USING: accessors arrays assocs combinators hashtables io kernel
+make math math.matrices math.matrices.elimination math.order
+math.parser math.vectors namespaces prettyprint sequences sets
+shuffle sorting splitting ;
IN: koszul
! Utilities
! Copyright (C) 2017 Björn Lindqvist.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors alien.c-types alien.strings assocs byte-arrays
-classes.struct continuations fry io io.encodings.binary
+classes.struct continuations io io.encodings.binary
io.encodings.string io.files kernel math math.bitwise sequences
system ;
IN: ldcache
USING: alien alien.c-types alien.destructors alien.libraries
-alien.syntax combinators io.sockets.secure system unix.types ;
+alien.syntax combinators system unix.types ;
IN: libtls.ffi
! Copyright (C) 2007, 2008, 2011 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors arrays assocs classes classes.tuple.private
-combinators.short-circuit continuations fry io kernel
-kernel.private locals.backend make math math.private namespaces
-prettyprint quotations sequences sequences.deep shuffle
-slots.private splitting stack-checker vocabs words words.alias ;
+combinators.short-circuit continuations io kernel kernel.private
+locals.backend make math math.private namespaces prettyprint
+quotations sequences sequences.deep shuffle slots.private
+splitting stack-checker vocabs words words.alias ;
IN: lint
<PRIVATE
-USING: arrays kernel xml-rpc ;
+USING: xml-rpc ;
IN: lisppaste
CONSTANT: url "http://www.common-lisp.net:8185/RPC2"
! Copyright (C) 2012 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: accessors combinators.short-circuit compiler.units kernel
-lexer math multiline parser sequences splitting ;
+USING: accessors compiler.units kernel lexer math multiline
+parser sequences splitting ;
IN: literate
-USING: help.markup help.syntax ;
+USING: help.syntax ;
IN: llvm.examples.kaleidoscope
ARTICLE: "llvm.kaleidoscope" "The Kaleidoscope language"
-USING: accessors arrays combinators io kernel math.parser peg prettyprint
-sequences strings unicode peg.ebnf multiline ;
+USING: accessors arrays kernel math.parser multiline peg
+peg.ebnf sequences strings ;
IN: llvm.examples.kaleidoscope
TUPLE: ast-binop lhs rhs operator ;
! Copyright (C) 2020 KUSUMOTO Norio.
! See http://factorcode.org/license.txt for BSD license.
-USING: logic kernel lists assocs locals math ;
+USING: assocs kernel logic math ;
IN: logic.examples.fib2
LOGIC-PREDS: fibo ;
! Copyright (C) 2019-2020 KUSUMOTO Norio.
! See http://factorcode.org/license.txt for BSD license.
-USING: logic kernel assocs math ;
+USING: assocs logic math ;
IN: logic.examples.hanoi
LOGIC-PREDS: hanoi moveo informo ;
! Copyright (C) 2019-2020 KUSUMOTO Norio.
! See http://factorcode.org/license.txt for BSD license.
-USING: logic lists assocs sequences kernel math
-locals formatting io ;
+USING: assocs formatting io kernel lists logic math sequences ;
IN: logic.examples.money
LOGIC-PREDS: sumo sum1o digitsumo delo donaldo moneyo ;
! Copyright (C) 2019-2020 KUSUMOTO Norio.
! See http://factorcode.org/license.txt for BSD license.
-USING: arrays help.markup help.syntax kernel quotations sequences
- prettyprint assocs math make lists urls logic.private ;
+USING: arrays assocs help.markup help.syntax kernel logic.private
+make quotations ;
IN: logic
HELP: !!
! See http://factorcode.org/license.txt for BSD license.
USING: accessors arrays assocs classes classes.tuple combinators
combinators.short-circuit compiler.units continuations
-formatting fry io kernel lexer lists locals make math multiline
-namespaces parser prettyprint prettyprint.backend
-prettyprint.config prettyprint.custom prettyprint.sections
-quotations sequences sequences.deep sequences.generalizations
-sets splitting strings vectors words words.symbol ;
+formatting io kernel lexer lists math multiline namespaces
+parser prettyprint quotations sequences sequences.deep
+sequences.generalizations sets splitting strings vectors words
+words.symbol ;
IN: logic
! Copyright (C) 2017 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: accessors assocs deques dlists fry kernel linked-assocs
+USING: accessors assocs deques dlists kernel linked-assocs
linked-assocs.private math sequences.private ;
IN: lru-cache
! Copyright (C) 2010 Erik Charlebois.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors alien alien.accessors alien.c-types alien.libraries
-alien.syntax classes.struct combinators io.encodings.ascii kernel
-locals math system ;
+USING: accessors alien alien.accessors alien.c-types
+alien.libraries alien.syntax classes.struct combinators
+io.encodings.ascii kernel math system ;
IN: lua
<< "liblua5.1" {
! Copyright (C) 2018 Björn Lindqvist
! See http://factorcode.org/license.txt for BSD license
-USING: accessors assocs fry grouping.extras kernel locals math
-math.functions math.statistics sequences sequences.extras sorting ;
+USING: accessors assocs grouping.extras kernel math
+math.functions math.statistics sequences sequences.extras
+sorting ;
IN: machine-learning.decision-trees
! Why convert the logarithm to base 2? I don't know.
! Copyright (C) 2017 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: fry kernel math math.functions math.order math.vectors
+USING: kernel math math.functions math.order math.vectors
sequences ;
IN: machine-learning.functions
! Copyright (C) 2012 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays fry kernel machine-learning.transformer
+USING: accessors arrays kernel machine-learning.transformer
sequences sets sorting sorting.extras ;
IN: machine-learning.label-binarizer
! Copyright (C) 2012 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors fry kernel locals machine-learning.transformer
-sequences sets sorting sorting.extras ;
+USING: accessors kernel machine-learning.transformer sequences
+sets sorting sorting.extras ;
IN: machine-learning.label-encoder
TUPLE: label-encoder classes_ ;
! Copyright (C) 2012 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: arrays assocs fry kernel math math.functions
-math.statistics memoize random sequences sorting ;
+USING: arrays assocs kernel math math.functions math.statistics
+random sequences sorting ;
IN: machine-learning.rebalancing
ERROR: probability-sum-not-one seq ;
! See http://factorcode.org/license.txt for BSD license
USING: alien alien.c-types alien.destructors alien.libraries
-alien.syntax combinators kernel literals system ;
+alien.syntax combinators literals system ;
IN: magic.ffi
! Copyright (C) 2009 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors assocs calendar calendar.format
-combinators.smart io io.crlf io.encodings.utf8 kernel locals
-managed-server namespaces sequences sorting splitting
-unicode ;
+combinators.smart io io.crlf io.encodings.utf8 kernel
+managed-server namespaces sequences sorting splitting unicode ;
IN: managed-server.chat
TUPLE: chat-server < managed-server ;
! Copyright (C) 2009 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors assocs calendar continuations destructors io
-io.encodings.binary io.servers io.sockets
-io.streams.duplex fry kernel locals math ranges multiline
-namespaces prettyprint random sequences sets splitting threads
-tools.continuations ;
+USING: accessors assocs continuations io io.servers io.sockets
+kernel namespaces sequences ;
IN: managed-server
TUPLE: managed-server < threaded-server clients ;
! Copyright (C) 2020 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: assocs assocs.extras assocs.private fry grouping kernel
-math.extras random sequences ;
+USING: assocs assocs.private grouping kernel math.extras
+sequences ;
IN: markov-chains
! Copyright (C) 2014 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
USING: assocs checksums checksums.md5 http.client json.reader
-kernel locals math.parser namespaces sequences strings system
-urls ;
+kernel math.parser namespaces sequences strings system urls ;
IN: marvel
! http://developer.marvel.com/docs
! Copyright (C) 2008, 2011 Eduardo Cavazos, Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays calendar combinators
-combinators.short-circuit continuations fry io.directories
-io.launcher io.pathnames kernel layouts macros make mason.config
-mason.notify mason.platform mason.report math.parser namespaces
-quotations sequences splitting system system-info ;
+USING: accessors arrays calendar combinators.short-circuit
+continuations io.directories io.launcher io.pathnames kernel
+layouts make mason.config mason.notify mason.platform
+mason.report namespaces quotations sequences system ;
IN: mason.child
: gnu-make-cmd ( -- args )
! Copyright (C) 2008, 2011 Eduardo Cavazos, Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors arrays calendar calendar.format combinators
-continuations fry io io.encodings.utf8 io.files io.launcher
-io.pathnames io.sockets kernel locals make mason.config math
-namespaces parser prettyprint prettyprint.config sequences
-splitting ;
+continuations io io.encodings.utf8 io.files io.launcher
+io.pathnames io.sockets kernel make mason.config math namespaces
+parser prettyprint prettyprint.config sequences splitting ;
IN: mason.common
: print-timestamp ( string -- )
! Copyright (C) 2008, 2010 Eduardo Cavazos, Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors calendar combinators continuations debugger fry
-io kernel make mason.common mason.config mason.platform
-math.order namespaces sequences smtp ;
+USING: accessors calendar combinators continuations debugger io
+kernel make mason.common mason.config mason.platform math.order
+namespaces sequences smtp ;
IN: mason.email
: mason-email ( body content-type subject -- )
! Copyright (C) 2009, 2011 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors continuations debugger fry http.client io
+USING: accessors continuations debugger http.client io
io.encodings.utf8 io.files kernel make mason.common mason.config
mason.email mason.twitter namespaces sequences ;
IN: mason.notify
! Copyright (C) 2008 Eduardo Cavazos, Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors combinators io.directories
-io.files io.pathnames kernel literals locals make mason.common
-mason.config mason.platform namespaces sequences system words ;
+USING: accessors combinators io.directories io.pathnames kernel
+make mason.common mason.config mason.platform namespaces
+sequences system words ;
IN: mason.release.archive
: base-name ( -- string )
! Copyright (C) 2016 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: io.backend io.pathnames kernel literals locals
-mason.common namespaces sequences system ;
+USING: io.backend io.pathnames kernel literals mason.common
+sequences system ;
IN: mason.release.sign
<<
! Copyright (C) 2008, 2010 Eduardo Cavazos, Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors assocs benchmark bootstrap.stage2 calendar
-command-line compiler.errors continuations debugger fry generic
-help.html help.lint io io.directories io.encodings.utf8 io.files
-io.styles kernel locals mason.common math memory namespaces
-parser.notes sequences sets sorting source-files.errors system
-threads tools.errors tools.test tools.time vocabs
-vocabs.hierarchy.private vocabs.loader vocabs.refresh words ;
+command-line compiler.errors continuations debugger help.html
+help.lint io io.directories io.encodings.utf8 io.files io.styles
+kernel mason.common math memory namespaces parser.notes
+sequences sets sorting source-files.errors system threads
+tools.errors tools.test tools.time vocabs
+vocabs.hierarchy.private vocabs.loader vocabs.refresh ;
IN: mason.test
: vocab-heading. ( vocab -- )
! Copyright (C) 2009, 2010 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: debugger fry kernel namespaces twitter ;
+USING: debugger kernel namespaces twitter ;
IN: mason.twitter
: mason-tweet ( message -- )
! Copyright (c) 2007 Samuel Tardieu.
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel math math.functions sequences fry ;
+USING: kernel math sequences ;
IN: math.algebra
: chinese-remainder ( aseq nseq -- x )
! Copyright (C) 2010 John Benediktsson.
! See http://factorcode.org/license.txt for BSD license
-USING: combinators kernel locals math math.functions ;
+USING: combinators kernel math ;
IN: math.approx
! Copyright (C) 2008 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: help.syntax help.markup kernel assocs sequences quotations ;
+USING: help.markup help.syntax sequences ;
IN: math.binpack
! Copyright (C) 2008 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: accessors assocs kernel locals math sequences sorting ;
+USING: accessors assocs kernel math sequences sorting ;
IN: math.binpack
-USING: alien.fortran combinators kernel math math.order
-namespaces sequences system system-info ;
+USING: alien.fortran combinators kernel math.order namespaces
+system system-info ;
IN: math.blas.config
SYMBOLS: blas-library blas-fortran-abi deploy-blas? ;
-USING: alien byte-arrays help.markup help.syntax math math.blas.vectors sequences strings ;
+USING: help.markup help.syntax math math.blas.vectors sequences
+strings ;
IN: math.blas.matrices
ARTICLE: "math.blas-summary" "Basic Linear Algebra Subroutines (BLAS) interface"
-USING: alien byte-arrays help.markup help.syntax math sequences ;
+USING: help.markup help.syntax math ;
IN: math.blas.vectors
ARTICLE: "math.blas.vectors" "BLAS interface vector operations"
USING: accessors alien alien.c-types alien.complex alien.data
-arrays ascii byte-arrays combinators combinators.short-circuit
-fry kernel math math.blas.ffi math.complex math.functions
-math.order sequences sequences.private functors words locals
-parser prettyprint.backend prettyprint.custom specialized-arrays ;
+ascii byte-arrays combinators.short-circuit functors kernel math
+math.blas.ffi math.order parser prettyprint.custom sequences
+specialized-arrays ;
FROM: alien.c-types => float ;
SPECIALIZED-ARRAY: float
SPECIALIZED-ARRAY: double
! Copyright (C) 2012 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: arrays kernel layouts locals math math.functions
-math.order math.statistics sequences ;
+USING: arrays kernel layouts math math.functions math.order
+math.statistics sequences ;
IN: math.cardinality
GENERIC: trailing-zeros ( m -- n )
! From http://www.ffconsultancy.com/ocaml/maze/index.html
-USING: accessors arrays fry kernel math math.order math.vectors
+USING: accessors arrays kernel math math.order math.vectors
namespaces opengl.demo-support opengl.gl random sequences ui
ui.gadgets ui.gadgets.canvas ui.render ;
IN: maze
! Copyright (C) 2010 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: accessors arrays assocs byte-arrays combinators fry
-io io.encodings.binary io.sockets kernel make math math.parser
-namespaces pack random sequences strings ;
+USING: accessors arrays assocs byte-arrays combinators io
+io.encodings.binary io.sockets kernel math namespaces pack
+random sequences strings ;
IN: memcached
! Copyright (C) 2009 Joe Groff.
! See http://factorcode.org/license.txt for BSD license.
-USING: alien destructors help.markup help.syntax kernel math ;
+USING: alien destructors help.markup help.syntax math ;
IN: memory.piles
HELP: <pile>
! Copyright (C) 2009 Joe Groff.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors alien alien.c-types alien.data destructors kernel libc math ;
+USING: accessors alien alien.c-types destructors kernel libc
+math ;
IN: memory.piles
TUPLE: pile
! Copyright (C) 2009 Joe Groff.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays bit-arrays classes
-classes.tuple.private fry kernel locals math parser
-sequences sequences.private vectors words ;
+USING: accessors classes classes.tuple.private kernel math
+parser sequences sequences.private vectors words ;
IN: memory.pools
TUPLE: pool
-USING: accessors arrays colors file-picker fry io.directories
-kernel math.rectangles models sequences sets ui ui.gadgets
+USING: accessors arrays file-picker io.directories kernel
+math.rectangles models sequences sets ui ui.gadgets
ui.gadgets.buttons ui.gadgets.glass ui.gadgets.labeled
ui.gadgets.labels ui.gadgets.tracks ;
IN: merger
USING: accessors arrays ascii assocs calendar calendar.format
classes.tuple combinators command-line continuations csv
-formatting fry grouping http.client io io.encodings.ascii
-io.files io.styles kernel math math.extras math.parser memoize
-namespaces regexp sequences sorting.human splitting strings urls
-wrap.strings ;
+formatting grouping http.client io io.encodings.ascii io.files
+io.styles kernel math math.extras math.parser namespaces regexp
+sequences sorting.human splitting strings urls wrap.strings ;
IN: metar
! Copyright (C) 2015 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: accessors assocs byte-arrays combinators endian fry io
+USING: accessors assocs byte-arrays combinators endian io
io.encodings.binary io.encodings.string io.encodings.utf8
io.files io.streams.byte-array io.streams.peek kernel literals
make math sequences sequences.generalizations ;
USING: accessors arrays assocs calendar circular colors
combinators combinators.short-circuit combinators.smart
-destructors formatting fry images.loader kernel locals math
-math.order math.parser namespaces opengl opengl.textures random
-sequences timers ui ui.commands ui.gadgets ui.gadgets.toolbar
+destructors formatting images.loader kernel math math.order
+math.parser namespaces opengl opengl.textures random sequences
+timers ui ui.commands ui.gadgets ui.gadgets.toolbar
ui.gadgets.tracks ui.gadgets.worlds ui.gestures ui.pens.solid
ui.render ui.tools.browser words ;
! Copyright (C) 2010 Erik Charlebois
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors alien.c-types arrays classes.struct combinators
-combinators.short-circuit game.loop game.worlds gpu gpu.buffers
-gpu.util.wasd gpu.framebuffers gpu.render gpu.shaders gpu.state
-gpu.textures gpu.util grouping http.client images images.loader
-io io.encodings.ascii io.files io.files.temp kernel locals math
-math.matrices math.vectors.simd math.parser math.vectors
-method-chains namespaces sequences splitting threads ui ui.gadgets
-ui.gadgets.worlds ui.pixel-formats specialized-arrays
-specialized-vectors fry sequences.deep destructors math.bitwise opengl.gl
-game.models game.models.obj game.models.loader game.models.collada
-prettyprint images.tga literals ;
+USING: accessors alien.c-types arrays combinators game.loop
+game.models.loader game.worlds gpu gpu.buffers gpu.render
+gpu.shaders gpu.state gpu.textures gpu.util.wasd images
+images.loader kernel literals opengl.gl sequences
+specialized-arrays specialized-vectors ui ui.gadgets.worlds
+ui.pixel-formats ;
FROM: alien.c-types => float ;
SPECIALIZED-ARRAY: float
SPECIALIZED-VECTOR: uint
! Copyright (C) 2009 Sam Anklesaria.
! See http://factorcode.org/license.txt for BSD license.
-USING: arrays accessors kernel models threads calendar ;
+USING: accessors calendar kernel models threads ;
IN: models.conditional
TUPLE: conditional < model condition thread ;
-USING: help.syntax help.markup kernel math classes classes.tuple
-calendar models ;
+USING: help.markup help.syntax kernel models ;
IN: models.history
HELP: history
! Copyright (C) 2008 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors kernel locals models sequences ;
+USING: accessors kernel models sequences ;
IN: models.history
TUPLE: history < model back forward ;
! Copyright (C) 2021 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors arrays combinators combinators.short-circuit
-generalizations kernel make math modern modern.slices multiline
-sequences sequences.extras splitting strings unicode ;
+generalizations kernel make math modern modern.slices sequences
+sequences.extras splitting strings ;
IN: modern.html
TUPLE: tag name open-close-delimiter props children ;
! Copyright (C) 2016 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
USING: arrays assocs combinators combinators.short-circuit
-continuations fry io.encodings.utf8 io.files kernel locals make
-math math.order modern.paths modern.slices sequences
-sequences.extras sets splitting strings unicode vocabs.loader ;
+continuations io.encodings.utf8 io.files kernel make math
+math.order modern.paths modern.slices sequences sequences.extras
+sets splitting strings unicode vocabs.loader ;
IN: modern
ERROR: string-expected-got-eof n string ;
! Copyright (C) 2017 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors arrays assocs combinators.short-circuit
-constructors continuations fry io io.encodings.utf8 io.files
+constructors continuations io io.encodings.utf8 io.files
io.streams.string kernel modern modern.paths modern.slices
-multiline prettyprint sequences sequences.extras splitting
-strings vocabs.loader ;
+multiline prettyprint sequences splitting strings vocabs.loader ;
IN: modern.out
: token? ( obj -- ? )
! Copyright (C) 2016 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors assocs fry kernel locals math sequences
-sequences.deep sequences.extras strings unicode ;
+USING: accessors assocs kernel math sequences sequences.deep
+sequences.extras strings unicode ;
IN: modern.slices
: >strings ( seq -- str )
-USING: accessors arrays assocs bson.constants classes classes.tuple
-combinators continuations fry kernel mongodb.driver sequences strings
-vectors words combinators.smart literals memoize slots constructors
-hashtables ;
+USING: accessors arrays assocs bson.constants classes
+classes.tuple combinators constructors hashtables kernel
+literals mongodb.driver mongodb.tuple sequences slots strings
+vectors words ;
+! XXX: This is weird, two IN: forms
IN: mongodb.tuple
SINGLETONS: +transient+ +load+ +user-defined-key+ ;
USING: accessors assocs bson.constants bson.writer combinators
-combinators.short-circuit constructors continuations fry
-hashtables kernel linked-assocs mirrors mongodb.tuple.collection
+combinators.short-circuit constructors continuations hashtables
+kernel linked-assocs mirrors mongodb.tuple.collection
mongodb.tuple.state namespaces sequences words ;
IN: mongodb.tuple.persistent
USING: accessors assocs classes.mixin classes.tuple
-classes.tuple.parser compiler.units fry kernel sequences
-hashtables
-mongodb.driver
-mongodb.msg mongodb.tuple.collection
-mongodb.tuple.persistent mongodb.tuple.state strings ;
+classes.tuple.parser compiler.units hashtables kernel
+mongodb.driver mongodb.msg mongodb.tuple.collection
+mongodb.tuple.persistent sequences ;
FROM: mongodb.driver => update delete find count ;
FROM: mongodb.tuple.persistent => assoc>tuple ;
! Copyright (C) 2008, 2009 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel math sequences vectors classes classes.algebra
-combinators arrays words assocs parser namespaces make
-definitions prettyprint prettyprint.backend prettyprint.custom
-quotations generalizations sequences.generalizations debugger io
-compiler.units kernel.private effects accessors hashtables
-sorting shuffle math.order sets see effects.parser ;
+USING: accessors arrays assocs classes classes.algebra
+combinators debugger definitions effects effects.parser io
+kernel make math math.order namespaces parser prettyprint
+prettyprint.backend prettyprint.custom quotations see sequences
+sequences.generalizations sets sorting vectors words ;
FROM: namespaces => set ;
+QUALIFIED: syntax
IN: multi-methods
! PART I: Converting hook specializers
define ;
! Definition protocol. We qualify core generics here
-QUALIFIED: syntax
-
syntax:M: generic definer drop \ GENERIC: f ;
syntax:M: generic definition drop f ;
-USING: arrays kernel math opengl opengl.gl opengl.glu
-opengl.demo-support ui ui.gadgets ui.render ui.pixel-formats
-literals accessors ;
+USING: accessors kernel literals math opengl.demo-support
+opengl.gl opengl.glu ui ui.gadgets ui.pixel-formats ui.render ;
IN: nehe.2
TUPLE: nehe2-gadget < gadget ;
! Copyright (C) 2018 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: cocoa cocoa.application cocoa.classes kernel locals ;
+USING: cocoa cocoa.application cocoa.classes kernel ;
IN: notifications.macos
IMPORT: NSUserNotification
! Copyright (C) 2009 Joe Groff
! See http://factorcode.org/license.txt for BSD license
-USING: accessors alien.c-types grouping kernel locals math
+USING: accessors alien.c-types grouping kernel math
math.order ranges math.vectors math.vectors.homogeneous
sequences specialized-arrays ;
SPECIALIZED-ARRAY: alien.c-types:float
alien.syntax
classes.struct
combinators
- kernel
ogg
system
;
! Copyright (C) 2007 Chris Double.
! See http://factorcode.org/license.txt for BSD license.
-USING: alien.c-types alien.data kernel alien alien.syntax shuffle
-openal openal.alut.backend namespaces system generalizations ;
+USING: alien.c-types alien.data alien.syntax kernel openal
+openal.alut.backend system ;
IN: openal.alut.macosx
LIBRARY: alut
! Copyright (C) 2007 Chris Double.
! See http://factorcode.org/license.txt for BSD license.
-USING: alien alien.data alien.destructors alien.libraries
-alien.syntax arrays combinators kernel sequences
-specialized-arrays system ;
+USING: alien alien.c-types alien.data alien.destructors
+alien.libraries alien.syntax arrays combinators kernel sequences
+system ;
FROM: alien.c-types => char double float int short uchar uint
ushort void ;
-SPECIALIZED-ARRAY: uint
IN: openal
<< "openal" {
! See http://factorcode.org/license.txt for BSD license.
USING: accessors alien alien.c-types alien.data arrays
byte-arrays combinators combinators.smart destructors
-io.encodings.ascii io.encodings.string kernel libc literals
-locals make math namespaces opencl.ffi sequences
-specialized-arrays variants ;
+io.encodings.ascii io.encodings.string kernel libc literals make
+math namespaces opencl.ffi sequences specialized-arrays
+variants ;
IN: opencl
SPECIALIZED-ARRAYS: void* char size_t ;
! Copyright (C) 2005 Alex Chapman.
! See http://factorcode.org/license.txt for BSD license.
USING: alien alien.c-types alien.libraries alien.syntax kernel
-sequences words system combinators opengl.gl alien.destructors ;
+sequences system combinators opengl.gl alien.destructors ;
IN: opengl.glu
<<
! Copyright (C) 2009 Joe Groff.
! See http://factorcode.org/license.txt for BSD license.
-USING: help.markup help.syntax multiline ;
+USING: help.markup help.syntax ;
IN: pair-rocket
HELP: =>
! Copyright (C) 2004 Chris Double.
! See http://factorcode.org/license.txt for BSD license.
-USING: lists lists.lazy promises kernel sequences strings math
-arrays splitting quotations combinators namespaces locals
-unicode sequences.deep accessors ;
+USING: accessors arrays kernel lists lists.lazy math promises
+sequences sequences.deep strings unicode ;
IN: parser-combinators
! Parser combinator protocol
! Copyright (C) 2006 Chris Double.
! See http://factorcode.org/license.txt for BSD license.
-USING: help.syntax help.markup parser-combinators ;
+USING: help.markup help.syntax ;
IN: parser-combinators.simple
HELP: digit-parser
! Copyright (C) 2006 Chris Double.
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel strings math sequences lists.lazy words
-math.parser promises parser-combinators unicode ;
+USING: kernel math.parser parser-combinators strings unicode ;
IN: parser-combinators.simple
: digit-parser ( -- parser )
! Copyright (C) 2006 Chris Double.
! See http://factorcode.org/license.txt for BSD license.
IN: partial-continuations
-USING: kernel continuations arrays sequences quotations ;
+USING: arrays continuations kernel sequences ;
: breset ( quot -- )
[ 1array swap keep first continue-with ] callcc1 nip ; inline
! Copyright (C) 2010 Samuel Tardieu.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors assocs hash-sets heaps kernel math sequences sets shuffle ;
+USING: accessors assocs heaps kernel math sequences sets ;
IN: path-finding
! This implements the A* algorithm. See http://en.wikipedia.org/wiki/A*
-USING:
- alien alien.c-types alien.data
- alien.libraries
- alien.syntax
- classes.struct
- combinators
- kernel
- system ;
+USING: alien alien.c-types alien.libraries alien.syntax
+classes.struct combinators system ;
IN: pcre.ffi
<< "pcre" {
! See http://factorcode.org/license.txt for BSD license
USING: accessors alien alien.accessors alien.c-types alien.data
-alien.enums alien.strings arrays assocs combinators fry
+alien.enums alien.strings arrays assocs combinators
io.encodings.string io.encodings.utf8 kernel literals math
math.bitwise math.parser pcre.ffi regexp sequences
sequences.extras splitting strings ;
! Copyright (C) 2011-2012 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: accessors assocs colors combinators fonts fry io
-io.styles kernel math math.order namespaces pdf.text pdf.wrap
-sequences ui.text ;
+USING: accessors assocs colors combinators fonts io io.styles
+kernel math math.order namespaces pdf.text pdf.wrap sequences
+ui.text ;
IN: pdf.canvas
! Copyright (C) 2011-2012 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: accessors assocs calendar combinators environment fonts
-formatting fry io io.streams.string kernel literals locals make
-math math.order ranges namespaces pdf.canvas pdf.values
-pdf.wrap sequences sequences.extras sorting splitting ui.text
-xml.entities ;
+USING: accessors assocs calendar combinators fonts formatting io
+io.streams.string kernel literals make math math.order
+namespaces pdf.canvas pdf.values pdf.wrap ranges sequences
+sequences.extras sorting splitting ui.text xml.entities ;
FROM: pdf.canvas => draw-text ;
IN: pdf.layout
! Copyright (C) 2011-2012 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: accessors arrays assocs destructors fry io io.styles
-kernel pdf.layout sequences splitting strings ;
+USING: accessors arrays destructors io io.styles kernel
+pdf.layout sequences splitting strings ;
IN: pdf.streams
! Copyright (C) 2011-2012 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: kernel fry make math sequences ui.text unicode wrap ;
+USING: kernel make math sequences ui.text unicode wrap ;
IN: pdf.wrap
! Copyright (C) 2008 Chris Double.
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel arrays strings math.parser sequences
-peg peg.ebnf peg.parsers memoize math accessors
-multiline ;
+USING: kernel math math.parser multiline peg.ebnf sequences ;
IN: peg.expr
EBNF: expr [=[
! Copyright (C) 2008 Chris Double.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays kernel math.parser multiline peg
-peg.ebnf sequences strings ;
+USING: accessors kernel math.parser multiline peg peg.ebnf
+sequences strings ;
IN: peg.javascript
<PRIVATE
! Copyright (C) 2007 Chris Double.
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel arrays strings math.parser sequences
-peg peg.ebnf peg.parsers memoize namespaces math
-multiline ;
+USING: math.parser multiline peg.ebnf strings ;
IN: peg.pl0
! Grammar for PL/0 based on http://en.wikipedia.org/wiki/PL/0
! Copyright (C) 2010 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: accessors byte-arrays calendar checksums
-checksums.internet combinators combinators.smart continuations
-destructors io.sockets io.sockets.icmp io.timeouts kernel
-locals pack random sequences system ;
+USING: accessors calendar checksums checksums.internet
+combinators.smart continuations destructors io.sockets
+io.sockets.icmp io.timeouts kernel pack random sequences system ;
IN: ping
<PRIVATE
-USING: help.markup help.syntax math sequences strings ;
+USING: help.markup help.syntax math sequences ;
IN: poker
HELP: best-holdem-hand
! Copyright (c) 2009 Aaron Schaefer, Doug Coleman. All rights reserved.
! The contents of this file are licensed under the Simplified BSD License
! A copy of the license is available at http://factorcode.org/license.txt
-USING: arrays ascii assocs combinators fry kernel lexer locals
-math math.bitwise math.combinatorics math.order math.statistics
-poker.arrays random sequences sequences.extras
-sequences.product splitting strings ;
+USING: arrays ascii assocs combinators kernel lexer math
+math.bitwise math.combinatorics math.order math.statistics
+poker.arrays random sequences sequences.extras sequences.product
+splitting strings ;
IN: poker
! The algorithm used is based on Cactus Kev's Poker Hand Evaluator with
USING: accessors arrays calendar colors
-combinators.short-circuit fonts fry kernel literals locals math
-math.order ranges math.vectors namespaces opengl random
-sequences timers ui ui.commands ui.gadgets ui.gadgets.worlds
-ui.gestures ui.pens.solid ui.render ui.text ;
+combinators.short-circuit fonts kernel literals math math.order
+math.vectors namespaces opengl random ranges sequences timers ui
+ui.commands ui.gadgets ui.gadgets.worlds ui.gestures
+ui.pens.solid ui.render ui.text ;
IN: pong
! Copyright (C) 2009 Elie Chaftari.
! See http://factorcode.org/license.txt for BSD license.
-USING: arrays assocs help.markup help.syntax kernel math
-sequences strings ;
+USING: arrays assocs help.markup help.syntax math sequences
+strings ;
IN: pop3
HELP: <pop3-account>
! Copyright (C) 2009 Elie Chaftari.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors annotations arrays assocs calendar combinators
-fry hashtables io io.crlf io.encodings.utf8 io.sockets
-io.streams.duplex io.timeouts kernel make math math.parser
-ranges namespaces prettyprint sequences splitting
-strings ;
+USING: accessors assocs calendar combinators io io.crlf
+io.encodings.utf8 io.sockets io.streams.duplex io.timeouts
+kernel make math math.parser namespaces ranges sequences
+splitting ;
IN: pop3
TUPLE: pop3-account
! Copyright (C) 2009 Elie Chaftari.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors calendar combinators concurrency.promises
-destructors fry io io.crlf io.encodings.utf8 io.sockets
-io.sockets.secure.debug io.streams.duplex io.timeouts
-kernel locals math.parser namespaces prettyprint sequences
-splitting threads ;
+destructors io io.crlf io.encodings.utf8 io.sockets
+io.sockets.secure.debug io.streams.duplex io.timeouts kernel
+math.parser namespaces sequences threads ;
IN: pop3.server
! Mock POP3 server for testing purposes.
! Copyright (C) 2011 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: help.markup help.syntax kernel quotations threads ;
+USING: help.markup help.syntax quotations threads ;
IN: progress-bars.models
HELP: set-progress-bar
! Copyright (C) 2011 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors calendar fonts fry io io.files io.files.info
-kernel math models models.arrow namespaces progress-bars
-threads ui.gadgets.labels ui.gadgets.panes ;
+USING: accessors calendar fonts io io.files io.files.info kernel
+math models models.arrow namespaces progress-bars threads
+ui.gadgets.labels ui.gadgets.panes ;
IN: progress-bars.models
SYMBOL: progress-bar
! Copyright (C) 2011 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: help.markup help.syntax kernel math strings ;
+USING: help.markup help.syntax math strings ;
IN: progress-bars
HELP: make-progress-bar
! Copyright (c) 2007 Aaron Schaefer, Daniel Ehrenberg.
! See http://factorcode.org/license.txt for BSD license.
-USING: hashtables kernel math math.functions ranges project-euler.common
- sequences sorting sets ;
+USING: kernel math math.functions project-euler.common ranges
+sequences sets sorting ;
IN: project-euler.004
! http://projecteuler.net/index.php?section=problems&id=4
! Copyright (c) 2007, 2009 Aaron Schaefer.
! See http://factorcode.org/license.txt for BSD license.
-USING: math math.functions ranges project-euler.common sequences ;
+USING: math.functions project-euler.common ranges sequences ;
IN: project-euler.005
! http://projecteuler.net/index.php?section=problems&id=5
! Copyright (c) 2007 Aaron Schaefer.
! See http://factorcode.org/license.txt for BSD license.
-USING: lists math math.primes.lists project-euler.common ;
+USING: project-euler.common ;
IN: project-euler.007
! http://projecteuler.net/index.php?section=problems&id=7
! Copyright (c) 2007 Samuel Tardieu, Aaron Schaefer.
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel math ranges project-euler.common sequences ;
+USING: kernel project-euler.common ranges sequences ;
IN: project-euler.018
! http://projecteuler.net/index.php?section=problems&id=18
! Copyright (c) 2007 Samuel Tardieu, Aaron Schaefer.
! See http://factorcode.org/license.txt for BSD license.
-USING: calendar combinators kernel math ranges namespaces sequences
- math.order project-euler.common ;
+USING: calendar kernel math.order project-euler.common ranges
+sequences ;
IN: project-euler.019
! http://projecteuler.net/index.php?section=problems&id=19
! Copyright (c) 2007 Aaron Schaefer.
! See http://factorcode.org/license.txt for BSD license.
-USING: combinators.short-circuit kernel math math.functions
- ranges namespaces project-euler.common sequences ;
+USING: combinators.short-circuit kernel project-euler.common
+ranges sequences ;
IN: project-euler.021
! http://projecteuler.net/index.php?section=problems&id=21
! Copyright (c) 2008 Aaron Schaefer.
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel math.combinatorics project-euler.common
-sequences ;
+USING: math.combinatorics project-euler.common sequences ;
IN: project-euler.024
! http://projecteuler.net/index.php?section=problems&id=24
! Copyright (c) 2008 Aaron Schaefer.
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel math math.constants math.functions math.parser memoize
- project-euler.common sequences ;
+USING: kernel math math.constants math.functions math.parser
+project-euler.common sequences ;
IN: project-euler.025
! http://projecteuler.net/index.php?section=problems&id=25
! Copyright (c) 2008 Aaron Schaefer.
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel math math.functions math.primes ranges sequences project-euler.common ;
+USING: kernel math math.functions math.primes
+project-euler.common sequences ;
IN: project-euler.026
! http://projecteuler.net/index.php?section=problems&id=26
! Copyright (c) 2008 Aaron Schaefer.
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel math math.primes ranges project-euler.common sequences ;
+USING: kernel math math.primes project-euler.common sequences ;
IN: project-euler.027
! http://projecteuler.net/index.php?section=problems&id=27
! Copyright (c) 2008 Aaron Schaefer.
! See http://factorcode.org/license.txt for BSD license.
-USING: hashtables kernel math.functions ranges project-euler.common
- sequences sets ;
+USING: kernel math.functions project-euler.common ranges
+sequences sets ;
IN: project-euler.029
! http://projecteuler.net/index.php?section=problems&id=29
! Copyright (c) 2008 Aaron Schaefer.
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel math math.functions ranges project-euler.common sequences ;
+USING: kernel math math.functions project-euler.common sequences ;
IN: project-euler.030
! http://projecteuler.net/index.php?section=problems&id=30
-USING: alien destructors help.markup help.syntax python python.throwing
-quotations ;
+USING: alien destructors help.markup help.syntax quotations ;
IN: python
HELP: py-initialize
USING: alien.c-types classes.struct cocoa cocoa.application
-cocoa.classes cocoa.enumeration cocoa.plists core-foundation
-core-foundation.strings kernel ;
+cocoa.classes core-foundation core-foundation.strings kernel ;
IN: qtkit
STRUCT: QTTime
-USING: arrays assocs help.markup help.syntax math.rectangles quadtrees quotations sequences ;
+USING: arrays help.markup help.syntax math.rectangles quadtrees quotations sequences ;
IN: quadtrees
ARTICLE: "quadtrees" "Quadtrees"
! Copyright (C) 2018 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors alien.c-types classes.struct kernel locals math
+USING: accessors alien.c-types classes.struct kernel math
math.bitwise random sequences slots.syntax ;
IN: random.xoshiro
! Copyright (C) 2011 Erik Charlebois.
! See http://factorcode.org/license.txt for BSD license.
-USING: help.markup help.syntax vocabs.loader ;
+USING: help.markup help.syntax ;
IN: readline-listener
HELP: readline-listener
! Copyright (C) 2011 Erik Charlebois.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors assocs colors combinators fry io kernel
-listener readline sequences splitting threads tools.completion
+USING: accessors assocs colors combinators io kernel listener
+readline sequences splitting threads tools.completion
unicode.data vocabs vocabs.hierarchy ;
IN: readline-listener
! Copyright (C) 2011 Erik Charlebois.
! See http://factorcode.org/license.txt for BSD license.
-USING: arrays help.markup help.syntax math
-sequences.private vectors strings kernel math.order layouts
-quotations generic.single ;
+USING: help.markup help.syntax strings ;
IN: readline
HELP: readline
! Copyright (C) 2011 Erik Charlebois.
! See http://factorcode.org/license.txt for BSD license.
USING: alien.data alien.libraries alien.strings compiler.units
-destructors fry io.encodings.utf8 kernel libc sequences words ;
+destructors io.encodings.utf8 kernel libc sequences words ;
QUALIFIED: readline.ffi
IN: readline
! See http://factorcode.org/license.txt for BSD license
USING: accessors assocs calendar calendar.format colors
-combinators formatting fry http.client io io.styles json
+combinators formatting http.client io io.styles json
json.reader kernel make math sequences urls ;
IN: reddit
! Copyright (C) 2009 Bruno Deferrari
! See http://factorcode.org/license.txt for BSD license.
-USING: arrays assocs formatting io io.crlf kernel math
-math.parser sequences strings locals ;
+USING: arrays assocs formatting kernel math math.parser
+sequences strings ;
IN: redis.command-writer
<PRIVATE
! Copyright (c) 2012 Anonymous
! See http://factorcode.org/license.txt for BSD license.
-USING: bit-arrays formatting fry kernel math ranges
-sequences ;
+USING: bit-arrays formatting kernel math ranges sequences ;
IN: rosetta-code.100-doors
! http://rosettacode.org/wiki/100_doors
! Copyright (c) 2012 Anonymous
! See http://factorcode.org/license.txt for BSD license.
-USING: combinators locals kernel math ;
+USING: combinators kernel math ;
IN: rosetta-code.ackermann
! http://rosettacode.org/wiki/Ackermann_function
! Copyright (c) 2012 Anonymous
! See http://factorcode.org/license.txt for BSD license.
-USING: backtrack continuations kernel prettyprint sequences
-splitting ;
+USING: backtrack kernel prettyprint sequences splitting ;
IN: rosetta-code.amb
! http://rosettacode.org/wiki/Amb
! Copyright (c) 2012 Anonymous
! See http://factorcode.org/license.txt for BSD license.
-USING: assocs fry http.client io.encodings.utf8 io.files
+USING: assocs http.client io.encodings.utf8 io.files
io.files.temp kernel math math.combinatorics sequences sorting
strings urls ;
! Copyright (c) 2012 Anonymous
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays calendar colors kernel locals math
+USING: accessors arrays calendar colors kernel math
math.constants math.functions math.rectangles math.vectors
opengl sequences system timers ui ui.gadgets ui.render ;
-USING: accessors kernel locals math math.parser multiline peg.ebnf ;
+USING: accessors kernel math math.parser multiline peg.ebnf ;
IN: rosetta-code.arithmetic-evaluation
! http://rosettacode.org/wiki/Arithmetic_evaluation
! Copyright (c) 2012 Anonymous
! See http://factorcode.org/license.txt for BSD license.
-USING: arrays combinators io kernel locals math math.functions
+USING: arrays combinators io kernel math math.functions
ranges prettyprint sequences ;
IN: rosetta-code.continued-fraction
! Copyright (c) 2012 Anonymous
! See http://factorcode.org/license.txt for BSD license.
-USING: arrays locals math ranges sequences sets sorting ;
+USING: arrays math ranges sequences sets sorting ;
IN: rosetta-code.count-the-coins
! http://rosettacode.org/wiki/Count_the_coins
! Copyright (C) 2015 Alexander Ilin, Doug Coleman, John Benediktsson.
! See http://factorcode.org/license.txt for BSD license.
-USING: assocs fry kernel locals math ranges math.statistics
-math.vectors prettyprint random sequences sorting ;
+USING: assocs kernel math ranges math.statistics math.vectors
+prettyprint random sequences sorting ;
IN: rosetta-code.dice7
! http://rosettacode.org/wiki/Seven-sided_dice_from_five-sided_dice
! Copyright (c) 2012 Anonymous
! See http://factorcode.org/license.txt for BSD license.
-USING: io kernel math math.functions math.parser ranges
-sequences ;
+USING: io kernel math.functions math.parser ranges sequences ;
IN: rosetta-code.fizzbuzz
: fizz ( n -- str ) 3 divisor? "Fizz" "" ? ;
! Copyright (c) 2012 Anonymous
! See http://factorcode.org/license.txt for BSD license.
-USING: arrays kernel locals math math.parser ranges
-prettyprint sequences ;
+USING: arrays kernel math math.parser prettyprint ranges sequences ;
IN: rosetta-code.gray-code
! http://rosettacode.org/wiki/Gray_code
! Copyright (c) 2012 Anonymous
! See http://factorcode.org/license.txt for BSD license.
-USING: combinators fry kernel lists lists.lazy locals math ;
+USING: combinators kernel lists lists.lazy math ;
IN: rosetta-code.hamming-lazy
! http://rosettacode.org/wiki/Hamming_numbers#Factor
! Copyright (c) 2012 Anonymous
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors deques dlists fry kernel make math math.order ;
+USING: accessors deques dlists kernel make math math.order ;
IN: rosetta-code.hamming
! http://rosettacode.org/wiki/Hamming_numbers#Factor
! Copyright (c) 2012 Anonymous
! See http://factorcode.org/license.txt for BSD license.
-USING: assocs fry io.encodings.utf8 io.files kernel sequences
-sets splitting vectors ;
+USING: assocs io.encodings.utf8 io.files kernel sequences sets
+splitting vectors ;
IN: rosetta-code.inverted-index
! http://rosettacode.org/wiki/Inverted_index
-USING: kernel locals math ranges sequences ;
+USING: kernel math ranges sequences ;
IN: rosetta-code.josephus-problem
! http://rosettacode.org/wiki/Josephus_problem
! Copyright (c) 2012 Anonymous
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors combinators kernel locals math math.order
+USING: accessors combinators kernel math math.order
math.vectors sequences sequences.product combinators.short-circuit ;
IN: rosetta-code.knapsack-unbounded
! Copyright (c) 2012 Anonymous
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays fry io kernel locals make math
-math.order math.parser ranges sequences sorting ;
+USING: accessors arrays io kernel make math math.order
+math.parser ranges sequences sorting ;
IN: rosetta-code.knapsack
! http://rosettacode.org/wiki/Knapsack_problem/0-1
-USING: accessors arrays assocs combinators fry generalizations
-grouping growable kernel locals make math math.order ranges
-sequences sequences.deep sequences.private shuffle sorting
-splitting vectors ;
+USING: accessors arrays assocs combinators generalizations
+grouping growable kernel math math.order ranges sequences
+sequences.private shuffle sorting splitting vectors ;
IN: sequences.extras
: find-all ( ... seq quot: ( ... elt -- ... ? ) -- ... elts )
-USING: help.markup help.syntax sequences splitting strings ;
+USING: help.markup help.syntax sequences splitting ;
IN: splitting.extras
HELP: split*-when
! Copyright (C) 2008 Alex Chapman
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors alien combinators kernel locals math
-ranges openal sequences sequences.merged specialized-arrays ;
+USING: accessors alien alien.c-types combinators kernel math
+openal sequences sequences.merged specialized-arrays ;
FROM: alien.c-types => short uchar ;
SPECIALIZED-ARRAY: uchar
SPECIALIZED-ARRAY: short
sequences sequences.modified sequences.repeating ;
IN: synth
+SLOT: sample-freq
+
MEMO: single-sine-wave ( samples/wave -- seq )
[ <iota> ] [ pi 2 * swap / [ * sin ] curry ] bi map ;
! Copyright (C) 2008 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors kernel math math.order sequences ;
+USE: taxes.usa.w4
IN: taxes.usa
! Withhold: FICA, Medicare, Federal (FICA is social security)
! Copyright (C) 2009, 2010 Joe Groff, Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors assocs combinators hashtables http
-http.client json.reader kernel macros make namespaces sequences
-io.sockets.secure fry oauth1 urls ;
+USING: accessors assocs combinators http.client
+io.sockets.secure json.reader kernel make namespaces oauth1
+sequences urls ;
IN: twitter
! Configuration
! Copyright (C) 2011 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: assocs combinators continuations fry kernel lexer locals
+USING: assocs combinators continuations kernel lexer
math math.functions math.order math.parser sequences splitting ;
IN: units.reduction
! Copyright (C) 2010 Joe Groff.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays combinators definitions fry kernel
+USING: accessors arrays combinators definitions kernel
locals.types namespaces parser quotations see sequences slots
words ;
FROM: kernel.private => declare ;
furnace.redirection help.html help.topics html.components
html.forms http.server http.server.dispatchers
http.server.static io.directories io.files.temp io.servers
-kernel locals namespaces sequences unicode urls ;
+kernel namespaces sequences unicode urls ;
IN: webapps.help
TUPLE: help-webapp < dispatcher ;
! Copyright (C) 2010 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors assocs db.tuples furnace.actions
-furnace.utilities http.server.responses kernel locals sequences
+furnace.utilities http.server.responses kernel sequences
splitting urls xml.syntax xml.writer webapps.mason.backend
webapps.mason.version.data webapps.mason.utils ;
IN: webapps.mason.grids
! Copyright (C) 2010 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors calendar db db.tuples db.types kernel locals
+USING: accessors calendar db db.tuples db.types kernel
webapps.mason.version.files sequences ;
IN: webapps.mason.version.data
! Copyright (C) 2010 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors bitly combinators db.tuples debugger fry
-grouping io io.streams.string kernel locals make sequences
+USING: accessors bitly combinators db.tuples debugger
+grouping io io.streams.string kernel make sequences
threads mason.email mason.twitter webapps.mason.backend
webapps.mason.version.common webapps.mason.version.data
webapps.mason.version.files webapps.mason.version.source
db.types fry furnace.actions furnace.auth furnace.boilerplate
furnace.redirection furnace.syndication html.components
html.forms http.server.dispatchers http.server.static kernel
-locals logging sequences sorting syndication timers urls
+logging sequences sorting syndication timers urls
validators ;
IN: webapps.planet
! Copyright (C) 2009 Joe Groff.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors assocs kernel locals sequences ui
-ui.gadgets ui.gadgets.worlds ;
+USING: accessors assocs kernel sequences ui ui.gadgets ui.gadgets.worlds ;
IN: window-controls-demo
CONSTANT: window-control-sets-to-test
! Copyright (C) 2010 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors alien.c-types alien.data classes.struct
-endian kernel literals locals make math math.bitwise
+endian kernel literals make math math.bitwise
sequences slots.syntax ui.backend.windows ui.gadgets.worlds
windows.errors windows.gdi32 windows.shcore windows.types
windows.user32 ;
USING:
alien alien.data alien.libraries alien.syntax
- destructors endian formatting kernel libc locals
+ destructors endian formatting kernel libc
math math.bitwise
sequences windows.types
;
! Copyright (C) 2006 Daniel Ehrenberg, Walton Chan
! See http://factorcode.org/license.txt for BSD license.
USING: http.client xml xml.traversal kernel sequences
-math.parser urls accessors locals ;
+math.parser urls accessors ;
IN: yahoo
TUPLE: result title url summary ;
USING: accessors alien.c-types alien.data assocs classes.struct
combinators continuations destructors io io.backend
io.encodings.ascii io.encodings.string io.encodings.utf8
-io.launcher kernel libc locals math.parser prettyprint sequences
+io.launcher kernel libc math.parser prettyprint sequences
yaml.ffi yaml.private ;
IN: yaml.dbg
! Copyright (C) 2014 Jon Harper.
! See http://factorcode.org/license.txt for BSD license.
-USING: assocs grouping kernel linked-assocs literals locals
+USING: assocs grouping kernel linked-assocs literals
namespaces sequences tools.test yaml yaml.config yaml.ffi
yaml.private calendar yaml.conversion ;
IN: yaml.tests
classes.struct combinators combinators.extras
combinators.short-circuit destructors fry generalizations
hashtables hashtables.identity io.encodings.string
-io.encodings.utf8 kernel libc linked-assocs locals make math
+io.encodings.utf8 kernel libc linked-assocs make math
math.parser namespaces sequences sets strings yaml.config
yaml.conversion yaml.ffi hash-sets.identity ;
IN: yaml
! Copyright (C) 2010 Dmitry Shubin.
! See http://factorcode.org/license.txt for BSD license.
-USING: arrays kernel locals math ranges sequences
-sequences.private ;
+USING: arrays kernel math ranges sequences sequences.private ;
IN: z-algorithm
: lcp ( seq1 seq2 -- n )