-USING: alien help.syntax help.markup libc kernel.private
-byte-arrays strings hashtables alien.syntax alien.strings
-sequences io.encodings.string debugger destructors vocabs.loader
-classes.struct math kernel ;
+USING: alien alien.syntax byte-arrays classes.struct help.markup
+help.syntax kernel math sequences ;
IN: alien.c-types
HELP: heap-size
! Copyright (C) 2009 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors alien alien.c-types classes.struct functors
-kernel math math.functions quotations ;
+kernel math quotations ;
IN: alien.complex.functor
<FUNCTOR: define-complex-type ( N T -- )
-USING: alien alien.c-types help.syntax help.markup libc
-kernel.private byte-arrays math strings hashtables alien.syntax
-alien.strings sequences io.encodings.string debugger destructors
-vocabs.loader classes.struct quotations kernel ;
+USING: alien alien.c-types alien.strings alien.syntax
+byte-arrays classes.struct destructors help.markup help.syntax
+io.encodings.string kernel libc math quotations sequences
+strings ;
IN: alien.data
HELP: >c-array
! Copyright (C) 2011 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors alien.accessors alien.c-types alien.data arrays
-classes.struct.private combinators compiler.units endian fry
-generalizations kernel macros math math.bitwise namespaces
-sequences slots words ;
+classes.struct.private combinators compiler.units endian
+generalizations kernel math math.bitwise namespaces sequences
+slots words ;
QUALIFIED-WITH: alien.c-types c
IN: alien.endian
! Copyright (C) 2013 Björn Lindqvist, Doug Coleman.
! See http://factorcode.org/license.txt for BSD license
USING: alien.libraries.finder arrays assocs
-combinators.short-circuit environment fry io io.encodings.utf8
-io.launcher kernel locals make sequences sets splitting system
+combinators.short-circuit environment io io.encodings.utf8
+io.launcher kernel make sequences sets splitting system
unicode ;
IN: alien.libraries.finder.linux
! Copyright (C) 2013 Björn Lindqvist, John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: alien.data alien.libraries.finder alien.strings arrays
-byte-arrays combinators.short-circuit environment io.backend
-io.files io.files.info io.pathnames kernel sequences
+USING: alien.c-types alien.data alien.libraries.finder
+alien.strings arrays combinators.short-circuit environment
+io.backend io.files io.files.info io.pathnames kernel sequences
specialized-arrays splitting system system-info.windows
-windows.kernel32 windows.types ;
+windows.kernel32 ;
FROM: alien.c-types => ushort ;
SPECIALIZED-ARRAY: ushort
-
IN: alien.libraries.finder.windows
<PRIVATE
USING: interpolate io io.encodings.ascii io.files io.files.temp
-io.launcher io.streams.string kernel locals sequences system ;
+io.launcher io.streams.string kernel sequences system ;
IN: alien.remote-control.tests
: compile-file ( contents -- )
! Copyright (C) 2008 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
USING: alien alien.c-types alien.data alien.strings
-combinators.short-circuit fry kernel layouts sequences accessors
+combinators.short-circuit kernel layouts sequences
specialized-arrays ;
IN: alien.utilities
! 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: atk.ffi
<< "gobject.ffi" require >>
-USING: help.markup help.syntax kernel math sequences ;
+USING: help.markup help.syntax sequences ;
IN: base64
HELP: >base64
! Copyright (C) 2008, 2010 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays combinators kernel locals math
-math.order sequences sequences.private vectors ;
+USING: arrays combinators kernel math math.order sequences
+sequences.private vectors ;
IN: binary-search
<PRIVATE
-USING: help.markup help.syntax sequences math ;
+USING: help.markup help.syntax math sequences ;
IN: bit-sets
ARTICLE: "bit-sets" "Bit sets"
USING: bit-vectors kernel prettyprint.custom ;
+IN: bit-vectors.prettyprint
M: bit-vector >pprint-sequence ;
M: bit-vector pprint-delims drop \ ?V{ \ } ;
-USING: help.markup help.syntax kernel strings math byte-arrays accessors ;
+USING: help.markup help.syntax kernel math byte-arrays accessors ;
IN: bitstreams
! Copyright (C) 2009 Alec Berryman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays bit-arrays fry kernel kernel.private
-layouts locals math math.functions math.order math.private
+USING: accessors arrays bit-arrays kernel kernel.private
+layouts math math.functions math.order math.private
ranges multiline sequences sequences.private typed ;
IN: bloom-filters
USING: bootstrap.image.private compiler.codegen.relocation
compiler.constants compiler.units cpu.arm.assembler
cpu.arm.assembler.opcodes generic.single.private
-kernel kernel.private layouts locals locals.backend
+kernel kernel.private layouts locals.backend
math math.private memory namespaces sequences slots.private
strings.private threads.private vocabs ;
IN: bootstrap.arm
! See http://factorcode.org/license.txt for BSD license.
USING: bootstrap.image.private compiler.codegen.relocation
compiler.constants cpu.x86.assembler cpu.x86.assembler.operands
-generic.single.private kernel kernel.private layouts locals math
+generic.single.private kernel kernel.private layouts math
math.private namespaces threads.private ;
IN: bootstrap.x86
! Copyright (C) 2010 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
USING: compiler.codegen.relocation compiler.constants cpu.x86.assembler
-cpu.x86.assembler.operands kernel kernel.private layouts locals parser
+cpu.x86.assembler.operands kernel kernel.private layouts parser
sequences ;
IN: bootstrap.x86
! See http://factorcode.org/license.txt for BSD license.
USING: bootstrap.image.private compiler.codegen.relocation
compiler.constants cpu.x86.assembler cpu.x86.assembler.operands
-generic.single.private kernel kernel.private layouts locals math
+generic.single.private kernel kernel.private layouts math
math.private namespaces threads.private ;
IN: bootstrap.x86
! See http://factorcode.org/license.txt for BSD license.
USING: bootstrap.image.private compiler.codegen.relocation
compiler.constants compiler.units cpu.x86.assembler
-cpu.x86.assembler.operands kernel kernel.private layouts locals
-locals.backend math math.private memory namespaces sequences
+cpu.x86.assembler.operands kernel kernel.private layouts
+locals.backend math math.private namespaces sequences
slots.private strings.private vocabs ;
IN: bootstrap.x86
! Copyright (C) 2010 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
USING: compiler.constants cpu.x86.assembler
-cpu.x86.assembler.operands layouts locals ;
+cpu.x86.assembler.operands layouts ;
IN: bootstrap.x86
: tib-exception-list-offset ( -- n ) 0 bootstrap-cells ;
USING: alien alien.strings arrays assocs byte-arrays
-io.encodings.ascii kernel kernel.private locals math quotations
+io.encodings.ascii kernel kernel.private math quotations
sequences sequences.generalizations sequences.private strings words ;
IN: bootstrap.image.primitives
! Copyright (C) 2010 Anton Gorenko.
! See http://factorcode.org/license.txt for BSD license.
USING: alien alien.c-types alien.destructors alien.libraries
-alien.syntax assocs classes.struct combinators kernel system ;
+alien.syntax classes.struct combinators system ;
IN: cairo.ffi
! Adapted from cairo.h, version 1.8.10
! Copyright (C) 2008 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: arrays kernel math strings help.markup help.syntax
-math.order ;
+USING: help.markup help.syntax kernel math math.order ;
IN: calendar
HELP: duration
! Copyright (C) 2008, 2010 Slava Pestov, Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays calendar calendar.english combinators
+USING: accessors calendar calendar.english combinators
formatting grouping io io.streams.string kernel make math
math.order math.parser math.parser.private ranges present
quotations sequences splitting strings words ;
-USING: accessors calendar classes.struct combinators kernel math
-math.functions system windows.errors windows.kernel32 ;
+USING: accessors calendar combinators kernel math math.functions
+system windows.errors windows.kernel32 ;
IN: calendar.windows
: timestamp>SYSTEMTIME ( timestamp -- SYSTEMTIME )
-USING: arrays assocs calendar cbor kernel literals locals math
+USING: arrays assocs calendar cbor kernel literals math
math.parser ranges tools.test urls ;
{
! See http://factorcode.org/license.txt for BSD license.
!
! Channels - based on ideas from newsqueak
-USING: kernel sequences threads continuations
-random math accessors ;
+USING: accessors kernel random sequences threads ;
IN: channels
TUPLE: channel receivers senders ;
! See http://factorcode.org/license.txt for BSD license.
!
! Examples of using channels
-USING: kernel threads channels math namespaces
-locals sequences ;
+USING: kernel threads channels math sequences ;
IN: channels.examples
: (counter) ( channel n -- )
! Copyright (C) 2007 Chris Double.
! See http://factorcode.org/license.txt for BSD license.
-USING: channels concurrency.distributed help.markup help.syntax
-io.servers strings ;
+USING: channels help.markup help.syntax io.servers strings ;
IN: channels.remote
HELP: <remote-channel>
! See http://factorcode.org/license.txt for BSD license.
!
! Remote Channels
-USING: kernel init namespaces assocs arrays random
-sequences channels match concurrency.messaging
-concurrency.distributed threads accessors ;
+USING: accessors assocs channels concurrency.distributed
+concurrency.messaging init kernel match namespaces random
+threads ;
IN: channels.remote
<PRIVATE
! Copyright (C) 2008 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: checksums classes.singleton kernel math ranges
-math.vectors sequences ;
+USING: checksums kernel math ranges math.vectors sequences ;
IN: checksums.adler-32
SINGLETON: adler-32
! Copyright (C) 2006, 2008 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors byte-arrays byte-vectors checksums endian
-grouping kernel locals make math sequences ;
+grouping kernel make math sequences ;
IN: checksums.common
: calculate-pad-length ( length -- length' )
-USING: help.markup help.syntax math ;
+USING: help.markup help.syntax ;
IN: checksums.crc16
HELP: crc16
! Copyright (C) 2013 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: checksums endian grouping kernel locals math sequences
-;
+USING: checksums endian grouping kernel math sequences ;
IN: checksums.fletcher
! Copyright (C) 2009 Alaric Snell-Pym
! See http://factorcode.org/license.txt for BSD license.
-USING: checksums classes.singleton kernel math ranges
-math.vectors sequences ;
+USING: checksums kernel math sequences ;
IN: checksums.fnv1
SINGLETON: fnv1-32
! Copyright (C) 2008 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays checksums checksums.common
-io.encodings.binary io.files io.streams.byte-array kernel locals
-math math.vectors sequences ;
+USING: accessors arrays checksums io.encodings.binary
+io.files io.streams.byte-array kernel math math.vectors
+sequences ;
IN: checksums.hmac
<PRIVATE
! Copyright (C) 2009 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: assocs checksums grouping kernel locals math sequences ;
+USING: assocs checksums grouping kernel math sequences ;
IN: checksums.interleave
: seq>2seq ( seq -- seq1 seq2 )
! Copyright (C) 2006, 2008 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors alien.c-types alien.data byte-arrays checksums
-checksums.common combinators fry grouping hints kernel
-kernel.private literals locals macros math math.bitwise
+checksums.common combinators grouping hints kernel
+kernel.private literals math math.bitwise
math.functions sequences sequences.private specialized-arrays ;
SPECIALIZED-ARRAY: uint
IN: checksums.md5
! Copyright (C) 2018 John Benediktsson.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors alien.c-types alien.data byte-arrays checksums
-combinators endian grouping kernel locals math math.bitwise
-sequences specialized-arrays ;
-SPECIALIZED-ARRAY: uint64_t
-SPECIALIZED-ARRAY: uint32_t
-SPECIALIZED-ARRAY: uint16_t
+combinators endian grouping kernel math math.bitwise sequences ;
IN: checksums.metrohash
! See http://factorcode.org/license.txt for BSD license.
USING: accessors alien alien.c-types alien.data byte-arrays
-checksums endian fry grouping kernel math math.bitwise
+checksums endian grouping kernel math math.bitwise
ranges sequences ;
IN: checksums.murmur
! Copyright (C) 2017 Jon Harper.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors alien.c-types alien.data byte-arrays checksums
-checksums.common combinators fry grouping hints kernel
-kernel.private literals locals macros math math.bitwise
-math.functions sequences sequences.private specialized-arrays ;
+checksums.common combinators grouping hints kernel
+kernel.private math math.bitwise sequences sequences.private
+specialized-arrays ;
SPECIALIZED-ARRAY: uint
IN: checksums.ripemd
! Copyright (C) 2008 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors alien.c-types arrays checksums checksums.common
-combinators combinators.smart endian fry grouping kernel
-kernel.private literals locals math math.bitwise ranges
+USING: accessors alien.c-types checksums checksums.common
+combinators combinators.smart endian grouping kernel
+kernel.private literals math math.bitwise ranges
sequences sequences.generalizations sequences.private
specialized-arrays ;
SPECIALIZED-ARRAY: uint
! See http://factorcode.org/license.txt for BSD license.
USING: accessors alien alien.c-types alien.data byte-arrays
-checksums combinators endian fry grouping kernel math
-math.bitwise ranges sequences sequences.private ;
+checksums endian grouping kernel math math.bitwise ranges
+sequences sequences.private ;
IN: checksums.superfast
! See http://factorcode.org/license.txt for BSD license
USING: accessors alien.c-types alien.data byte-arrays checksums
-endian grouping kernel literals math math.bitwise math.order
-sequences sequences.generalizations sequences.private
-specialized-arrays ;
-SPECIALIZED-ARRAY: uint64_t
+endian grouping kernel math math.bitwise
+sequences sequences.generalizations sequences.private ;
IN: checksums.wyhash
<PRIVATE
! Copyright (C) 2014 John Benediktsson.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors alien alien.c-types alien.data byte-arrays
+USING: accessors alien.c-types alien.data byte-arrays
checksums combinators endian generalizations grouping kernel
-locals math math.bitwise ranges sequences
-specialized-arrays ;
-SPECIALIZED-ARRAY: uint64_t
+math math.bitwise sequences ;
IN: checksums.xxhash
! Copyright (C) 2008 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: help.markup help.syntax io.streams.string sequences
-math kernel quotations ;
+USING: help.markup help.syntax sequences math kernel quotations ;
IN: circular
HELP: <circular-string>
! Copyright (C) 2009, 2011 Joe Groff, Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors alien alien.c-types alien.data
-alien.prettyprint arrays assocs classes classes.struct
-combinators combinators.short-circuit continuations fry kernel
-libc make math math.parser mirrors prettyprint.backend
-prettyprint.custom prettyprint.sections see.private sequences
-slots strings summary words ;
+USING: accessors alien alien.prettyprint arrays assocs classes
+classes.struct combinators combinators.short-circuit
+continuations kernel libc make math math.parser mirrors
+prettyprint.backend prettyprint.custom prettyprint.sections
+see.private sequences slots summary ;
IN: classes.struct.prettyprint
<PRIVATE
! 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
-io.encodings.utf8 kernel lexer locals locals.parser locals.types
+io.encodings.utf8 kernel lexer locals.parser locals.types
make namespaces parser sequences words ;
IN: cocoa.subclassing
! Copyright (C) 2017 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
USING: alien.c-types cocoa cocoa.classes cocoa.messages
-cocoa.runtime combinators core-foundation.strings kernel locals ;
+cocoa.runtime combinators core-foundation.strings kernel ;
IN: cocoa.touchbar
: make-touchbar ( seq self -- touchbar )
! Copyright (C) 2013 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: arrays colors colors.hsl kernel locals math.functions
+USING: arrays colors colors.hsl kernel math.functions
ranges sequences tools.test ;
{ t } [
! Copyright (C) 2012 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: accessors colors combinators kernel locals math
-math.order ;
+USING: accessors colors combinators kernel math math.order ;
IN: colors.hsl
! Copyright (C) 2008 Eduardo Cavazos.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays colors combinators fry kernel locals
-math math.functions random sequences sorting ;
+USING: accessors colors combinators kernel math math.functions
+random sequences sorting ;
IN: colors.hsv
! h [0,360)
! Copyright (C) 2022 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: arrays colors colors.hwb kernel locals math.functions
+USING: arrays colors colors.hwb kernel math.functions
ranges sequences tools.test ;
{ t } [
! See http://factorcode.org/license.txt for BSD license
USING: accessors colors colors.gray colors.hsl combinators
-kernel locals math math.order ;
+kernel math math.order ;
IN: colors.hwb
! Copyright (C) 2014 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: arrays colors colors.lab kernel locals math.functions
+USING: arrays colors colors.lab kernel math.functions
ranges sequences tools.test ;
{ t } [
! See http://factorcode.org/license.txt for BSD license
USING: accessors colors colors.xyz colors.xyz.private kernel
-locals math math.functions ;
+math math.functions ;
IN: colors.lab
! Copyright (C) 2014 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: arrays colors colors.lch kernel locals math.functions
+USING: arrays colors colors.lch kernel math.functions
ranges sequences tools.test ;
{ t } [
! See http://factorcode.org/license.txt for BSD license
USING: accessors colors colors.lab colors.luv colors.xyz kernel
-locals math math.functions math.libm math.trig ;
+math math.functions math.libm math.trig ;
IN: colors.lch
! Copyright (C) 2014 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: arrays colors colors.luv kernel locals math.functions
+USING: arrays colors colors.luv kernel math.functions
ranges sequences tools.test ;
{ t } [
! See http://factorcode.org/license.txt for BSD license
USING: accessors colors colors.xyz colors.xyz.private kernel
-locals math math.functions ;
+math math.functions ;
IN: colors.luv
! Copyright (C) 2013 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: colors kernel locals math sequences ;
+USING: colors kernel math sequences ;
IN: colors.mix
: linear-gradient ( color1 color2 percent -- color )
! Copyright (C) 2013 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: arrays colors colors.ryb kernel locals math.functions
+USING: arrays colors colors.ryb kernel math.functions
ranges sequences tools.test ;
{ t } [
! Copyright (C) 2013 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: accessors colors kernel locals math math.order ;
+USING: accessors colors kernel math math.order ;
IN: colors.ryb
! Copyright (C) 2014 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: accessors colors colors.xyz kernel locals math ;
+USING: accessors colors colors.xyz kernel math ;
IN: colors.xyy
! Copyright (C) 2014 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: arrays colors colors.xyz kernel locals math.functions
+USING: arrays colors colors.xyz kernel math.functions
ranges sequences tools.test ;
{ t } [
! Copyright (C) 2014 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: accessors colors kernel locals math math.functions
+USING: accessors colors kernel math math.functions
math.order ;
IN: colors.xyz
! Copyright (C) 2013 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: arrays colors colors.yiq kernel locals math.functions
+USING: arrays colors colors.yiq kernel math.functions
ranges sequences tools.test ;
{ t } [
! Copyright (C) 2012 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: accessors colors combinators kernel locals math
+USING: accessors colors combinators kernel math
math.order ;
IN: colors.yiq
! Copyright (C) 2013 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: accessors colors combinators kernel locals math
+USING: accessors colors combinators kernel math
math.order ;
IN: colors.yuv
! Copyright (C) 2010 Jon Harper.
! See http://factorcode.org/license.txt for BSD license.
-USING: assocs help.markup help.syntax kernel quotations
-combinators.random.private sequences ;
+USING: arrays combinators.random.private help.markup help.syntax
+kernel math quotations random sequences ;
IN: combinators.random
HELP: call-random
! Copyright (C) 2010 Jon Harper.
! See http://factorcode.org/license.txt for BSD license.
USING: arrays assocs combinators combinators.short-circuit
-kernel macros math math.order quotations random sequences
-summary ;
+kernel math math.order quotations random sequences summary ;
IN: combinators.random
: ifp ( p true false -- ) [ random-unit > ] 2dip if ; inline
! Copyright (C) 2008 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: help.markup help.syntax io.streams.string quotations ;
+USING: help.markup help.syntax quotations ;
IN: combinators.short-circuit.smart
HELP: &&
! Copyright (C) 2009 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays assocs combinators.smart kernel locals
+USING: accessors arrays assocs combinators.smart kernel
math random sequences stack-checker tools.test ;
IN: combinators.smart.tests
! Copyright (C) 2008, 2010 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors compiler.cfg.instructions compiler.cfg.linearization
-compiler.cfg.rpo compiler.cfg.stack-frame cpu.architecture kernel layouts
-locals math math.order namespaces sequences ;
+USING: accessors compiler.cfg.instructions
+compiler.cfg.linearization cpu.architecture kernel layouts math
+math.order namespaces sequences ;
IN: compiler.cfg.build-stack-frame
SYMBOLS: param-area-size allot-area-size allot-area-align ;
! See http://factorcode.org/license.txt for BSD license.
USING: accessors arrays assocs
compiler.cfg.linear-scan.allocation
-compiler.cfg.linear-scan.live-intervals fry kernel math
-namespaces prettyprint sequences strings ;
+compiler.cfg.linear-scan.live-intervals kernel math namespaces
+prettyprint sequences strings ;
IN: compiler.cfg.linear-scan.debugger
: check-linear-scan ( live-intervals machine-registers -- )
compiler.cfg.utilities compiler.cfg.value-numbering.graph
compiler.cfg.value-numbering.math
compiler.cfg.value-numbering.rewrite cpu.architecture
-endian generalizations grouping kernel locals make math
-sequences ;
+endian generalizations grouping kernel make math sequences ;
IN: compiler.cfg.value-numbering.simd
! Some lame constant folding for SIMD intrinsics. Eventually this
compiler.tree.builder compiler.tree.checker compiler.tree.def-use
compiler.tree.normalization compiler.tree.propagation
compiler.tree.propagation.info compiler.tree.recursive compiler.units
-fry hashtables kernel math namespaces sequences stack-checker
+hashtables kernel math namespaces sequences stack-checker
tools.test vectors vocabs words ;
IN: compiler.test
! See http://factorcode.org/license.txt for BSD license.
USING: accessors arrays assocs combinators
combinators.short-circuit compiler.tree compiler.tree.builder
-compiler.tree.checker compiler.tree.cleanup
-compiler.tree.combinators compiler.tree.dead-code
-compiler.tree.def-use compiler.tree.escape-analysis
-compiler.tree.identities compiler.tree.modular-arithmetic
-compiler.tree.normalization compiler.tree.optimizer
-compiler.tree.propagation compiler.tree.propagation.info
-compiler.tree.recursive compiler.tree.tuple-unboxing effects fry
-generic hints io kernel macros make match math namespaces
-prettyprint prettyprint.config prettyprint.custom
-prettyprint.sections quotations sequences sequences.private sets
-sorting words ;
+compiler.tree.cleanup compiler.tree.combinators
+compiler.tree.dead-code compiler.tree.def-use
+compiler.tree.escape-analysis compiler.tree.identities
+compiler.tree.modular-arithmetic compiler.tree.normalization
+compiler.tree.optimizer compiler.tree.propagation
+compiler.tree.recursive compiler.tree.tuple-unboxing effects
+generic hints io kernel make match math namespaces prettyprint
+prettyprint.config prettyprint.custom prettyprint.sections
+quotations sequences sequences.private sets sorting words ;
FROM: syntax => _ ;
RENAME: _ match => __
IN: compiler.tree.debugger
! See http://factorcode.org/license.txt for BSD license.
USING: accessors byte-arrays combinators compiler.cfg.builder
compiler.tree.propagation.info compiler.tree.propagation.nodes
-continuations cpu.architecture fry kernel layouts math
+continuations cpu.architecture kernel layouts math
math.intervals math.vectors.simd.intrinsics namespaces sequences
words ;
IN: compiler.tree.propagation.simd
! Copyright (C) 2020 Jacob Fischer, Abtin Molavi.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors arrays assocs bit-arrays byte-arrays
-combinators compression.huffman fry kernel literals locals make
-math math.bits math.order ranges namespaces sequences
-sequences.deep splitting vectors ;
+combinators compression.huffman kernel math math.bits math.order
+namespaces ranges sequences sequences.deep splitting vectors ;
IN: compression.gzip
<PRIVATE
! Copyright (C) 2009, 2020 Marc Fauconneau, Abtin Molavi, and Jacob Fischer.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors arrays assocs bit-arrays bitstreams combinators
-fry hashtables heaps io kernel locals math math.bits math.order
-math.parser ranges multiline namespaces sequences sorting
-vectors ;
+hashtables heaps kernel math math.bits math.order namespaces
+sequences sorting vectors ;
QUALIFIED-WITH: bitstreams bs
IN: compression.huffman
! Copyright (C) 2009, 2020 Marc Fauconneau, Abtin Molavi, Jacob Fischer.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays assocs byte-vectors combinators
-combinators.smart compression.huffman endian fry hashtables
-kernel literals locals math math.bitwise math.order ranges
-sequences sorting memoize combinators.short-circuit byte-arrays ;
+USING: accessors arrays assocs bitstreams byte-arrays
+byte-vectors combinators combinators.short-circuit
+combinators.smart compression.huffman endian kernel math
+math.bitwise ranges sequences sorting ;
QUALIFIED-WITH: bitstreams bs
IN: compression.inflate
! Copyright (C) 2009 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors combinators io kernel math math.order
-namespaces sequences vectors ;
+USING: accessors combinators kernel math math.order
+sequences vectors ;
QUALIFIED-WITH: bitstreams bs
IN: compression.lzw
! Copyright (C) 2009 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays combinators grouping kernel locals math
-math.matrices math.order multiline sequences.parser sequences
-tools.continuations ;
+USING: arrays combinators grouping kernel math math.matrices
+math.order sequences sequences.parser ;
IN: compression.run-length
: run-length-uncompress ( byte-array -- byte-array' )
! Copyright (C) 2014 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
USING: alien alien.c-types alien.libraries alien.syntax
-combinators classes.struct system ;
+combinators system ;
IN: compression.snappy.ffi
<< "snappy" {
! Copyright (C) 2013 Benjamin Pollack.
! See http://factorcode.org/license.txt for BSD license.
-USING: help.markup help.syntax kernel math strings byte-arrays ;
+USING: byte-arrays help.markup help.syntax ;
IN: compression.zlib
HELP: compress
! Copyright (C) 2009 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors alien alien.c-types alien.data alien.syntax
-byte-arrays byte-vectors classes.struct combinators
-compression.zlib.ffi continuations destructors fry kernel libc
-math math.functions ranges sequences system ;
+USING: accessors alien alien.c-types alien.data byte-vectors
+combinators compression.zlib.ffi continuations destructors
+kernel libc math math.functions ranges sequences ;
IN: compression.zlib
ERROR: zlib-failed n string ;
-USING: help.markup help.syntax sequences kernel ;
+USING: help.markup help.syntax kernel ;
IN: concurrency.exchangers
HELP: exchanger
USING: tools.test concurrency.exchangers
-concurrency.count-downs concurrency.promises locals kernel
+concurrency.count-downs concurrency.promises kernel
threads ;
FROM: sequences => 3append ;
IN: concurrency.exchangers.tests
USING: tools.test concurrency.flags concurrency.combinators
-kernel threads locals accessors calendar ;
+kernel threads accessors calendar ;
IN: concurrency.flags.tests
:: flag-test-1 ( -- val )
-USING: help.markup help.syntax sequences kernel quotations
-calendar ;
+USING: calendar help.markup help.syntax quotations ;
IN: concurrency.locks
HELP: lock
USING: tools.test concurrency.locks concurrency.count-downs
-concurrency.messaging concurrency.mailboxes locals kernel
+concurrency.messaging concurrency.mailboxes kernel
threads sequences calendar accessors ;
IN: concurrency.locks.tests
IN: concurrency.semaphores
-USING: help.markup help.syntax kernel quotations calendar ;
+USING: help.markup help.syntax quotations calendar ;
HELP: semaphore
{ $class-description "The class of counting semaphores. New instances can be created by calling " { $link <semaphore> } "." } ;
! Copyright (C) 2009 Slava Pestov, Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors assocs classes classes.tuple effects
-effects.parser fry kernel lexer locals macros parser
-sequences sequences.generalizations sets vocabs vocabs.parser
-words alien.parser ;
+effects.parser kernel lexer parser sequences
+sequences.generalizations sets words ;
IN: constructors
: all-slots-assoc ( class -- slots )
alien.syntax arrays assocs classes.struct combinators
core-foundation core-foundation.arrays core-foundation.run-loop
core-foundation.strings core-foundation.time destructors init
-io.encodings.utf8 kernel locals namespaces sequences
+io.encodings.utf8 kernel namespaces sequences
specialized-arrays unix.types ;
IN: core-foundation.fsevents
! See http://factorcode.org/license.txt for BSD license.
USING: tools.test core-text core-text.fonts core-foundation
core-foundation.dictionaries destructors arrays kernel
-generalizations locals math accessors core-foundation.utilities
+generalizations math accessors core-foundation.utilities
combinators hashtables colors ;
IN: core-text.tests
USING: accessors alien.c-types alien.syntax assocs combinators
core-foundation core-foundation.dictionaries
core-foundation.strings core-graphics.types destructors fonts
-init kernel locals math memoize unix.types ;
+init kernel math memoize unix.types ;
IN: core-text.fonts
TYPEDEF: void* CTFontRef
! Copyright (C) 2008, 2009 Alex Chapman
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors assocs continuations debugger fry hashtables http
+USING: accessors assocs continuations debugger hashtables http
http.client io io.encodings.string io.encodings.utf8 json.reader
-json.writer kernel locals make math math.parser namespaces sequences
+json.writer kernel make math math.parser namespaces sequences
strings urls.encoding vectors ;
IN: couchdb
! Copyright (C) 2011 Erik Charlebois.
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel namespaces words math math.order locals
-math.bitwise endian make ;
+USING: endian kernel make math math.bitwise ;
IN: cpu.ppc.assembler
! This vocabulary implements the V2.06B Power ISA found at http://www.power.org.
! Copyright (C) 2007, 2008 Phil Dawes, 2013 John Benediktsson
! See http://factorcode.org/license.txt for BSD license.
-USING: combinators fry io io.files io.streams.string kernel
-make math memoize namespaces sbufs sequences sequences.private
-unicode ;
+USING: combinators io io.files io.streams.string kernel make
+math namespaces sequences sequences.private unicode ;
IN: csv
SYMBOL: delimiter
! See http://factorcode.org/license.txt for BSD license
USING: accessors alien alien.c-types alien.data arrays checksums
-checksums.sha combinators.short-circuit kernel locals math
-math.bitwise random sequences ;
+checksums.sha combinators.short-circuit kernel math math.bitwise
+random sequences ;
IN: cuckoo-filters
! Copyright (C) 2008 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors assocs continuations destructors fry kernel
+USING: accessors assocs continuations destructors kernel
namespaces sequences strings ;
IN: db
! Copyright (C) 2008 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors kernel arrays namespaces sequences continuations
-io.pools db fry db.private ;
+USING: accessors db io.pools kernel namespaces ;
IN: db.pools
TUPLE: db-pool < pool db ;
! Copyright (C) 2009 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel db.errors peg.ebnf strings sequences math
-combinators.short-circuit accessors math.parser quoting
-locals multiline ;
+USING: accessors db.errors kernel math math.parser multiline
+peg.ebnf quoting sequences strings ;
IN: db.postgresql.errors
EBNF: parse-postgresql-sql-error [=[
! Copyright (C) 2008 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors arrays byte-arrays classes classes.tuple
-combinators continuations db db.errors db.private db.tuples
+combinators continuations db db.errors db.tuples
db.tuples.private db.types destructors kernel make math
-math.bitwise math.intervals math.parser namespaces nmake
-prettyprint random sequences shuffle strings words fry ;
+math.bitwise math.intervals math.parser namespaces nmake random
+sequences strings ;
IN: db.queries
GENERIC: where ( specs obj -- )
! Copyright (C) 2009 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors combinators db kernel sequences peg.ebnf
-strings db.errors multiline ;
+USING: db.errors kernel multiline peg.ebnf sequences strings ;
IN: db.sqlite.errors
TUPLE: unparsed-sqlite-error error ;
! See http://factorcode.org/license.txt for BSD license.
USING: accessors classes.tuple combinators db db.private db.queries
db.sqlite.errors db.sqlite.ffi db.sqlite.lib db.tuples
-db.tuples.private db.types destructors interpolate kernel locals math
+db.tuples.private db.types destructors interpolate kernel math
math.parser namespaces nmake random sequences sequences.deep ;
IN: db.sqlite
! Copyright (C) 2008 Slava Pestov, Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: concurrency.combinators db db.pools db.sqlite db.tuples
-db.types destructors kernel math random threads tools.test sequences
-io io.pools prettyprint db.postgresql accessors io.files.temp
-namespaces fry system math.parser db.queries assocs ;
+USING: accessors assocs concurrency.combinators db db.pools
+db.postgresql db.queries db.sqlite db.tuples db.types
+destructors io.files.temp kernel math math.parser namespaces
+random sequences system threads tools.test ;
IN: db.tester
: postgresql-test-db-name ( -- string )
! Copyright (C) 2008 Doug Coleman.
! Copyright (C) 2018 Alexander Ilin.
! See http://factorcode.org/license.txt for BSD license.
-USING: classes help.markup help.syntax io.streams.string kernel
-quotations sequences strings math db.types db.tuples.private db ;
+USING: classes db db.tuples.private db.types help.markup
+help.syntax kernel math quotations sequences strings ;
IN: db.tuples
HELP: random-id-generator
! Copyright (C) 2008 Doug Coleman.
! Copyright (C) 2018 Alexander Ilin.
! See http://factorcode.org/license.txt for BSD license.
-USING: arrays assocs classes db kernel namespaces
-classes.tuple words sequences slots math accessors
-math.parser io prettyprint continuations
-destructors mirrors sets db.types db.private fry
-combinators.short-circuit db.errors ;
+USING: accessors assocs classes classes.tuple
+combinators.short-circuit continuations db db.errors db.types
+destructors kernel math.parser namespaces sequences sets words ;
IN: db.tuples
HOOK: create-sql-statement db-connection ( class -- object )
! Copyright (C) 2010 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors alien.enums alien.syntax arrays calendar
-combinators combinators.smart constructors destructors endian
+combinators combinators.smart constructors endian
grouping io io.encodings.binary io.encodings.string
io.encodings.utf8 io.sockets io.sockets.private
io.streams.byte-array io.timeouts kernel make math math.bitwise
math.parser namespaces random sequences slots.syntax splitting
-system vectors vocabs strings ascii ;
+system vectors vocabs ascii ;
IN: dns
: with-input-seek ( n seek-type quot -- )
! Copyright (C) 2017 John Benediktsson, Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: ascii assocs checksums checksums.sha combinators fry
+USING: ascii assocs checksums checksums.sha combinators
kernel math math.functions math.parser ranges
math.statistics sequences sets sorting splitting strings uuid ;
IN: escape-strings
M: f compute-fixups 2drop { } ;
M: no-vocab compute-fixups
- name>> vocab-renames compute-assoc-fixups ;
+ [ name>> vocab-renames compute-assoc-fixups ] [ drop { } ] if* ;
M: no-word-error compute-fixups
- name>> word-renames compute-assoc-fixups ;
+ [ name>> word-renames compute-assoc-fixups ] [ drop { } ] if* ;
html.forms
html.templates
html.templates.chloe
-locals
http.server
http.server.filters
furnace.utilities ;
USING: accessors alien alien.c-types alien.data alien.strings
-arrays assocs byte-arrays combinators combinators.short-circuit
-continuations game.input game.input.dinput.keys-array
-io.encodings.utf16n kernel locals math
-math.bitwise math.rectangles namespaces parser sequences shuffle
-specialized-arrays ui.backend.windows vectors windows.com
-windows.directx.dinput windows.directx.dinput.constants
-windows.kernel32 windows.messages windows.ole32 windows.errors
-windows.user32 classes.struct ;
+arrays assocs byte-arrays classes.struct combinators
+combinators.short-circuit game.input
+game.input.dinput.keys-array kernel math math.bitwise
+math.rectangles namespaces sequences specialized-arrays
+ui.backend.windows vectors windows.com windows.directx.dinput
+windows.directx.dinput.constants windows.errors windows.kernel32
+windows.messages windows.ole32 windows.user32 ;
SPECIALIZED-ARRAY: DIDEVICEOBJECTDATA
IN: game.input.dinput
USING: alien alien.c-types alien.destructors alien.libraries
alien.syntax cairo.ffi classes.struct combinators
gobject-introspection gobject-introspection.standard-types
-kernel system vocabs vocabs.loader ;
+kernel system vocabs ;
IN: gdk.ffi
<<
! 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: gio.ffi
<< "gobject.ffi" require >>
USING: accessors combinators environment
gobject-introspection.common gobject-introspection.ffi
gobject-introspection.loader gobject-introspection.types io
-io.files io.pathnames kernel lexer locals make namespaces parser
+io.files io.pathnames kernel lexer make namespaces parser
sequences splitting summary vocabs vocabs.parser xdg xml ;
IN: gobject-introspection
! Copyright (C) 2010 Anton Gorenko.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors alien.c-types assocs combinators.short-circuit
-gobject-introspection.common gobject-introspection.repository kernel
-locals namespaces parser sequences sets ;
+gobject-introspection.common gobject-introspection.repository
+kernel namespaces parser sequences sets ;
IN: gobject-introspection.types
SYMBOL: type-infos
! Copyright (C) 2004, 2009 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors assocs combinators destructors fry html io
-io.backend io.pathnames io.styles kernel macros make math
-math.functions math.order math.parser namespaces sequences
-strings words splitting xml xml.syntax ;
+USING: accessors assocs combinators destructors html io
+io.styles kernel make math math.functions math.parser sequences
+strings xml.syntax ;
IN: html.streams
GENERIC: url-of ( object -- url )
! Copyright (C) 2005 Alex Chapman
! Copyright (C) 2006, 2010 Slava Pestov
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors combinators compiler.units html.templates io
+USING: accessors compiler.units html.templates io
io.encodings.utf8 io.files kernel lexer lexer.private math
namespaces parser parser.notes quotations sequences splitting
vocabs.parser ;
! See http://factorcode.org/license.txt for BSD license.
USING: accessors assocs destructors http io io.encodings.ascii
io.encodings.binary io.encodings.string io.encodings.utf8
-io.files io.files.info io.pathnames kernel math.parser
-namespaces sequences strings urls.encoding ;
+io.files io.files.info io.pathnames kernel math.parser sequences
+strings urls.encoding ;
IN: http.client.post-data
TUPLE: measured-stream stream size ;
-USING: assocs help.markup help.syntax io.streams.string sequences strings present math kernel byte-arrays urls
-calendar ;
+USING: calendar help.markup help.syntax kernel math present
+strings urls ;
IN: http
HELP: <request>
! Copyright (C) 2003, 2010 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors arrays ascii assocs base64 calendar calendar.format
-calendar.parser combinators fry hashtables http.parsers io io.crlf
+calendar.parser combinators hashtables http.parsers io io.crlf
io.encodings.iana io.encodings.utf8 kernel make math math.parser
mime.types present sequences sets sorting splitting urls ;
IN: http
! Copyright (C) 2008 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: combinators.short-circuit math math.order math.parser
-kernel sequences sequences.deep peg peg.parsers assocs arrays
-hashtables strings namespaces make ascii ;
+USING: arrays ascii combinators.short-circuit kernel make
+math.parser peg peg.parsers sequences sequences.deep strings ;
IN: http.parsers
: except ( quot -- parser )
IN: http.server.static
DEFER: file-responder ! necessary for cgi-docs
DEFER: <static> ! necessary for cgi-docs
-USING: calendar kernel math math.order math.parser namespaces
-parser sequences strings assocs hashtables debugger mime.types
-sorting logging calendar.parser accessors splitting io io.files
-io.files.info io.directories io.pathnames io.encodings.binary
-fry xml.entities destructors urls html xml.syntax
-html.templates.fhtml http http.server http.server.responses
-http.server.redirection xml.writer locals combinators ;
+USING: accessors assocs calendar.parser combinators destructors
+html html.templates.fhtml http http.server
+http.server.redirection http.server.responses io.directories
+io.encodings.binary io.files io.files.info io.pathnames kernel
+logging math.order math.parser mime.types namespaces sequences
+sorting splitting urls xml.syntax ;
QUALIFIED: sets
TUPLE: file-responder root hook special index-names allow-listings ;
! Copyright (C) 2009 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors alien.c-types alien.data destructors fry images
+USING: accessors alien.c-types alien.data destructors images
kernel libc math sequences ;
IN: images.memory
! Copyright (C) 2009 Marc Fauconneau.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays byte-arrays combinators grouping images
-kernel locals math math.order
-ranges math.vectors sequences sequences.deep fry ;
+USING: accessors arrays byte-arrays images kernel math
+math.order math.vectors sequences sequences.deep ;
IN: images.processing
: coord-matrix ( dim -- m )
! Copyright (C) 2009 Daniel Ehrenberg.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors alien.c-types arrays assocs binary-search
-classes combinators fry grouping kernel locals make math
+classes combinators grouping kernel locals make math
math.order sequences sequences.private sorting
specialized-arrays ;
SPECIALIZED-ARRAY: uint
! See http://factorcode.org/license.txt for BSD license.
USING: accessors arrays assocs bit-arrays byte-arrays classes
classes.tuple combinators combinators.short-circuit
-combinators.smart continuations effects fry generalizations
-kernel locals macros make math math.functions namespaces parser
+combinators.smart continuations effects generalizations
+kernel make math math.functions namespaces parser
quotations sbufs sequences sequences.generalizations slots
splitting stack-checker strings summary vectors words
words.symbol ;
! Copyright (C) 2008 Daniel Ehrenberg
! See http://factorcode.org/license.txt for BSD license.
-USING: help.syntax help.markup strings ;
+USING: help.syntax help.markup ;
IN: io.encodings.8-bit
HELP: ebcdic
! Copyright (C) 2008 Daniel Ehrenberg, Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays assocs classes.singleton fry generic
+USING: accessors arrays assocs classes.singleton generic
hashtables io io.encodings io.encodings.iana kernel lexer parser
sequences simple-flat-file words ;
IN: io.encodings.8-bit
! Copyright (C) 2009 Daniel Ehrenberg
! See http://factorcode.org/license.txt for BSD license.
-USING: help.markup help.syntax io.encodings strings ;
+USING: help.markup help.syntax ;
IN: io.encodings.utf32
ARTICLE: "io.encodings.utf32" "UTF-32 encoding"
-USING: alien alien.c-types continuations destructors
-help.markup help.syntax kernel math quotations
-specialized-arrays ;
+USING: alien alien.c-types destructors help.markup help.syntax
+quotations specialized-arrays ;
IN: io.mmap
HELP: mapped-file
USING: accessors destructors windows.privileges
-io.files.windows io.mmap io.mmap.private kernel literals locals
+io.files.windows io.mmap io.mmap.private kernel literals
math math.bitwise system windows.errors windows.handles
windows.kernel32 ;
IN: io.mmap.windows
! Copyright (C) 2008 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors kernel arrays namespaces sequences continuations
-destructors io.sockets alien alien.syntax ;
+USING: accessors alien continuations destructors io.sockets
+kernel namespaces sequences ;
IN: io.pools
TUPLE: pool connections disposed expired ;
! Copyright (C) 2003, 2010 Slava Pestov, Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays calendar combinators
-combinators.short-circuit concurrency.combinators
-concurrency.count-downs concurrency.flags
-concurrency.semaphores continuations debugger destructors fry
-io io.sockets io.sockets.secure io.streams.duplex io.styles
-io.timeouts kernel logging make math math.parser namespaces
-present prettyprint random sequences sets strings threads ;
+USING: accessors arrays calendar concurrency.flags
+concurrency.semaphores continuations destructors io io.sockets
+io.sockets.secure io.streams.duplex io.styles io.timeouts kernel
+logging make math namespaces present prettyprint random
+sequences sets strings threads ;
IN: io.servers
TUPLE: threaded-server < identity-tuple
! Copyright (C) 2006 Chris Double.
! See http://factorcode.org/license.txt for BSD license.
-USING: help.markup help.syntax kernel ;
+USING: help.markup help.syntax ;
IN: json.reader
HELP: json>
! Copyright (C) 2006 Chris Double.
! See http://factorcode.org/license.txt for BSD license.
-USING: help.markup help.syntax kernel lists math sequences
-strings ;
+USING: help.markup help.syntax lists math sequences strings ;
IN: lists.lazy
ABOUT: "lists.lazy"
! Copyright (C) 2004, 2008 Chris Double, Matthew Willis, James Cash.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays combinators io kernel lists locals math
+USING: accessors arrays combinators io kernel lists math
promises quotations sequences ;
IN: lists.lazy
-USING: help.markup help.syntax assocs logging math ;
+USING: help.markup help.syntax assocs logging ;
IN: logging.analysis
HELP: analyze-entries
! Copyright (C) 2008, 2010 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: logging.analysis logging.server logging smtp kernel
-io.files io.streams.string namespaces make timers assocs
-io.encodings.utf8 accessors calendar sequences locals ;
+USING: accessors calendar io.streams.string kernel logging
+logging.analysis make namespaces smtp timers ;
QUALIFIED: io.sockets
IN: logging.insomniac
+USING: help.markup help.syntax logging.server quotations strings
+words ;
IN: logging
-USING: help.markup help.syntax assocs math calendar
-logging.server strings words quotations ;
HELP: DEBUG
{ $description "Log level for debug messages." } ;
+USING: calendar help.markup help.syntax ;
IN: logging.parser
-USING: help.markup help.syntax assocs logging math calendar ;
HELP: parse-log
{ $values { "lines" "a sequence of strings" } { "entries" "a sequence of log entries" } }
USING: assocs calendar calendar.format combinators
concurrency.messaging continuations debugger destructors init io
io.directories io.encodings.utf8 io.files io.pathnames kernel
-locals math math.parser ranges namespaces sequences
-strings threads ;
+math math.parser ranges namespaces sequences strings threads ;
IN: logging.server
: log-root ( -- string )
! Copyright (C) 2006 Chris Double.
! See http://factorcode.org/license.txt for BSD license.
-USING: help.markup help.syntax namespaces assocs sequences
+USING: help.markup help.syntax namespaces assocs
kernel combinators ;
IN: match
!
! Based on pattern matching code from Paul Graham's book 'On Lisp'.
USING: assocs classes classes.tuple combinators kernel lexer
-macros make namespaces parser quotations sequences summary words
-;
+make namespaces parser quotations sequences summary words ;
IN: match
SYMBOL: _
-USING: help.markup help.syntax kernel math math.combinatorics
+USING: help.markup help.syntax math math.combinatorics
math.combinatorics.private math.order sequences ;
+IN: math.combinatorics
HELP: factorial
{ $values { "n" "a non-negative integer" } { "n!" integer } }
! Copyright (C) 2009 Joe Groff.
! See http://factorcode.org/license.txt for BSD license.
-USING: help help.markup help.syntax kernel quotations ;
+USING: help.markup help.syntax kernel math.floats.env quotations ;
IN: math.floats.env
HELP: fp-exception
! Copyright (C) 2009 Joe Groff.
! See http://factorcode.org/license.txt for BSD license.
-USING: alien.syntax arrays assocs biassocs combinators
-combinators.short-circuit continuations generalizations kernel
-literals locals math math.bitwise sequences sets system
-vocabs ;
+USING: arrays assocs combinators continuations generalizations
+kernel math math.bitwise sequences sets system vocabs ;
IN: math.floats.env
SINGLETONS:
USING: alien alien.c-types cpu.x86.64 cpu.x86.assembler
-cpu.x86.assembler.operands math.floats.env.x86 sequences system ;
+cpu.x86.assembler.operands math.floats.env.x86 system ;
IN: math.floats.env.x86.64
M: x86.64 get-sse-env
! Copyright (C) 2005, 2010, 2018, 2020 Slava Pestov, Joe Groff, and Cat Stevens.
-USING: accessors arrays assocs generic.single formatting locals help.markup help.markup.private help.syntax io
-kernel math math.functions math.order math.ratios math.vectors opengl.gl prettyprint
-sequences sequences.generalizations urls ;
+USING: arrays assocs help.markup help.markup.private help.syntax
+kernel math math.functions math.order math.vectors sequences
+sequences.generalizations ;
IN: math.matrices
<PRIVATE
! Copyright (C) 2005, 2010, 2018, 2020 Slava Pestov, Joe Groff, and Cat Stevens.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays classes.singleton columns combinators
-combinators.short-circuit combinators.smart formatting fry
-grouping kernel locals math math.bits math.functions math.order
-math.private ranges math.statistics math.vectors
-math.vectors.private sequences sequences.deep sequences.private
-slots.private summary ;
+USING: arrays combinators combinators.short-circuit kernel math
+math.functions math.order math.private math.vectors ranges
+sequences sequences.deep sequences.private slots.private ;
IN: math.matrices
! defined here because of issue #1943
! Copyright (C) 2008 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: arrays combinators fry kernel macros make math math.bits
-math.order math.vectors sequences splitting vectors ;
+USING: arrays combinators kernel make math math.bits
+math.vectors sequences vectors ;
IN: math.polynomials
<PRIVATE
! Copyright (C) 2009 Samuel Tardieu.
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel kernel.private locals math math.bitwise
+USING: kernel kernel.private math math.bitwise
math.functions math.order math.private ranges sequences
sequences.private ;
IN: math.primes.erato
! Copyright (C) 2015 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: bit-arrays fry kernel kernel.private literals locals math
-math.functions math.private ranges math.statistics
-sequences sequences.private ;
+USING: bit-arrays kernel literals math math.functions
+math.private ranges math.statistics sequences
+sequences.private ;
IN: math.primes.erato.fast
! Copyright (C) 2009 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: combinators fry kernel locals math
-math.primes combinators.short-circuit ;
+USING: combinators combinators.short-circuit kernel math
+math.primes ;
IN: math.primes.lucas-lehmer
ERROR: invalid-lucas-lehmer-candidate obj ;
! Copyright (C) 2009 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: help.markup help.syntax kernel sequences math ;
+USING: help.markup help.syntax kernel math
+math.primes.miller-rabin ;
IN: math.primes.miller-rabin
HELP: miller-rabin
! Copyright (c) 2008-2009 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: combinators kernel locals math math.functions ranges
+USING: combinators kernel math math.functions ranges
random sequences ;
IN: math.primes.miller-rabin
! Copyright (C) 2007-2009 Samuel Tardieu.
! See http://factorcode.org/license.txt for BSD license.
-USING: combinators combinators.short-circuit fry kernel locals
+USING: combinators combinators.short-circuit kernel
math math.bitwise math.functions math.order math.primes.erato
math.primes.erato.private math.primes.miller-rabin ranges
literals random sequences sets vectors ;
-USING: help.markup help.syntax math math.vectors vectors ;
+USING: help.markup help.syntax math ;
IN: math.quaternions
HELP: q+
! Copyright (C) 2005, 2010 Joe Groff, Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: arrays combinators kernel locals math math.functions
+USING: arrays combinators kernel math
math.libm math.order math.vectors sequences ;
IN: math.quaternions
! Copyright (C) 2009 Joe Groff.
! See http://factorcode.org/license.txt for BSD license.
-USING: classes help.markup help.syntax kernel quotations ;
+USING: classes help.markup help.syntax kernel ;
IN: math.vectors.conversion
HELP: bad-vconvert
! Copyright (C) 2009 Slava Pestov, Joe Groff.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors alien alien.data combinators cpu.architecture fry
-grouping kernel libc locals math math.libm math.order ranges
+USING: accessors alien alien.data combinators cpu.architecture
+grouping kernel libc math math.libm math.order ranges
sequences sequences.cords sequences.generalizations sequences.private
sequences.unrolled sequences.unrolled.private specialized-arrays
vocabs ;
USING: classes.tuple.private cpu.architecture help.markup
-help.syntax kernel.private math math.vectors math.vectors.simd.intrinsics
-sequences ;
+help.syntax kernel.private math.vectors
+math.vectors.simd.intrinsics sequences ;
IN: math.vectors.simd
ARTICLE: "math.vectors.simd.intro" "Introduction to SIMD support"
USING: accessors alien arrays byte-arrays classes combinators
-cpu.architecture effects fry functors generalizations generic
-generic.parser kernel lexer literals locals macros math math.functions
-math.vectors math.vectors.private math.vectors.simd.intrinsics
-namespaces parser prettyprint.custom quotations sequences
-sequences.generalizations sequences.private vocabs vocabs.loader
-words math.bitwise ;
+cpu.architecture effects functors generalizations kernel lexer
+literals math math.bitwise math.vectors
+math.vectors.simd.intrinsics parser prettyprint.custom
+quotations sequences sequences.generalizations sequences.private
+vocabs.loader words ;
QUALIFIED-WITH: alien.c-types c
IN: math.vectors.simd
! Copyright (C) 2009 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel generic generic.parser words fry ;
+USING: kernel generic generic.parser words ;
IN: method-chains
SYNTAX: AFTER: (M:) dupd '[ [ _ (call-next-method) ] _ bi ] define ;
! Copyright (C) 2007 Daniel Ehrenberg
! See http://factorcode.org/license.txt for BSD license.
USING: accessors combinators kernel lexer locals make math
-namespaces parser quotations sequences strings.parser.private
-words ;
+namespaces parser quotations sequences strings.parser
+strings.parser.private words ;
IN: multiline
<PRIVATE
! Copyright (C) 2008 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: namespaces sequences math.parser kernel macros
-generalizations sequences.generalizations locals ;
+USING: kernel math.parser namespaces sequences
+sequences.generalizations ;
IN: nmake
SYMBOL: building-seq
! Copyright (C) 2009 Keith Lazuka.
! See http://factorcode.org/license.txt for BSD license.
-USING: help.markup help.syntax kernel strings words ;
+USING: help.markup help.syntax strings words ;
IN: prettyprint.stylesheet
HELP: effect-style
! Copyright (C) 2009 Keith Lazuka, Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: assocs colors combinators combinators.short-circuit
-hashtables io.styles kernel literals namespaces sequences words
-words.symbol ;
+USING: assocs colors io.styles kernel namespaces sequences words ;
IN: prettyprint.stylesheet
<PRIVATE
! Copyright (C) 2004, 2006 Chris Double, Matthew Willis.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors effects.parser fry generalizations kernel
+USING: accessors effects.parser generalizations kernel
sequences words ;
IN: promises
-USING: arrays help.markup help.syntax kernel math quotations
+USING: arrays help.markup help.syntax kernel math quotations random
sequences ;
-IN: random
+IN: combinators.random
HELP: seed-random
{ $values
! Copyright (C) 2008 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: help.markup help.syntax kernel math multiline strings ;
+USING: help.markup help.syntax math multiline strings ;
IN: roman
HELP: >roman
! Copyright (C) 2007 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors combinators.smart effects.parser fry
-generalizations grouping kernel lexer macros math math.order
+USING: accessors combinators.smart effects.parser
+generalizations grouping kernel lexer math math.order
parser quotations sequences splitting.monotonic strings unicode
words ;
IN: roman
-USING: accessors kernel math math.functions combinators
-sequences sequences.private ;
+USING: accessors kernel math combinators sequences
+sequences.private ;
IN: sequences.complex-components
TUPLE: complex-components seq ;
-USING: accessors kernel math math.functions
-sequences sequences.private ;
+USING: accessors kernel math sequences sequences.private ;
IN: sequences.complex
TUPLE: complex-sequence seq ;
! Copyright (C) 2008, 2010 Slava Pestov, Joe Groff.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors assocs sequences sorting binary-search fry math
-math.order arrays classes combinators kernel functors locals
-math.functions math.vectors ;
+USING: accessors classes functors kernel math math.vectors
+sequences ;
IN: sequences.cords
MIXIN: cord
! Copyright (C) 2005, 2009 Daniel Ehrenberg, Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors circular combinators.short-circuit fry io
-kernel locals math math.order sequences sorting.functor
-sorting.slots unicode sequences.private ;
+USING: accessors circular combinators.short-circuit io kernel
+math math.order sequences sequences.parser sequences.private
+sorting.functor sorting.slots unicode ;
IN: sequences.parser
TUPLE: sequence-parser sequence n ;
! Copyright (C) 2010 Joe Groff.
! See http://factorcode.org/license.txt for BSD license.
-USING: assocs help.markup help.syntax kernel math quotations sequences
-sequences.private ;
+USING: help.markup help.syntax math sequences sequences.private ;
IN: sequences.unrolled
HELP: unrolled-collect
! Copyright (C) 2010 Joe Groff.
! See http://factorcode.org/license.txt for BSD license.
USING: combinators combinators.short-circuit
-compiler.tree.propagation.transforms fry generalizations kernel
-locals math sequences sequences.private ;
+compiler.tree.propagation.transforms kernel math
+sequences sequences.private ;
IN: sequences.unrolled
<PRIVATE
! Copyright (C) 2012 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors fry kernel locals math math.order
-math.statistics sequences sequences.private ;
+USING: accessors kernel math math.order math.statistics
+sequences sequences.private ;
IN: sequences.windowed
TUPLE: windowed-sequence
! See http://factorcode.org/license.txt for BSD license.
!
USING: accessors arrays assocs byte-arrays classes classes.tuple
-combinators endian hashtables hashtables.identity io
-io.encodings.binary io.encodings.string io.encodings.utf8
-io.streams.byte-array kernel locals math namespaces prettyprint
-quotations sequences sequences.private strings vocabs words ;
+combinators endian hashtables io io.encodings.binary
+io.encodings.string io.encodings.utf8 io.streams.byte-array
+kernel math namespaces prettyprint quotations sequences
+sequences.private strings vocabs words ;
IN: serialize
GENERIC: (serialize) ( obj -- )
! Slava Pestov, Doug Coleman, Daniel Ehrenberg.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors arrays assocs base64 calendar calendar.format
-classes combinators debugger fry io io.crlf io.encodings
+classes combinators debugger io io.crlf io.encodings
io.encodings.ascii io.encodings.binary io.encodings.iana
io.encodings.string io.encodings.utf8 io.sockets
io.sockets.secure io.timeouts kernel logging make math.order
! Copyright (C) 2009 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: functors kernel math.order sequences sorting ;
+USING: functors math.order ;
IN: sorting.functor
<FUNCTOR: define-sorting ( NAME QUOT -- )
! Copyright (C) 2009 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: help.markup help.syntax kernel math.order quotations
-sequences strings ;
+USING: help.markup help.syntax kernel sequences ;
IN: sorting.human
HELP: find-numbers
! Copyright (C) 2008, 2010 Doug Coleman, Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors fry kernel make math math.order math.parser
+USING: accessors kernel make math math.order math.parser
sequences sorting.functor strings unicode ;
IN: sorting.human
! Copyright (C) 2009 Joe Groff.
! See http://factorcode.org/license.txt for BSD license.
-USING: help.markup help.syntax kernel words ;
+USING: help.markup help.syntax ;
IN: tools.deprecation
HELP: :deprecations
! Copyright (C) 2005, 2010 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors arrays ascii assocs boxes calendar classes columns
-combinators combinators.short-circuit deques fry kernel make math
+combinators combinators.short-circuit deques kernel make math
math.order math.parser math.vectors namespaces sequences sets system
-timers ui.gadgets ui.gadgets.private words locals ;
+timers ui.gadgets ui.gadgets.private words ;
IN: ui.gestures
: get-gesture-handler ( gesture gadget -- quot )
! See http://factorcode.org/license.txt for BSD license.
USING: accessors alien.c-types alien.data alien.strings arrays assocs
cache cairo cairo.ffi classes.struct combinators destructors fonts fry
-gobject.ffi init io.encodings.utf8 kernel locals math math.rectangles
+gobject.ffi init io.encodings.utf8 kernel math math.rectangles
math.vectors memoize namespaces pango.cairo.ffi pango.ffi sequences
ui.text ui.text.private ;
IN: ui.text.pango
! Copyright (C) 2006, 2009 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors arrays assocs classes combinators
-combinators.short-circuit compiler.units debugger fonts fry help
+combinators.short-circuit compiler.units debugger fonts help
help.apropos help.crossref help.home help.markup help.stylesheet
-help.topics io.styles kernel literals locals make math math.vectors
+help.topics io.styles kernel literals make math math.vectors
models namespaces sequences sets system ui ui.commands
ui.gadgets ui.gadgets.borders ui.gadgets.editors
ui.gadgets.glass ui.gadgets.panes ui.gadgets.scrollers
-
-USING: help.syntax help.markup kernel prettyprint sequences strings ;
+USING: help.markup help.syntax strings ;
IN: uuid
! Copyright (C) 2008 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: byte-arrays calendar checksums checksums.md5
-checksums.sha endian kernel math math.parser ranges
-random sequences strings system unicode ;
+USING: calendar checksums checksums.md5 checksums.sha endian
+kernel math math.parser random sequences ;
IN: uuid
<PRIVATE
! Copyright (C) 2009 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors assocs colors io io.styles kernel
-make namespaces parser prettyprint.backend prettyprint.sections
+make namespaces prettyprint.backend prettyprint.sections
prettyprint.stylesheet sequences sorting vocabs vocabs.parser ;
FROM: io.styles => inset ;
IN: vocabs.prettyprint
! Copyright (C) 2010 Erik Charlebois.
! See http://factorcode.org/license.txt for BSD license.
-USING: alien alien.c-types alien.syntax classes.struct
+USING: alien alien.syntax classes.struct
windows.kernel32 windows.types alien.libraries ;
IN: windows.ddk.winusb
-USING: alien.c-types alien.syntax classes.struct windows.directx
+USING: alien.c-types alien.syntax classes.struct
windows.kernel32 windows.types ;
IN: windows.directx.xinput
! Copyright (C) 2017-2018 Alexander Ilin.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors alien alien.data alien.libraries alien.strings
-continuations fry init io.encodings.utf16n kernel literals math
-namespaces sequences ui.backend.windows ui.gadgets.worlds
+init io.encodings.utf16n kernel literals math namespaces
+sequences ui.backend.windows ui.gadgets.worlds
ui.gestures windows.errors windows.messages windows.shell32
windows.types windows.user32 ;
IN: windows.dropfiles
! Copyright (C) 2021 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors alien alien.data arrays classes.struct io
-kernel namespaces prettyprint ui.backend.windows
-ui.gadgets.worlds windows.errors windows.types windows.user32 ;
+USING: accessors alien arrays io kernel namespaces prettyprint
+ui.backend.windows ui.gadgets.worlds windows.errors windows.types
+windows.user32 ;
IN: windows.hardware
: monitor-enum-proc ( -- callback )
! Copyright (C) 2010 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors alien alien.c-types alien.data alien.strings
-alien.syntax arrays byte-arrays classes.struct combinators
-combinators.smart destructors io.encodings.string
-io.encodings.utf8 io.sockets io.sockets.private kernel libc
-make refs sequences windows.errors windows.kernel32
+USING: accessors alien alien.c-types alien.data alien.syntax
+classes.struct combinators combinators.smart destructors
+io.encodings.string io.encodings.utf8 io.sockets.private kernel
+libc make sequences windows.errors windows.kernel32
windows.types windows.winsock ;
IN: windows.iphlpapi
! Copyright (C) 2010 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors alien alien.data alien.syntax classes.struct
-continuations fry kernel libc literals locals sequences
-windows.advapi32 windows.errors windows.kernel32 windows.types
-alien.c-types ;
+continuations kernel libc literals sequences windows.advapi32
+windows.errors windows.kernel32 windows.types ;
IN: windows.privileges
TYPEDEF: TOKEN_PRIVILEGES* PTOKEN_PRIVILEGES
! Copyright (C) 2009 Daniel Ehrenberg
! See http://factorcode.org/license.txt for BSD license.
-USING: fry kernel math sequences splitting strings wrap ;
+USING: kernel math sequences splitting strings wrap ;
IN: wrap.strings
<PRIVATE
! Copyright (C) 2005, 2009 Daniel Ehrenberg
! See http://factorcode.org/license.txt for BSD license.
USING: kernel sequences unicode.categories math math.order
-combinators hints combinators.short-circuit ;
+hints combinators.short-circuit ;
IN: xml.char-classes
CATEGORY: 1.0name-start
! Copyright (C) 2005, 2009 Daniel Ehrenberg
! See http://factorcode.org/license.txt for BSD license.
USING: accessors arrays assocs combinators
-combinators.short-circuit delegate delegate.protocols fry kernel
-macros sequences slots strings vectors words ;
+combinators.short-circuit delegate delegate.protocols kernel
+sequences slots strings vectors words ;
IN: xml.data
TUPLE: interpolated var ;
! Copyright (C) 2005, 2009 Daniel Ehrenberg, Slava Pestov
! See http://factorcode.org/license.txt for BSD license.
-USING: xml.tokenize xml.data xml.state kernel sequences ascii
-fry xml.errors combinators hashtables namespaces xml.entities
-strings xml.name ;
+USING: combinators hashtables kernel namespaces xml.data
+xml.errors xml.name xml.state xml.tokenize ;
IN: xml.dtd
: take-decl-contents ( -- first second )
! Copyright (C) 2005, 2009 Daniel Ehrenberg
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel namespaces xml.tokenize xml.state xml.name
-xml.data accessors arrays make xml.char-classes fry assocs sequences
-math xml.errors sets combinators io.encodings io.encodings.iana
-unicode xml.dtd strings xml.entities ;
+USING: arrays assocs combinators kernel make math namespaces
+sequences sets strings unicode xml.char-classes xml.data xml.dtd
+xml.errors xml.name xml.state xml.tokenize ;
IN: xml.elements
: take-interpolated ( quot -- interpolated )
! Copyright (C) 2005, 2006 Daniel Ehrenberg
! See http://factorcode.org/license.txt for BSD license.
-USING: namespaces make kernel assocs sequences fry
-io.files io.encodings.binary xml.state ;
+USING: assocs kernel make namespaces sequences xml.state ;
IN: xml.entities
CONSTANT: entities-out
! Copyright (C) 2005, 2009 Daniel Ehrenberg
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel namespaces accessors xml.tokenize xml.data assocs
-xml.errors xml.char-classes combinators.short-circuit splitting
-fry xml.state sequences combinators ascii math make ;
+USING: accessors ascii assocs combinators
+combinators.short-circuit kernel make math namespaces sequences
+xml.char-classes xml.data xml.errors xml.state xml.tokenize ;
IN: xml.name
! XML namespace processing: ns = namespace
! Copyright (C) 2005, 2009 Daniel Ehrenberg
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors kernel namespaces io math ;
+USING: accessors kernel namespaces ;
IN: xml.state
TUPLE: spot char line column next check version-1.0? stream ;
! Copyright (C) 2005, 2009 Daniel Ehrenberg
! See http://factorcode.org/license.txt for BSD license.
USING: accessors arrays assocs combinators
-combinators.short-circuit fry generalizations inverse kernel
-namespaces sequences sequences.generalizations sorting strings
-unicode xml.data xml.syntax xml.syntax.private ;
+combinators.short-circuit inverse kernel namespaces sequences
+sequences.generalizations sorting strings unicode xml.data
+xml.syntax.private ;
IN: xml.syntax.inverse
: remove-blanks ( seq -- newseq )
! See http://factorcode.org/license.txt for BSD license.
USING: xml io kernel math sequences strings xml.traversal
tools.test math.parser xml.syntax xml.data xml.syntax.private
-accessors multiline locals inverse xml.writer splitting classes
+accessors multiline inverse xml.writer splitting classes
xml.private ;
IN: xml.syntax.tests
! Copyright (C) 2005, 2009 Daniel Ehrenberg
! See http://factorcode.org/license.txt for BSD license.
-USING: words assocs kernel accessors parser vocabs.parser
-effects.parser sequences summary lexer splitting combinators
-locals memoize sequences.deep xml.data xml.state xml namespaces
-present arrays generalizations sequences.generalizations strings
-make math macros multiline combinators.short-circuit sorting fry
-unicode effects ;
+USING: accessors arrays assocs combinators effects
+effects.parser kernel lexer make math memoize multiline
+namespaces parser present sequences sequences.deep
+sequences.generalizations strings summary unicode
+words xml xml.data xml.state ;
IN: xml.syntax
<PRIVATE
! Copyright (C) 2005, 2009 Daniel Ehrenberg
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays ascii assocs combinators
-combinators.short-circuit fry hints io kernel locals math
-math.parser namespaces sbufs sequences splitting strings
-xml.char-classes xml.entities xml.errors xml.state ;
+USING: accessors ascii assocs combinators
+combinators.short-circuit hints io kernel math math.parser
+namespaces sbufs sequences splitting strings xml.char-classes
+xml.entities xml.errors xml.state ;
IN: xml.tokenize
! * Basic utility words
! Copyright (C) 2005, 2009 Daniel Ehrenberg
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors kernel namespaces sequences words io assocs
-quotations strings parser lexer arrays xml.data make
-splitting vectors sequences.deep combinators fry memoize ;
+USING: accessors combinators kernel make sequences
+sequences.deep strings xml.data ;
IN: xml.traversal
: children>string ( tag -- string )
! Copyright (C) 2005, 2009 Daniel Ehrenberg
! See http://factorcode.org/license.txt for BSD license.
-USING: help.syntax help.markup io strings xml.data multiline ;
+USING: help.markup help.syntax io strings xml.data ;
IN: xml.writer
ABOUT: "xml.writer"
! Copyright (C) 2007, 2008 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors kernel strings assocs sequences hashtables
-sorting unicode sets ;
+USING: accessors assocs kernel sequences sets sorting unicode ;
IN: xmode.keyword-map
! Based on org.gjt.sp.jedit.syntax.KeywordMap
! Copyright (C) 2008 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors xmode.tokens xmode.keyword-map kernel
-sequences vectors assocs strings memoize unicode
-regexp ;
+USING: accessors assocs kernel regexp sequences unicode
+xmode.keyword-map ;
IN: xmode.rules
TUPLE: string-matcher string ignore-case? ;
-USING: accessors parser words words.symbol
-sequences namespaces kernel assocs
-compiler.units ;
+USING: assocs kernel namespaces parser words.symbol ;
IN: xmode.tokens
! Based on org.gjt.sp.jedit.syntax.Token
-USING: accessors sequences assocs kernel quotations namespaces
-xml.data xml.traversal combinators macros parser lexer words fry
-regexp ;
+USING: combinators kernel namespaces quotations regexp sequences
+xml.data xml.traversal ;
IN: xmode.utilities
: implies ( x y -- z ) [ not ] dip or ; inline
! Copyright © 2008 Reginald Keith Ford II
! 24, the Factor game!
USING: accessors backtrack combinators combinators.smart
-continuations formatting fry io kernel math prettyprint
+continuations formatting io kernel math prettyprint
quotations random sequences ;
IN: 24-game
! See http://factorcode.org/license.txt for BSD license.
USING: alien.c-types alien.data alien.destructors alien.strings
alien.syntax combinators destructors io.encodings.ascii kernel
-libc locals sequences ;
+libc sequences ;
IN: alien.cxx.demangle.libstdcxx
FUNCTION: char* __cxa_demangle ( char* mangled_name, char* output_buffer, size_t* length, int* status )
! Copyright (C) 2010 Joe Groff.
! See http://factorcode.org/license.txt for BSD license.
-USING: alien.cxx.demangle assocs combinators fry io.pathnames
+USING: alien.cxx.demangle assocs combinators io.pathnames
kernel macho sequences ;
IN: alien.cxx.scaffold
! Copyright (C) 2009, 2010 Joe Groff.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors alien alien.c-types alien.data alien.parser arrays
-byte-arrays combinators effects.parser fry generalizations grouping kernel
-lexer locals macros make math ranges parser sequences
+USING: accessors alien alien.arrays alien.c-types alien.data
+alien.parser arrays byte-arrays combinators effects.parser fry
+generalizations grouping kernel make math sequences
sequences.generalizations sequences.private ;
FROM: alien.arrays => array-length ;
IN: alien.data.map
! Copyright (C) 2009 Joe Groff
! See http://factorcode.org/license.txt for BSD license.
-USING: help.markup help.syntax kernel quotations sequences strings words.symbol classes.struct ;
+USING: help.markup help.syntax sequences strings words.symbol classes.struct ;
QUALIFIED-WITH: alien.syntax c
IN: alien.fortran
! (c) 2009 Joe Groff, see BSD license
-USING: accessors alien alien.complex alien.c-types alien.data
-alien.parser grouping alien.strings alien.syntax arrays ascii
-assocs byte-arrays combinators combinators.short-circuit fry
-generalizations kernel lexer macros math math.parser namespaces
-parser sequences sequences.generalizations splitting
-stack-checker vectors vocabs.parser words locals
-io.encodings.ascii io.encodings.string shuffle effects
-ranges math.order sorting strings system alien.libraries ;
+USING: accessors alien alien.c-types alien.complex alien.data
+alien.libraries alien.parser alien.strings arrays ascii assocs
+byte-arrays combinators combinators.short-circuit effects
+generalizations grouping io.encodings.ascii io.encodings.string
+kernel lexer math math.parser namespaces ranges sequences
+sequences.generalizations shuffle sorting splitting strings
+vectors words ;
QUALIFIED-WITH: alien.c-types c
IN: alien.fortran
-USING: accessors arrays combinators definitions generalizations
-help help.markup help.topics kernel sequences sorting vocabs
-words combinators.smart tools.crossref ;
+USING: accessors arrays combinators combinators.smart help
+help.markup help.topics kernel sequences sorting tools.crossref
+vocabs words ;
IN: annotations
<PRIVATE
! (c)2009 Joe Groff, Doug Coleman. see BSD license
-USING: accessors combinators.short-circuit definitions functors
-kernel lexer namespaces parser prettyprint tools.crossref
-sequences words ;
+USING: accessors combinators.short-circuit functors kernel lexer
+namespaces sequences tools.crossref words ;
IN: annotations
<<
! Copyright (C) 2009 Joe Groff.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors alien alien.c-types alien.data audio
-audio.chunked-file classes.struct combinators
-combinators.short-circuit endian io io.encodings.binary
-io.files kernel locals math sequences audio.loader ;
+audio.chunked-file audio.loader classes.struct combinators
+combinators.short-circuit endian io.encodings.binary io.files
+kernel math sequences ;
IN: audio.aiff
CONSTANT: FORM-MAGIC "FORM"
! Copyright (C) 2010 Joe Groff.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors alien arrays combinators kernel math openal ;
+USING: accessors alien arrays combinators math openal ;
IN: audio
TUPLE: audio
! Copyright (C) 2009 Joe Groff.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors alien alien.data audio classes.struct fry
-calendar timers combinators combinators.short-circuit
-destructors generalizations kernel literals locals math openal
-sequences sequences.generalizations specialized-arrays strings ;
+USING: accessors alien alien.data audio calendar
+combinators combinators.short-circuit destructors kernel
+literals math openal sequences sequences.generalizations
+specialized-arrays timers ;
QUALIFIED-WITH: alien.c-types c
SPECIALIZED-ARRAYS: c:float c:uchar c:uint ;
IN: audio.engine
! Copyright (C) 2009 Joe Groff.
! See http://factorcode.org/license.txt for BSD license.
-USING: ascii assocs io.pathnames kernel namespaces
-vocabs ;
+USING: ascii assocs io.pathnames namespaces vocabs ;
IN: audio.loader
ERROR: unknown-audio-extension extension ;
! Copyright (C) 2008 William Schlieper
! See http://factorcode.org/license.txt for BSD license.
-USING: assocs combinators continuations fry kernel macros math
+USING: assocs combinators continuations kernel math
namespaces quotations sequences summary ;
IN: backtrack
! Copyright (C) 2008 Alex Chapman
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors calendar kernel math math.order money sequences ;
+USING: accessors calendar kernel math math.order sequences ;
IN: bank
TUPLE: account name interest-rate interest-payment-day opening-date transactions unpaid-interest interest-last-paid ;
! Copyright (C) 2020 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: ascii assocs base64.private byte-arrays endian grouping
+USING: ascii base64.private byte-arrays endian grouping
kernel kernel.private literals math sequences ;
IN: base24
! Copyright (C) 2019 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: base64.private byte-arrays combinators endian fry io
+USING: base64.private byte-arrays combinators endian io
io.encodings.binary io.streams.byte-array kernel kernel.private
literals math namespaces sequences ;
IN: base32
! Copyright (C) 2020 John Benediktsson.
! See http://factorcode.org/license.txt for BSD license.
-USING: base64.private byte-arrays checksums checksums.sha
-endian kernel kernel.private literals math math.functions
-sequences ;
+USING: base64.private byte-arrays endian kernel kernel.private
+literals math math.functions sequences ;
IN: base36
! Copyright (C) 2020 John Benediktsson.
! See http://factorcode.org/license.txt for BSD license.
-USING: base64.private byte-arrays checksums checksums.sha
-endian kernel kernel.private literals math sequences ;
+USING: base64.private byte-arrays endian kernel kernel.private
+literals math sequences ;
IN: base62
! Copyright (C) 2019 John Benediktsson.
! See http://factorcode.org/license.txt for BSD license.
USING: base64.private byte-arrays kernel kernel.private
-literals locals math sequences ;
+literals math sequences ;
IN: base91
ERROR: malformed-base91 ;
-USING: kernel locals math math.matrices math.matrices.simd
-math.order math.vectors math.vectors.simd prettyprint sequences
-typed ;
+USING: kernel math math.matrices.simd math.vectors
+math.vectors.simd prettyprint typed ;
QUALIFIED-WITH: alien.c-types c
IN: benchmark.3d-matrix-vector
! Copyright (C) 2008 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: backtrack shuffle math ranges quotations locals fry
-kernel words io memoize macros prettyprint sequences assocs
-combinators namespaces ;
+USING: assocs backtrack kernel math memoize ranges sequences
+words ;
IN: benchmark.backtrack
! This was suggested by Dr_Ford. Compute the number of quadruples
! See http://factorcode.org/license.txt for BSD license.
USING: arrays assocs command-line continuations debugger
formatting help.markup io io.styles kernel math memory
-namespaces prettyprint sequences tools.profiler.sampling
-tools.test tools.time vocabs.hierarchy vocabs.loader ;
+namespaces sequences tools.profiler.sampling tools.test
+tools.time vocabs.hierarchy vocabs.loader ;
IN: benchmark
SYMBOL: benchmarks-disabled?
! Copyright (C) 2008 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel locals math ranges math.parser sequences ;
+USING: kernel math sequences ;
IN: benchmark.beust2
! http://crazybob.org/BeustSequence.java.html
-USING: checksums checksums.crc32 io.encodings.ascii io.files kernel math ;
+USING: checksums checksums.crc32 kernel math ;
IN: benchmark.crc32
: crc32-benchmark ( -- )
-USING: classes classes.tuple kernel sequences vocabs math ;
+USING: classes.tuple kernel sequences vocabs math ;
IN: benchmark.dispatch1
GENERIC: g ( obj -- obj )
-USING: alien.c-types make math sequences splitting grouping
+USING: alien.c-types make math sequences grouping
kernel columns specialized-arrays bit-arrays ;
SPECIALIZED-ARRAY: double
IN: benchmark.dispatch2
-USING: alien.c-types sequences math mirrors splitting grouping
+USING: alien.c-types sequences math mirrors grouping
kernel make assocs alien.syntax columns
specialized-arrays bit-arrays ;
SPECIALIZED-ARRAY: double
-USING: kernel.private kernel sequences math combinators
-sequences.private ;
+USING: kernel math sequences.private ;
IN: benchmark.dispatch4
: dispatch4 ( n -- val )
-USING: classes classes.tuple kernel sequences vocabs math ;
+USING: classes.tuple kernel sequences vocabs math ;
IN: benchmark.dispatch5
MIXIN: g
-USING: kernel.private kernel sequences math combinators
-sequences.private ;
+USING: kernel math combinators ;
IN: benchmark.dispatch6
: dispatch6 ( n -- val )
! Copyright (C) 2009 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: decimals kernel locals math math.combinatorics ranges
-sequences ;
+USING: decimals kernel math ranges sequences ;
IN: benchmark.e-decimals
: D-factorial ( n -- D! )
! Copyright (C) 2009 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel math math.combinatorics ranges sequences ;
+USING: kernel math math.combinatorics sequences ;
IN: benchmark.e-ratios
: calculate-e-ratios ( n -- e )
-USING: math math.private kernel sequences ;
+USING: math.private kernel ;
IN: benchmark.empty-loop-0
: empty-loop-0 ( n -- )
-USING: math math.private kernel sequences ;
+USING: math kernel ;
IN: benchmark.empty-loop-1
: empty-loop-1 ( n -- )
-USING: math math.private kernel sequences ;
+USING: kernel sequences ;
IN: benchmark.empty-loop-2
: empty-loop-2 ( n -- )
! Copyright (C) 2008 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel fry math math.combinatorics math.order sequences
+USING: kernel math math.combinatorics math.order sequences
io prettyprint ;
IN: benchmark.fannkuch
! Based on http://shootout.alioth.debian.org/gp4/benchmark.php?test=fasta&lang=java&id=2
USING: alien.data assocs benchmark.reverse-complement
byte-arrays io io.encodings.ascii io.files kernel math sequences
-sequences.private specialized-arrays splitting strings typed ;
+sequences.private specialized-arrays strings typed ;
QUALIFIED-WITH: alien.c-types c
SPECIALIZED-ARRAY: c:double
IN: benchmark.fasta
-USING: math.private kernel debugger ;
+USING: math.private kernel ;
IN: benchmark.fib1
: fast-fixnum-fib ( m -- n )
-USING: math.private kernel debugger ;
+USING: math.private kernel ;
IN: benchmark.fib2
: fixnum-fib ( m -- n )
-USING: math kernel debugger ;
+USING: math kernel ;
IN: benchmark.fib3
: fib ( m -- n )
-USING: accessors math kernel debugger ;
+USING: accessors math kernel ;
IN: benchmark.fib4
TUPLE: box { i read-only } ;
-USING: math kernel debugger namespaces ;
+USING: math kernel namespaces ;
IN: benchmark.fib5
SYMBOL: n
-USING: kernel locals math math.parser sequences ;
+USING: kernel math math.parser sequences ;
IN: benchmark.fib7
:: matrix-fib ( m -- n )
! Copyright (C) 2012 John Benediktsson
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel locals math ;
+USING: kernel math ;
IN: benchmark.find-pi
:: find-pi-to ( accuracy -- n approx )
! Copyright (C) 2009 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: math.parser fry sequences kernel assocs hashtables ;
+USING: math.parser sequences kernel assocs hashtables ;
IN: benchmark.gc3
: gc3-benchmark ( -- )
-USING: combinators fry hash-sets kernel literals
+USING: combinators hash-sets kernel literals
math math.combinatorics sequences sets ;
IN: benchmark.hash-sets
! Copyright (C) 2009 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors assocs combinators grouping kernel locals math
-math.parser ranges memoize sequences ;
+USING: accessors assocs combinators grouping kernel math
+math.parser ranges sequences ;
IN: benchmark.hashtables
MEMO: strings ( -- str )
! Copyright (C) 2014 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: fry grouping interval-sets kernel math random sequences
+USING: grouping interval-sets kernel math random sequences
sorting ;
IN: benchmark.interval-sets
! Copyright (C) 2008, 2010 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: ascii kernel io io.files splitting strings
-io.encodings.ascii hashtables sequences assocs math
-math.statistics namespaces math.parser combinators arrays
-sorting formatting grouping fry ;
+USING: ascii assocs formatting grouping io io.encodings.ascii
+io.files kernel math math.statistics sequences ;
IN: benchmark.knucleotide
CONSTANT: knucleotide-in "vocab:benchmark/knucleotide/knucleotide-input.txt"
-USING: assocs combinators fry kernel linked-assocs math
-sequences ;
+USING: assocs combinators kernel linked-assocs math sequences ;
IN: benchmark.linked-assocs
-USING: math math.order kernel arrays byte-arrays sequences
-colors.hsv accessors colors fry benchmark.mandel.params ;
+USING: math math.order kernel byte-arrays sequences
+colors.hsv accessors colors benchmark.mandel.params ;
IN: benchmark.mandel.colors
: scale ( x -- y ) 255 * >fixnum ; inline
! Copyright (C) 2009 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: fry kernel math random random.mersenne-twister ;
+USING: kernel math random random.mersenne-twister ;
IN: benchmark.mt
: mt-bench ( n -- )
! Copyright (C) 2008, 2010 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors alien.c-types fry kernel locals math
-math.constants math.functions math.vectors math.vectors.simd
-math.vectors.simd.cords math.parser combinators.smart sequences
-hints classes.struct specialized-arrays io ;
+USING: accessors alien.c-types kernel math math.constants
+math.functions math.vectors math.vectors.simd.cords math.parser
+combinators.smart sequences classes.struct specialized-arrays io ;
IN: benchmark.nbody-simd
: solar-mass ( -- x ) 4 pi sq * ; inline
USING: math math.parser sequences sequences.private kernel
-bit-arrays make io ranges multiline fry locals ;
+bit-arrays make io ;
IN: benchmark.nsieve-bits
: clear-flags ( step i seq -- )
! Copyright (C) 2008, 2010 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: make math math.functions kernel io io.styles prettyprint
-combinators hints fry sequences ;
+USING: make math math.functions kernel prettyprint
+combinators hints sequences ;
IN: benchmark.partial-sums
! Helper words
! Copyright (c) 2009 Aaron Schaefer. 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 formatting fry grouping io kernel locals math
-math.functions math.matrices math.parser math.primes.factors
-math.vectors prettyprint sequences sequences.deep ;
+USING: arrays formatting io kernel math math.matrices
+math.parser sequences ;
IN: benchmark.pidigits
: extract ( z x -- n )
! Factor port of the raytracer benchmark from
! http://www.ffconsultancy.com/languages/ray_tracer/index.html
-USING: arrays accessors generalizations io io.files io.files.temp
+USING: arrays accessors generalizations io.files io.files.temp
io.encodings.binary kernel math math.constants math.functions
-math.vectors math.vectors.simd math.vectors.simd.cords
-math.parser make sequences words combinators ;
+math.vectors math.vectors.simd.cords math.parser make sequences
+words combinators ;
IN: benchmark.raytracer-simd
<< SYNTAX: no-compile last-word t "no-compile" set-word-prop ; >>
! Copyright (C) 2012 John Benediktsson
! See http://factorcode.org/license.txt for BSD license.
-USING: arrays fry kernel math math.parser regexp sequences
-strings ;
+USING: kernel math math.parser regexp sequences strings ;
IN: benchmark.regexp
: regexp-benchmark ( -- )
! Copyright (C) 2006, 2008 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: io io.files io.files.temp io.streams.duplex kernel
-sequences sequences.private strings vectors words memoize
-splitting grouping hints tr continuations io.encodings.ascii
-ascii ;
+USING: ascii grouping hints io io.encodings.ascii io.files
+io.files.temp kernel sequences strings tr vectors ;
IN: benchmark.reverse-complement
TR: trans-map ch>upper "ACGTUMRYKVHDB" "TGCAAKYRMBDHV" ;
! Copyright (C) 2009 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: accessors assocs command-line fry io io.encodings.binary
+USING: accessors assocs command-line io io.encodings.binary
io.files io.streams.string kernel macros math namespaces
peg.ebnf prettyprint sequences multiline ;
! Copyright (C) 2009 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors assocs calendar fry hashtables kernel locals
+USING: accessors assocs calendar hashtables kernel
parser sequences vocabs words ;
IN: calendar.holidays
! Copyright (C) 2015 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: fry kernel lexer macros quotations sequences words ;
+USING: kernel lexer quotations sequences words ;
IN: changer
MACRO: inline-changer ( name -- quot' )
! Copyright (C) 2018 Alexander Ilin.
! See http://factorcode.org/license.txt for BSD license.
USING: checksums checksums.common checksums.md5 checksums.sha
-destructors help.markup help.syntax kernel sequences ;
+destructors help.markup help.syntax sequences ;
IN: checksums.multi
ABOUT: "checksums.multi"
! Copyright (C) 2018 Alexander Ilin.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors checksums checksums.common destructors fry
+USING: accessors checksums checksums.common destructors
kernel sequences ;
IN: checksums.multi
! Copyright (C) 2016 Alexander Ilin.
! See http://factorcode.org/license.txt for BSD license.
USING: ascii checksums checksums.common destructors help.markup
-help.syntax kernel strings ;
+help.syntax ;
IN: checksums.process
ABOUT: "checksums.process"
! Copyright (C) 2018 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: io.files.links io.launcher io.standard-paths json.reader
+USING: io.launcher io.standard-paths json.reader
kernel literals namespaces sequences strings system ;
IN: ci.docker
! Copyright (C) 2009 Joe Groff.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors classes.struct classes.tuple combinators fry
-functors kernel locals macros math parser quotations sequences
+USING: accessors classes.struct classes.tuple combinators
+functors kernel math parser quotations sequences
sequences.private slots specialized-arrays words ;
IN: classes.struct.vectored
! Copyright (C) 2009 Joe Groff.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors classes classes.tuple fry kernel sequences slots ;
+USING: accessors classes classes.tuple kernel sequences slots ;
IN: classes.tuple.change-tracking
TUPLE: change-tracking-tuple
! Copyright (C) 2017 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors arrays concurrency.combinators
-concurrency.semaphores fry io io.directories io.encodings.utf8
+concurrency.semaphores io io.directories io.encodings.utf8
io.files.info io.launcher io.pathnames kernel math namespaces
sequences splitting system-info unicode ;
IN: cli.git
! Copyright (C) 2010 Joe Groff.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays assocs calendar calendar.format
-combinators combinators.short-circuit fry io io.backend
-io.directories io.encodings.binary io.encodings.detect
-io.encodings.utf8 io.files io.files.info io.files.temp
-io.files.types io.files.unique io.launcher io.pathnames kernel
-locals math math.parser namespaces sequences sorting strings
-system unicode xml.syntax xml.writer xmode.catalog xmode.marker
-xmode.tokens ;
+USING: accessors arrays calendar calendar.format combinators
+combinators.short-circuit io io.backend io.directories
+io.encodings.binary io.encodings.detect io.encodings.utf8
+io.files io.files.info io.files.temp io.files.unique io.launcher
+io.pathnames kernel math math.parser namespaces sequences
+sorting strings unicode xml.syntax xml.writer xmode.catalog
+xmode.marker xmode.tokens ;
IN: codebook
! Usage: "my/source/tree" codebook
! Copyright (C) 2014 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: accessors colors colors.lab colors.lch kernel locals math
+USING: accessors colors colors.lab colors.lch kernel math
math.functions math.libm math.order math.trig ;
IN: colors.distances
! Copyright (C) 2013 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: colors colors.private grouping kernel lexer math
-math.parser regexp.classes sequences splitting ;
+USING: colors.private grouping kernel lexer math regexp.classes
+sequences splitting ;
IN: colors.flex-hex
! Copyright (C) 2010 Slava Pestov, 2011 Alex Vondrak
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors combinators combinators.short-circuit fry
-kernel make math namespaces sequences
-cpu.architecture
-compiler.cfg.hats
-compiler.cfg.utilities
-compiler.cfg.registers
-compiler.cfg.instructions
-compiler.cfg.gvn.math
-compiler.cfg.gvn.graph
-compiler.cfg.gvn.avail
-compiler.cfg.gvn.rewrite ;
+USING: accessors combinators combinators.short-circuit
+compiler.cfg.gvn.avail compiler.cfg.gvn.graph
+compiler.cfg.gvn.math compiler.cfg.gvn.rewrite compiler.cfg.hats
+compiler.cfg.instructions compiler.cfg.utilities
+cpu.architecture kernel make math namespaces sequences ;
IN: compiler.cfg.gvn.alien
M: ##box-displaced-alien rewrite
! Copyright (C) 2011 Alex Vondrak.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors assocs hashtables kernel namespaces sequences
-sets
-compiler.cfg
-compiler.cfg.dataflow-analysis
-compiler.cfg.def-use
-compiler.cfg.gvn.graph
-compiler.cfg.predecessors
-compiler.cfg.renaming.functor
-compiler.cfg.rpo
-compiler.utilities ;
+USING: accessors assocs compiler.cfg
+compiler.cfg.dataflow-analysis compiler.cfg.def-use
+compiler.cfg.gvn.graph compiler.cfg.renaming.functor
+compiler.utilities hashtables kernel namespaces sequences ;
IN: compiler.cfg.gvn.avail
: defined ( bb -- vregs )
! Copyright (C) 2008, 2010 Slava Pestov, 2011 Alex Vondrak.
! See http://factorcode.org/license.txt for BSD license.
-USING: assocs accessors arrays classes classes.algebra
-combinators fry generic.parser kernel math namespaces
+USING: assocs accessors arrays classes.algebra
+combinators generic.parser kernel math namespaces
quotations sequences slots words make sets
compiler.cfg
compiler.cfg.instructions
! Copyright (C) 2008, 2010 Slava Pestov, 2011 Alex Vondrak.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors kernel math namespaces assocs ;
+USING: assocs kernel namespaces ;
IN: compiler.cfg.gvn.graph
SYMBOL: input-expr-counter
! Copyright (C) 2008, 2010 Slava Pestov, 2011 Alex Vondrak
! See http://factorcode.org/license.txt for BSD license.
-USING: namespaces arrays assocs hashtables kernel accessors fry
-grouping sorting sets sequences locals
-cpu.architecture
-sequences.deep
-combinators
-compiler.cfg
-compiler.cfg.rpo
-compiler.cfg.def-use
-compiler.cfg.utilities
-compiler.cfg.instructions
-compiler.cfg.predecessors
-compiler.cfg.gvn.alien
-compiler.cfg.gvn.avail
-compiler.cfg.gvn.comparisons
-compiler.cfg.gvn.graph
-compiler.cfg.gvn.math
-compiler.cfg.gvn.rewrite
-compiler.cfg.gvn.slots
-compiler.cfg.gvn.misc
-compiler.cfg.gvn.expressions ;
+USING: accessors arrays assocs compiler.cfg compiler.cfg.def-use
+compiler.cfg.gvn.avail compiler.cfg.gvn.expressions
+compiler.cfg.gvn.graph compiler.cfg.gvn.rewrite
+compiler.cfg.instructions compiler.cfg.predecessors
+compiler.cfg.rpo compiler.cfg.utilities grouping kernel
+namespaces sequences sequences.deep ;
IN: compiler.cfg.gvn
GENERIC: simplify ( insn -- insn' )
! Copyright (C) 2010 Slava Pestov, 2011 Alex Vondrak.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors combinators combinators.short-circuit
-cpu.architecture fry kernel layouts locals make math namespaces
-sequences
-compiler.cfg.instructions
-compiler.cfg.registers
-compiler.cfg.utilities
-compiler.cfg.gvn.folding
-compiler.cfg.gvn.graph
-compiler.cfg.gvn.avail
-compiler.cfg.gvn.rewrite ;
+compiler.cfg.gvn.avail compiler.cfg.gvn.folding
+compiler.cfg.gvn.graph compiler.cfg.gvn.rewrite
+compiler.cfg.instructions compiler.cfg.registers
+compiler.cfg.utilities cpu.architecture kernel layouts make math
+namespaces ;
IN: compiler.cfg.gvn.math
: f-insn? ( insn -- ? )
! Copyright (C) 2010 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors cpu.architecture kernel
-compiler.cfg.instructions
-compiler.cfg.utilities
-compiler.cfg.gvn.graph
-compiler.cfg.gvn.rewrite ;
+USING: accessors compiler.cfg.gvn.graph compiler.cfg.gvn.rewrite
+compiler.cfg.instructions cpu.architecture kernel ;
IN: compiler.cfg.gvn.misc
M: ##replace rewrite
! Copyright (C) 2008, 2010 Slava Pestov, 2011 Alex Vondrak.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors combinators combinators.short-circuit arrays
-fry kernel layouts math namespaces sequences cpu.architecture
-math.bitwise math.order classes endian generalizations
-locals make alien.c-types grouping
-math.vectors.simd.intrinsics
-compiler.cfg
-compiler.cfg.registers
-compiler.cfg.utilities
-compiler.cfg.comparisons
-compiler.cfg.instructions
-compiler.cfg.gvn.math
-compiler.cfg.gvn.graph
-compiler.cfg.gvn.avail
-compiler.cfg.gvn.rewrite ;
+USING: accessors alien.c-types combinators
+combinators.short-circuit compiler.cfg.gvn.avail
+compiler.cfg.gvn.graph compiler.cfg.gvn.math
+compiler.cfg.gvn.rewrite compiler.cfg.instructions
+compiler.cfg.utilities cpu.architecture endian generalizations
+grouping kernel make math sequences ;
IN: compiler.cfg.gvn.simd
! Some lame constant folding for SIMD intrinsics. Eventually this
! Copyright (C) 2010 Slava Pestov, 2011 Alex Vondrak.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors combinators.short-circuit cpu.architecture fry
-kernel math
+USING: accessors cpu.architecture kernel math
compiler.cfg.instructions
compiler.cfg.gvn.graph
compiler.cfg.gvn.avail
! Copyright (C) 2006 Chris Double.
! See http://factorcode.org/license.txt for BSD license.
!
-USING: cpu.8080.emulator tools.time ;
+USING: cpu.8080.emulator ;
IN: cpu.8080
INSTRUCTION: NOP ; opcode: 00 cycles: 04
USING: accessors arrays ascii assocs calendar calendar.english
calendar.private combinators combinators.short-circuit io kernel
-literals locals math math.order math.parser ranges
-sequences splitting ;
+literals math math.order math.parser ranges sequences splitting ;
IN: crontab
! Copyright (C) 2013 Fred Alger
! See http://factorcode.org/license.txt for BSD license.
-USING: arrays columns combinators generalizations grouping
-kernel locals math math.bitwise prettyprint sequences
+USING: combinators grouping kernel math math.bitwise
+prettyprint sequences
sequences.private ;
IN: crypto.aes.utils
: gb0 ( a -- a0 ) 0xff bitand ; inline
! Copyright (C) 2008 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: help.markup help.syntax io.streams.string kernel
-strings ;
+USING: help.markup help.syntax kernel strings ;
IN: crypto.passwd-md5
HELP: authenticate-password
! Copyright (C) 2008 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel base64 checksums.md5 sequences checksums
-locals prettyprint math math.bits grouping io combinators
-fry make combinators.short-circuit math.functions splitting ;
+USING: checksums checksums.md5 combinators grouping kernel math
+math.bits math.functions sequences splitting ;
IN: crypto.passwd-md5
<PRIVATE
-USING: help.syntax help.markup kernel prettyprint sequences strings words math ;
+USING: help.markup help.syntax strings ;
IN: ctags.etags
ARTICLE: "etags" "Etags file"
! Copyright (C) 2010 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors alien alien.data alien.parser alien.strings
-alien.syntax arrays assocs byte-arrays classes.struct
-combinators continuations cuda.ffi
-destructors fry init io io.backend io.encodings.string
-io.encodings.utf8 kernel lexer locals macros math math.parser
-namespaces opengl.gl.extensions parser prettyprint quotations
-sequences words ;
+USING: alien.c-types alien.data cuda.ffi kernel ;
QUALIFIED-WITH: alien.c-types c
IN: cuda
! Copyright (C) 2010 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: alien.c-types cuda cuda.contexts cuda.libraries cuda.syntax locals ;
+USING: alien.c-types cuda cuda.contexts cuda.libraries cuda.syntax ;
IN: cuda.demos.prefix-sum
CUDA-LIBRARY: prefix-sum cuda32 "vocab:cuda/demos/prefix-sum/prefix-sum.ptx"
! Copyright (C) 2010 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors alien.c-types alien.data alien.strings arrays
-assocs byte-arrays classes.struct combinators cuda
-cuda.contexts cuda.ffi cuda.libraries fry io io.encodings.utf8
-kernel locals math math.order math.parser namespaces
-prettyprint sequences splitting ;
+assocs byte-arrays combinators cuda cuda.contexts cuda.ffi
+cuda.libraries io io.encodings.utf8 kernel math math.order
+math.parser prettyprint sequences splitting ;
IN: cuda.devices
: #cuda-devices ( -- n )
! Copyright (C) 2010 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors alien alien.data alien.destructors assocs
-byte-arrays cuda cuda.ffi destructors fry io.encodings.string
-io.encodings.utf8 kernel locals math namespaces sequences
-strings ;
+USING: alien alien.c-types alien.data alien.destructors
+byte-arrays cuda cuda.ffi kernel math ;
QUALIFIED-WITH: alien.c-types c
IN: cuda.memory
! Copyright (C) 2010 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: arrays combinators.smart io.backend io.directories
-io.launcher io.pathnames kernel locals math sequences splitting
-system ;
+USING: combinators.smart io.backend io.directories io.launcher
+io.pathnames kernel math sequences splitting system ;
IN: cuda.nvcc
HOOK: nvcc-path os ( -- path )
! Copyright (C) 2018 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: accessors alien.c-types alien.endian alien.strings assocs
-calendar calendar.parser classes.struct combinators endian fry
-io io.encodings.8-bit io.encodings.ascii
-io.encodings.binary io.encodings.string io.files
-io.streams.byte-array kernel math math.parser namespaces
-sequences splitting strings ;
+USING: accessors alien.c-types alien.endian assocs calendar
+calendar.parser classes.struct combinators endian io
+io.encodings.8-bit io.encodings.ascii io.encodings.binary
+io.encodings.string io.files io.streams.byte-array kernel math
+math.parser namespaces sequences ;
IN: dbf
! Copyright (c) 2008 Daniel Ehrenberg.
! See http://factorcode.org/license.txt for BSD license.
-USING: words kernel sequences sequences.generalizations locals
-locals.parser fry locals.definitions accessors parser namespaces
-continuations summary definitions generalizations arrays
-prettyprint debugger io effects tools.annotations effects.parser ;
+USING: accessors arrays continuations debugger definitions
+effects effects.parser generalizations io kernel
+locals.definitions locals.parser prettyprint sequences
+sequences.generalizations tools.annotations words ;
IN: descriptive
ERROR: descriptive-error args underlying word ;
! Copyright (C) 2010 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: fry kernel lexer macros math math.parser namespaces
+USING: kernel lexer math math.parser namespaces
random random.private sequences splitting ;
IN: dice
! Copyright (C) 2008 Alex Chapman
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors assocs hashtables hashtables.private kernel sequences vectors ;
+USING: accessors assocs hashtables hashtables.private kernel sequences ;
IN: digraphs
TUPLE: digraph < hashtable ;
! See http://factorcode.org/license.txt for BSD license.
USING: kernel accessors sequences sequences.private destructors math namespaces
- locals openssl openssl.libcrypto byte-arrays bit-arrays.private
+ openssl openssl.libcrypto byte-arrays bit-arrays.private
alien.c-types alien.destructors alien.data ;
IN: ecdsa
! Copyright (C) 2010 Slava Pestov.
-USING: accessors fry kernel locals sequences sets namespaces
-combinators combinators.short-circuit game.models.half-edge
-math math.vectors math.matrices assocs arrays hashtables ;
+USING: accessors arrays assocs combinators
+combinators.short-circuit game.models.half-edge kernel math
+math.vectors namespaces sequences sets ;
FROM: namespaces => set ;
IN: euler.b-rep
! See http://factorcode.org/license.txt for BSD license.
USING: alien alien.c-types alien.destructors alien.libraries
-alien.libraries.finder alien.syntax combinators kernel system ;
+alien.syntax combinators system ;
IN: fftw.ffi
! Copyright (c) 2014 John Benediktsson
! See http://factorcode.org/license.txt for BSD license.
-USING: alien.c-types destructors fftw.ffi fry kernel locals math
-math.functions math.vectors sequences sequences.private
-specialized-arrays ;
+USING: alien.c-types destructors fftw.ffi kernel math
+math.vectors sequences sequences.private specialized-arrays ;
SPECIALIZED-ARRAY: double
SPECIALIZED-ARRAY: fftw_complex
! See http://factorcode.org/license.txt for BSD license
USING: accessors command-line formatting io io.monitors
-io.pathnames kernel namespaces sequences ;
+kernel namespaces sequences ;
IN: file-monitor
! Copyright (C) 2006 Chris Double. All Rights Reserved.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors kernel peg strings sequences math math.parser
-namespaces make words quotations arrays hashtables io
+make words quotations arrays hashtables io
io.streams.string assocs ascii peg.parsers words.symbol
combinators.short-circuit ;
IN: fjsc
! Copyright (C) 2010 Erik Charlebois.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays classes.struct destructors game.loop
-game.worlds gpu gpu.buffers gpu.effects.blur gpu.framebuffers
-gpu.render gpu.shaders gpu.state gpu.textures gpu.util images
-images.loader kernel literals locals make math math.rectangles
-math.vectors namespaces opengl.gl sequences specialized-arrays
-ui.gadgets.worlds ui.gestures ui.pixel-formats gpu.effects.step
-images.pgm images.ppm alien.data ;
+USING: accessors alien.data classes.struct destructors game.loop
+game.worlds gpu gpu.effects.blur gpu.effects.step gpu.state
+gpu.textures gpu.util images.loader kernel literals make math
+math.vectors namespaces sequences specialized-arrays
+ui.gadgets.worlds ui.gestures ui.pixel-formats ;
FROM: alien.c-types => float ;
SPECIALIZED-ARRAY: float
IN: fluids
! Copyright (C) 2009 Joe Groff.
! See http://factorcode.org/license.txt for BSD license.
-USING: help.markup help.syntax kernel math ui.gadgets.worlds ;
+USING: help.markup help.syntax math ui.gadgets.worlds ;
IN: game.loop
HELP: fps
! Copyright (C) 2009 Joe Groff.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors debugger game.loop io ;
+IN: game.loop.prettyprint
M: game-loop-error-state error.
"An error occurred inside a game loop." print
! Copyright (C) 2009 Joe Groff.
! See http://factorcode.org/license.txt for BSD license.
-USING: audio.engine game.loop help.markup help.syntax kernel math method-chains
-ui ui.gadgets.worlds words ;
+USING: audio.engine game.loop help.markup help.syntax
+ui.gadgets.worlds ;
IN: game.worlds
HELP: game-attributes
! See http://factorcode.org/license.txt for BSD license.
USING: accessors audio.engine combinators concurrency.promises
destructors game.input game.loop kernel math parser sequences
-threads ui ui.gadgets ui.gadgets.worlds vocabs.parser words.constant ;
+threads ui ui.gadgets ui.gadgets.worlds vocabs.parser
+words.constant ;
IN: game.worlds
TUPLE: game-world < world
! Copyright (C) 2009 Joe Groff.
! See http://factorcode.org/license.txt for BSD license.
-USING: alien alien.data byte-arrays destructors help.markup help.syntax
-kernel math quotations ;
+USING: alien byte-arrays destructors help.markup help.syntax
+math ;
IN: gpu.buffers
HELP: <buffer-ptr>
! Copyright (C) 2009 Joe Groff.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors alien alien.c-types alien.data arrays byte-arrays
-combinators destructors gpu kernel locals math opengl opengl.gl
+combinators destructors gpu kernel math opengl opengl.gl
typed ui.gadgets.worlds variants ;
IN: gpu.buffers
USING: accessors debugger gpu.shaders io kernel prettyprint ;
+IN: gpu.shaders.prettyprint
M: compile-shader-error error.
"The GLSL shader " write
! See http://factorcode.org/license.txt for BSD license.
USING: accessors alien alien.c-types alien.data alien.strings
arrays assocs byte-arrays classes.mixin classes.parser
-classes.singleton classes.struct combinators combinators.short-circuit
-definitions destructors fry generic.parser gpu gpu.buffers gpu.private
-gpu.state hashtables images io.encodings.ascii io.files io.pathnames
-kernel lexer literals locals math math.parser memoize multiline namespaces
+classes.singleton classes.struct combinators
+combinators.short-circuit definitions destructors generic.parser
+gpu gpu.buffers gpu.private gpu.state hashtables images
+io.encodings.ascii io.files io.pathnames kernel lexer literals
+math math.floats.half math.parser memoize multiline namespaces
opengl opengl.gl opengl.shaders parser quotations sequences
-specialized-arrays splitting strings tr ui.gadgets.worlds
-variants vectors vocabs vocabs.loader vocabs.parser words
-words.constant math.floats.half typed ;
+specialized-arrays splitting strings tr typed ui.gadgets.worlds
+variants vocabs.loader words words.constant ;
QUALIFIED-WITH: alien.c-types c
SPECIALIZED-ARRAY: int
SPECIALIZED-ARRAY: void*
! Copyright (C) 2009 Joe Groff.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors alien.c-types arrays byte-arrays combinators
-destructors fry gpu gpu.buffers images kernel locals math
-opengl opengl.gl opengl.textures sequences
+destructors gpu gpu.buffers images kernel math
+opengl.gl opengl.textures sequences
specialized-arrays typed ui.gadgets.worlds variants ;
FROM: alien.c-types => float ;
SPECIALIZED-ARRAY: float
! Copyright (C) 2004, 2009 Chris Double, Daniel Ehrenberg.
! See http://factorcode.org/license.txt for BSD license.
-USING: io io.styles kernel namespaces prettyprint quotations
-sequences strings words xml.entities compiler.units effects
-xml.data urls math math.parser combinators
-present fry io.streams.string xml.writer html ;
+USING: io.styles kernel present sequences words xml.entities ;
IN: html.elements
SYMBOL: html
! Copyright (C) 2008 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors assocs assocs.extras combinators
-combinators.short-circuit fry html.parser http.client io kernel
-locals math math.statistics sequences sets shuffle splitting
-unicode urls urls.encoding ;
+combinators.short-circuit html.parser http.client io kernel math
+math.statistics sequences sets splitting unicode urls
+urls.encoding ;
IN: html.parser.analyzer
: scrape-html ( url -- response vector )
! Copyright (C) 2008 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays hashtables sequences.parser
-html.parser.utils kernel namespaces sequences make math
-unicode combinators.short-circuit quoting fry ;
+USING: accessors combinators.short-circuit html.parser.utils
+kernel make math namespaces quoting sequences sequences.parser
+unicode ;
IN: html.parser
TUPLE: tag name attributes text closing? ;
! Copyright (C) 2021 Your name.
! See http://factorcode.org/license.txt for BSD license.
-USING: byte-arrays help.markup help.syntax kernel sequences strings ;
+USING: byte-arrays help.markup help.syntax sequences strings ;
IN: http2.hpack
HELP: hpack-context
-USING: accessors arrays byte-arrays byte-vectors combinators fry
-http2.hpack.huffman io.encodings.string io.encodings.utf8 locals
-kernel math math.functions math.bitwise multiline sequences ;
+USING: accessors arrays byte-arrays byte-vectors combinators
+http2.hpack.huffman io.encodings.string io.encodings.utf8 kernel
+math math.bitwise multiline sequences ;
IN: http2.hpack
-USING: accessors continuations http http.server http.server.requests
-io io.encodings.ascii io.servers io.sockets io.streams.peek
-io.streams.limited kernel namespaces openssl.libssl ;
+USING: accessors continuations http http.server
+http.server.requests io.encodings.ascii io.servers io.sockets
+io.streams.limited kernel namespaces ;
IN: http2.server
! Copyright (C) 2007 Gavin Harrison
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel math sequences kernel.private namespaces arrays io
-io.files splitting grouping math.functions vectors endian
-quotations combinators io.encodings.binary ;
+USING: arrays combinators endian grouping io io.encodings.binary
+io.files kernel math math.functions namespaces sequences vectors ;
IN: icfp.2006
SYMBOL: regs
! Copyright (C) 2009 Tim Wawrzynczak, Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: sequences io io.encodings.binary io.files io.pathnames
-strings kernel math io.mmap accessors combinators ranges
-unicode byte-arrays io.encodings.string
-io.encodings.utf16 assocs math.parser combinators.short-circuit
-fry namespaces combinators.smart splitting io.encodings.ascii
-arrays io.files.info io.directories literals
-math.functions continuations ;
+USING: accessors arrays assocs byte-arrays
+combinators combinators.short-circuit combinators.smart
+continuations io.directories io.encodings.ascii
+io.encodings.string io.encodings.utf16 io.mmap kernel math
+math.functions math.parser sequences splitting unicode ;
FROM: alien.c-types => uchar ;
IN: id3
! Copyright (C) 2010 Joe Groff.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays assocs byte-arrays fry images kernel
-locals math math.functions math.order math.vectors namespaces
-sequences sorting ;
+USING: accessors arrays assocs byte-arrays images kernel math
+math.functions math.order math.vectors sequences sorting ;
IN: images.atlas
! sort rects by height/width/whatever
! Copyright (C) 2009 Keith Lazuka.
! See http://factorcode.org/license.txt for BSD license.
-USING: help.markup help.syntax kernel sequences ;
+USING: help.markup help.syntax ;
IN: images.gif
ARTICLE: "images.gif" "GIF Image Loader"
! Copyrigt (C) 2009 Doug Coleman, Keith Lazuka
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays combinators compression.lzw
-constructors destructors endian grouping images images.loader
-io io.buffers io.encodings.string io.encodings.utf8
-kernel make math math.bitwise namespaces sequences ;
+USING: accessors arrays combinators compression.lzw constructors
+endian grouping images images.loader io io.encodings.string
+io.encodings.utf8 kernel make math math.bitwise sequences ;
IN: images.gif
SINGLETON: gif-image
! Copyright (C) 2009 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors arrays assocs byte-arrays combinators
-combinators.short-circuit compression.lzw endian fry grouping
+combinators.short-circuit compression.lzw endian grouping
images images.loader io io.encodings.ascii
io.encodings.string io.encodings.utf8 io.streams.throwing kernel
math math.bitwise math.vectors pack sequences ;
! Copyright (C) 2007, 2009 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors arrays combinators.short-circuit continuations
-destructors images images.loader io.pathnames kernel locals math
+destructors images images.loader io.pathnames kernel math
models opengl.gl opengl.textures opengl.textures.private
sequences strings ui ui.gadgets ui.gadgets.panes
ui.gadgets.worlds ui.render ;
! Copyright (C) 2010 Joe Groff.
! See http://factorcode.org/license.txt for BSD license.
-USING: byte-arrays combinators continuations fry io io.encodings
+USING: byte-arrays combinators continuations io io.encodings
io.encodings.ascii io.encodings.binary io.encodings.iana
io.encodings.latin1 io.encodings.string io.encodings.utf16
io.encodings.utf32 io.encodings.utf8 io.files kernel literals
! Copyright (C) 2009 Bruno Deferrari
! See http://factorcode.org/license.txt for BSD license.
-USING: help.markup help.syntax quotations kernel
-irc.messages irc.messages.base irc.messages.parser irc.client.chats ;
+USING: help.markup help.syntax irc.client.chats irc.messages
+irc.messages.base ;
IN: irc.client
HELP: connect-irc "Connecting to an irc server"
! Copyright (C) 2008 Bruno Deferrari, Doug Coleman, Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors concurrency.mailboxes destructors
-irc.client.base irc.client.chats irc.client.internals kernel
-namespaces sequences ;
+USING: accessors concurrency.mailboxes irc.client.base
+irc.client.internals kernel ;
IN: irc.client
: connect-irc ( irc-client -- )
! Copyright (C) 2009 Bruno Deferrari
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors assocs arrays concurrency.mailboxes continuations destructors
-hashtables io irc.client.base irc.client.chats irc.messages kernel namespaces
-strings words.symbol irc.messages.base irc.client.participants fry threads
-combinators irc.messages.parser math sequences ;
+USING: accessors arrays assocs combinators concurrency.mailboxes
+continuations destructors io irc.client.base irc.client.chats
+irc.client.participants irc.messages irc.messages.base
+irc.messages.parser kernel math sequences strings threads
+words.symbol ;
IN: irc.client.internals
: do-connect ( server port quot: ( host port -- stream ) attempts -- stream/f )
! Copyright (C) 2009 Bruno Deferrari
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel fry splitting ascii accessors combinators
- arrays classes.tuple math.order words assocs
- irc.messages.base sequences ;
+USING: accessors irc.messages.base kernel sequences splitting ;
IN: irc.messages.parser
<PRIVATE
! Copyright (C) 2007, 2008 Alex Chapman
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors kernel opengl arrays sequences jamshred.log jamshred.player jamshred.sound jamshred.tunnel math math.constants math.vectors ;
+USING: accessors arrays jamshred.player jamshred.sound
+jamshred.tunnel kernel math math.constants sequences ;
IN: jamshred.game
TUPLE: jamshred sounds tunnel players running quit ;
! Copyright (C) 2007, 2008 Alex Chapman
! See http://factorcode.org/license.txt for BSD license.
USING: accessors arrays calendar jamshred.game jamshred.gl
-jamshred.player jamshred.log kernel math math.constants
-math.rectangles math.vectors namespaces sequences threads ui
-ui.backend ui.gadgets ui.gadgets.worlds ui.gestures ui.render ;
+jamshred.player kernel math math.constants math.vectors
+namespaces sequences threads ui ui.gadgets ui.gadgets.worlds
+ui.gestures ui.render ;
IN: jamshred
TUPLE: jamshred-gadget < gadget { jamshred jamshred } last-hand-loc ;
! Copyright (C) 2007, 2008 Alex Chapman
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays kernel locals math math.constants math.functions math.matrices math.vectors random sequences ;
+USING: accessors arrays kernel math math.functions math.vectors
+random sequences ;
IN: jamshred.oint
! An oint is a point with three linearly independent unit vectors
! Copyright (C) 2007, 2008 Alex Chapman
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors colors combinators jamshred.log jamshred.oint
-jamshred.sound jamshred.tunnel kernel locals math math.constants
-math.order ranges math.vectors math.matrices sequences shuffle
-specialized-arrays strings system ;
-
+USING: accessors colors combinators jamshred.oint
+jamshred.sound jamshred.tunnel kernel math math.order
+math.vectors ranges sequences specialized-arrays
+specialized-arrays.instances.alien.c-types.float strings system ;
QUALIFIED-WITH: alien.c-types c
SPECIALIZED-ARRAY: c:float
IN: jamshred.player
! Copyright (C) 2007, 2008 Alex Chapman
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays colors combinators fry jamshred.oint
-kernel literals locals math math.constants math.matrices
-math.order math.quadratic ranges math.vectors random
-sequences specialized-arrays vectors ;
+USING: accessors alien.c-types colors combinators jamshred.oint
+kernel literals math math.constants math.order math.quadratic
+math.vectors random sequences specialized-arrays
+specialized-arrays.instances.alien.c-types.float vectors ;
FROM: jamshred.oint => distance ;
FROM: alien.c-types => float ;
SPECIALIZED-ARRAY: float
alien.syntax classes classes.struct combinators
combinators.short-circuit io.encodings.ascii io.encodings.string
kernel literals make math sequences specialized-arrays typed
-fry io.mmap formatting locals splitting endian arrays ;
+io.mmap formatting splitting endian ;
FROM: alien.c-types => short ;
IN: macho
-USING: accessors alien alien.c-types alien.complex
-alien.data arrays byte-arrays combinators
-combinators.short-circuit fry kernel locals macros math
-math.blas.ffi math.blas.vectors math.blas.vectors.private
-math.complex math.functions math.order functors words
-sequences sequences.merged sequences.private shuffle
-parser prettyprint.backend prettyprint.custom ascii
-specialized-arrays ;
+USING: accessors alien alien.c-types alien.complex alien.data
+ascii byte-arrays combinators combinators.short-circuit functors
+kernel math math.blas.ffi math.blas.vectors
+math.blas.vectors.private parser prettyprint.custom sequences
+sequences.merged sequences.private specialized-arrays ;
FROM: alien.c-types => float ;
SPECIALIZED-ARRAY: float
SPECIALIZED-ARRAY: double
! Copyright (C) 2013 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: fry kernel math math.bitwise sequences ;
+USING: kernel math math.bitwise sequences ;
IN: math.combinatorics.bits
: next-permutation-bits ( v -- w )
! Copyright (C) 2009 Jason W. Merrill.
! See http://factorcode.org/license.txt for BSD license.
-USING: help.markup help.syntax kernel words math math.functions math.derivatives.syntax ;
+USING: help.markup help.syntax kernel math
+math.derivatives.syntax words ;
IN: math.dual
HELP: <dual>
! Copyright (C) 2009 Jason W. Merrill.
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel math math.functions math.derivatives accessors
- macros generic compiler.units words effects vocabs
- sequences arrays assocs generalizations fry make
- combinators.smart help help.markup ;
+USING: accessors arrays assocs combinators.smart compiler.units
+effects generalizations help help.markup kernel make math
+sequences vocabs words ;
IN: math.dual
! Copyright (C) 2012 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: help.markup help.syntax kernel math math.functions sequences ;
+USING: help.markup help.syntax kernel math math.functions
+sequences ;
IN: math.extras
! Copyright (C) 2012 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: accessors arrays assocs assocs.extras byte-arrays
-combinators combinators.short-circuit compression.zlib fry
-grouping kernel locals math math.bitwise math.combinatorics
-math.constants math.functions math.order math.primes
-math.primes.factors ranges ranges.private
-math.statistics math.vectors memoize parser random sequences
-sequences.extras sequences.private sets sorting sorting.extras ;
+USING: accessors arrays assocs byte-arrays combinators
+combinators.short-circuit compression.zlib grouping kernel math
+math.bitwise math.combinatorics math.constants math.functions
+math.order math.primes math.primes.factors math.statistics
+math.vectors random ranges ranges.private sequences
+sequences.extras sets sorting sorting.extras ;
IN: math.extras
! Copyright (C) 2013 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: combinators combinators.short-circuit fry inverse kernel
-math math.functions math.primes ranges memoize sequences ;
+USING: combinators combinators.short-circuit inverse kernel
+math math.functions math.primes ranges sequences ;
IN: math.factorials
! Copyright (C) 2008 John Benediktsson, Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: fry grouping kernel math math.statistics math.vectors
+USING: grouping kernel math math.statistics math.vectors
sequences ;
IN: math.finance
! Copyright (c) 2008 Reginald Keith Ford II.
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel math arrays sequences ;
+USING: kernel math arrays ;
IN: math.function-tools
! Tools for quickly comparing, transforming, and evaluating mathematical functions
-USING: help.markup help.syntax math sequences ;
+USING: help.markup help.syntax sequences ;
IN: math.matrices.elimination
! Copyright (C) 2006, 2010 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel locals math math.vectors math.matrices
-namespaces sequences fry sorting ;
+USING: kernel math math.matrices math.vectors namespaces
+sequences ;
IN: math.matrices.elimination
SYMBOL: matrix
! Copyright (C) 2005, 2010, 2018 Slava Pestov, Joe Groff, and Cat Stevens.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays combinators formatting fry kernel locals
-math math.bits math.functions math.matrices
-math.matrices.private math.order math.statistics math.text.english
-math.vectors random sequences sequences.deep summary ;
+USING: accessors arrays combinators formatting kernel math
+math.bits math.functions math.matrices math.order
+math.statistics math.text.english math.vectors random sequences
+sequences.deep summary ;
IN: math.matrices.extras
! this is a questionable implementation
! Copyright (C) 2013 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays classes fry kernel locals math
-math.matrices math.vectors sequences sequences.private ;
+USING: accessors classes kernel math math.matrices math.vectors
+sequences sequences.private ;
IN: math.matrices.laplace
<PRIVATE
! Copyright (C) 2009, 2011 Joe Groff.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors classes.struct fry generalizations kernel
-locals math math.combinatorics math.functions math.matrices.simd
-math.vectors math.vectors.simd math.quaternions sequences
+USING: accessors classes.struct generalizations kernel
+math math.functions math.matrices.simd math.vectors
+math.vectors.simd math.quaternions sequences
sequences.generalizations sequences.private specialized-arrays
typed ;
FROM: sequences.private => nth-unsafe ;
! Copyright (C) 2014 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: combinators kernel locals math math.extras
-math.extras.private math.functions ranges random sequences ;
+USING: combinators kernel math math.extras math.extras.private
+math.functions ranges random sequences ;
IN: math.primes.solovay-strassen
! Copyright (C) 2007 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel locals math math.functions ;
+USING: kernel math math.functions ;
IN: math.quadratic
: monic ( c b a -- c' b' ) [ / ] curry bi@ ;
-USING: kernel io accessors arrays math.runge-kutta sequences math math.matrices
- ui.gadgets ui.gadgets.charts ui.gadgets.panes ui.gadgets.charts.lines ui.theme ;
+USING: accessors arrays kernel math math.matrices
+math.runge-kutta sequences ui.gadgets ui.gadgets.charts
+ui.gadgets.charts.lines ui.gadgets.panes ui.theme ;
IN: math.runge-kutta.examples
: lorenz-dx/dt ( tx..n -- dx )
-USING: kernel accessors fry combinators sequences sequences.generalizations
- arrays math math.vectors math.functions ;
+USING: kernel accessors combinators sequences sequences.generalizations
+arrays math math.vectors ;
IN: math.runge-kutta
: runge-kutta-2-transform ( rk1 tx..n delta -- tx..n' delta )
! Copyright (c) 2008 Reginald Keith Ford II.
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel math math.function-tools math.points math.vectors ;
+USING: kernel math math.function-tools math.points ;
IN: math.secant-method
! Secant method of approximating roots
! Copyright (C) 2010 Erik Charlebois
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors combinators kernel locals math math.combinatorics
-math.polynomials opengl.gl sequences ui.gadgets ui.gadgets.panes
-ui.render arrays grouping math.vectors assocs
-ui.gestures ;
+USING: arrays combinators grouping kernel math
+math.combinatorics math.polynomials math.vectors sequences ;
IN: math.splines
<PRIVATE
! Copyright (C) 2010 Erik Charlebois.
! See http://factorcode.org/license.txt for BSD license.
-USING: locals math.splines math.splines.viewer arrays ;
+USING: arrays math.splines math.splines.viewer ;
IN: math.splines.testing
: test1 ( -- )
! Copyright (C) 2010 Erik Charlebois.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors kernel locals math math.order math.polynomials
-math.splines opengl.demo-support opengl.gl sequences ui.gadgets
+USING: accessors kernel math math.order math.polynomials
+opengl.demo-support opengl.gl sequences ui.gadgets
ui.gadgets.panes ui.render arrays ;
IN: math.splines.viewer
! Copyright (c) 2007, 2008, 2018 Aaron Schaefer.
! See http://factorcode.org/license.txt for BSD license.
-USING: combinators combinators.short-circuit grouping kernel
-math math.functions math.parser math.order math.text.utils namespaces
-sequences splitting ;
+USING: combinators combinators.short-circuit kernel math
+math.order math.parser math.text.utils namespaces sequences
+splitting ;
IN: math.text.english
<PRIVATE
! Copyright (c) 2009 Samuel Tardieu.
! See http://factorcode.org/license.txt for BSD license.
USING: arrays assocs combinators kernel math math.functions
-math.parser math.text.utils memoize sequences splitting ;
+math.parser math.text.utils sequences splitting ;
IN: math.text.french
<PRIVATE
! Copyright (c) 2007, 2008 Aaron Schaefer.
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel fry math.functions math sequences ;
+USING: kernel math math.functions sequences ;
IN: math.text.utils
: digit-groups ( n k -- seq )
! Copyright (C) 2012 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: accessors assocs fry kernel locals sequences
-sequences.rotated sorting ;
+USING: accessors assocs kernel sequences sequences.rotated
+sorting ;
IN: math.transforms.bwt
! Semi-efficient versions of Burrows-Wheeler Transform
! Copyright (c) 2012 John Benediktsson
! See http://factorcode.org/license.txt for BSD license.
-USING: arrays kernel locals math math.constants math.functions
-math.vectors sequences sequences.extras sequences.private ;
+USING: kernel math math.constants math.functions
+math.vectors sequences sequences.extras ;
IN: math.transforms.fft
<PRIVATE
! Copyright (C) 2013 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: kernel literals math math.constants math.functions
-memoize sequences sequences.extras sets sets.extras ;
+USING: kernel math math.constants math.functions sequences sets
+sets.extras ;
IN: math.unicode
-
CONSTANT: ½ 1/2
CONSTANT: ¼ 1/4
CONSTANT: ¾ 3/4
! Copyright (C) 2015 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors combinators.smart io.files kernel sequences
-splitting vocabs.files vocabs.hierarchy vocabs.loader
-vocabs.metadata sets ;
+USING: accessors combinators.smart io.files sequences sets
+vocabs.files vocabs.hierarchy vocabs.loader ;
IN: modern.paths
ERROR: not-a-source-path path ;
! Copyright (C) 2008 Slava Pestov
! See http://factorcode.org/license.txt for BSD license.
-USING: arrays kernel sequences sequences.deep splitting
-accessors fry locals combinators namespaces lists lists.lazy
-shuffle ;
+USING: accessors arrays kernel lists lists.lazy sequences ;
IN: monads
! Functors
-USING: calendar math fry kernel assocs ranges bson.reader io.streams.byte-array
-sequences formatting combinators namespaces io tools.time prettyprint io.encodings.binary
-accessors words mongodb.driver strings math.parser bson.writer
-hashtables ;
+USING: accessors assocs bson.reader bson.writer calendar
+formatting hashtables io io.encodings.binary
+io.streams.byte-array kernel math math.parser
+mongodb.driver namespaces ranges sequences strings tools.time ;
FROM: mongodb.driver => find ;
FROM: memory => gc ;
-
IN: mongodb.benchmark
SYMBOL: collection
-USING: assocs help.markup help.syntax kernel quotations ;
+USING: help.markup help.syntax ;
IN: mongodb
ARTICLE: "mongodb" "MongoDB factor integration"
-USING: classes kernel accessors sequences fry assocs mongodb.tuple.collection
-words classes.tuple slots generic ;
-
+USING: accessors assocs classes kernel sequences ;
IN: mongodb.tuple.state
<PRIVATE
! Copyright (C) 2007, 2008, 2009 Alex Chapman, 2009 Diego Martinelli
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors ascii assocs biassocs combinators hashtables
-kernel lists literals math namespaces make multiline openal
-openal.alut parser sequences splitting strings synth
-synth.buffers ;
+USING: accessors ascii assocs biassocs combinators kernel
+literals math multiline namespaces openal openal.alut sequences
+splitting strings synth synth.buffers ;
IN: morse
ERROR: no-morse-ch ch ;
-USING: io io.files sequences xml xml.traversal
-io.encodings.ascii kernel ;
+USING: io.files sequences xml xml.traversal io.encodings.ascii kernel ;
IN: msxml-to-csv
: (msxml>csv) ( xml -- table )
-USING: arrays kernel math opengl opengl.gl opengl.glu
-opengl.demo-support ui ui.gadgets ui.render literals accessors ;
+USING: accessors kernel literals math opengl.demo-support
+opengl.gl opengl.glu ui ui.gadgets ui.render ;
IN: nehe.3
TUPLE: nehe3-gadget < gadget ;
-USING: arrays kernel math opengl opengl.gl opengl.glu
-opengl.demo-support ui ui.gadgets ui.render ui.pixel-formats
-threads accessors calendar literals ;
+USING: accessors calendar kernel literals math
+opengl.demo-support opengl.gl opengl.glu threads ui ui.gadgets
+ui.pixel-formats ui.render ;
IN: nehe.4
TUPLE: nehe4-gadget < gadget rtri rquad thread quit? ;
-USING: arrays kernel math opengl opengl.gl opengl.glu
-opengl.demo-support ui ui.gadgets ui.render ui.pixel-formats
-threads accessors calendar literals ;
+USING: accessors calendar kernel literals math
+opengl.demo-support opengl.gl opengl.glu threads ui ui.gadgets
+ui.pixel-formats ui.render ;
IN: nehe.5
TUPLE: nehe5-gadget < gadget rtri rquad thread quit? ;
! Copyright (C) 2007 Chris Double.
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel accessors arrays alien system combinators
-alien.syntax namespaces alien.c-types sequences vocabs
-shuffle openal openal.alut.backend alien.libraries generalizations
-specialized-arrays alien.destructors ;
-FROM: alien.c-types => float short ;
+USING: alien alien.c-types alien.libraries alien.syntax
+combinators kernel namespaces openal openal.alut.backend
+specialized-arrays system vocabs ;
SPECIALIZED-ARRAY: uint
+FROM: alien.c-types => float short ;
IN: openal.alut
<< "alut" {
-USING: namespaces system ;
+USING: system ;
IN: openal.alut.backend
HOOK: load-wav-file os ( filename -- format data size frequency )
! Copyright (C) 2007 Chris Double.
! See http://factorcode.org/license.txt for BSD license.
USING: alien.c-types alien.data alien.syntax combinators
-generalizations kernel openal openal.alut.backend ;
+kernel openal openal.alut.backend ;
IN: openal.alut.other
LIBRARY: alut
! Copyright (C) 2007 Chris Double.
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel accessors arrays alien system combinators
-alien.syntax namespaces sequences vocabs.loader
-shuffle alien.libraries generalizations
-specialized-arrays alien.destructors alien.data ;
+USING: alien alien.data alien.destructors alien.libraries
+alien.syntax arrays combinators kernel sequences
+specialized-arrays system ;
FROM: alien.c-types => char double float int short uchar uint
ushort void ;
SPECIALIZED-ARRAY: uint
! Copyright (C) 2010 Erik Charlebois.
! See http://factorcode.org/license.txt for BSD license.
-USING: alien alien.c-types alien.data alien.libraries alien.syntax
-classes.struct combinators system alien.accessors byte-arrays
-kernel ;
+USING: alien alien.c-types alien.libraries alien.syntax
+classes.struct combinators system ;
IN: opencl.ffi
<< "opencl" {
-USING: arrays kernel math math.functions math.order math.vectors
-namespaces opengl opengl.gl sequences ui ui.gadgets ui.gestures
-ui.gadgets.worlds ui.render accessors combinators literals ;
+USING: accessors combinators kernel literals math math.functions
+math.order math.vectors namespaces opengl opengl.gl sequences
+ui.gadgets ui.gadgets.worlds ui.gestures ;
IN: opengl.demo-support
CONSTANT: FOV $[ 2.0 sqrt 1 + ]
! Copyright (C) 2011-2012 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: accessors arrays assocs calendar colors colors.gray
-combinators combinators.short-circuit fonts formatting
-hashtables io kernel make math math.parser sequences splitting
-strings xml.entities ;
+USING: accessors assocs calendar colors combinators fonts
+formatting hashtables io kernel make math math.parser sequences
+splitting strings xml.entities ;
IN: pdf.values
! Copyright (c) 2008 Aaron Schaefer.
! See http://factorcode.org/license.txt for BSD license.
-USING: fry kernel math ranges project-euler.common
+USING: kernel math ranges project-euler.common
sequences sets ;
IN: project-euler.023
! Copyright (c) 2008 Aaron Schaefer.
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel math math.combinatorics math.parser math.primes
- project-euler.common sequences ;
+USING: kernel math math.primes project-euler.common sequences ;
IN: project-euler.035
! http://projecteuler.net/index.php?section=problems&id=35
! Copyright (c) 2008 Aaron Schaefer.
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel math ranges project-euler.common sequences
- strings ;
+USING: kernel math ranges project-euler.common sequences ;
IN: project-euler.038
! http://projecteuler.net/index.php?section=problems&id=38
! Copyright (c) 2008 Aaron Schaefer.
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel math math.parser sequences strings project-euler.common ;
+USING: kernel math math.parser sequences project-euler.common ;
IN: project-euler.040
! http://projecteuler.net/index.php?section=problems&id=40
! Copyright (c) 2008 Aaron Schaefer.
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel math.combinatorics math.parser math.primes sequences project-euler.common ;
+USING: kernel math.combinatorics math.primes sequences project-euler.common ;
IN: project-euler.041
! http://projecteuler.net/index.php?section=problems&id=41
! Copyright (c) 2008 Aaron Schaefer.
! See http://factorcode.org/license.txt for BSD license.
USING: ascii io.encodings.ascii io.files kernel make math math.functions
- namespaces project-euler.common sequences splitting ;
+project-euler.common sequences splitting ;
IN: project-euler.042
! http://projecteuler.net/index.php?section=problems&id=42
! Copyright (c) 2008 Aaron Schaefer.
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel math math.functions ranges math.order
-project-euler.common sequences layouts ;
+USING: kernel math ranges math.order project-euler.common
+sequences layouts ;
IN: project-euler.044
! http://projecteuler.net/index.php?section=problems&id=44
! 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 math.bitwise ;
+sequences project-euler.common ;
IN: project-euler.046
! http://projecteuler.net/index.php?section=problems&id=46
! Copyright (c) 2009 Aaron Schaefer.
! See http://factorcode.org/license.txt for BSD license.
-USING: arrays byte-arrays fry kernel math math.combinatorics math.functions
- math.parser math.primes project-euler.common sequences sets ;
+USING: arrays kernel math math.primes project-euler.common
+sequences sets ;
FROM: project-euler.common => permutations? ;
IN: project-euler.049
! Copyright (c) 2008 Aaron Schaefer.
! See http://factorcode.org/license.txt for BSD license.
-USING: arrays kernel locals math math.order math.primes
+USING: arrays kernel math math.order math.primes
project-euler.common sequences ;
IN: project-euler.050
! for each prime number, count the families it belongs to. When one reaches count of 8, stop, and get the smallest number by replacing * with ones.
-USING: assocs fry kernel math math.combinatorics math.functions
+USING: assocs kernel math math.combinatorics math.functions
math.order math.parser math.primes ranges namespaces
project-euler.common sequences sets ;
IN: project-euler.051
! Copyright (c) 2008 Aaron Schaefer.
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel math ranges project-euler.common sequences ;
+USING: kernel math project-euler.common sequences ;
IN: project-euler.055
! http://projecteuler.net/index.php?section=problems&id=55
! Copyright (c) 2008 Samuel Tardieu
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel math math.functions math.parser ranges project-euler.common
- sequences ;
+USING: kernel math math.parser project-euler.common sequences ;
IN: project-euler.057
! http://projecteuler.net/index.php?section=problems&id=57
! Copyright (c) 2009 Aaron Schaefer.
! See http://factorcode.org/license.txt for BSD license.
-USING: fry kernel math math.primes ranges project-euler.common sequences ;
+USING: kernel math math.primes project-euler.common ranges
+sequences ;
IN: project-euler.058
! http://projecteuler.net/index.php?section=problems&id=58
! Copyright (c) 2008 Aaron Schaefer, Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: arrays ascii assocs hashtables io.encodings.ascii io.files kernel math
- math.parser namespaces make sequences sequences.private sorting
- splitting grouping strings sets accessors project-euler.common ;
+USING: accessors arrays ascii assocs grouping io.encodings.ascii
+io.files kernel make math math.parser project-euler.common
+sequences sequences.private sets sorting splitting ;
IN: project-euler.059
! http://projecteuler.net/index.php?section=problems&id=59
! See http://factorcode.org/license.txt for BSD license
USING: backtrack backtrack.private combinators.short-circuit
-kernel locals math math.functions math.primes
+kernel math math.functions math.primes
project-euler.common sequences ;
IN: project-euler.060
-USING: accessors arrays classes.tuple io kernel locals math
-math.functions ranges prettyprint project-euler.common
-sequences ;
+USING: accessors classes.tuple kernel math math.functions
+project-euler.common ranges sequences ;
IN: project-euler.064
! http://projecteuler.net/index.php?section=problems&id=64
! Copyright (c) 2007 Samuel Tardieu, Aaron Schaefer.
! See http://factorcode.org/license.txt for BSD license.
-USING: io.files math.parser namespaces project-euler.common
+USING: io.files math.parser project-euler.common
io.encodings.ascii sequences splitting ;
IN: project-euler.067
! Copyright (c) 2009 Aaron Schaefer.
! See http://factorcode.org/license.txt for BSD license.
-USING: combinators fry kernel math math.primes math.primes.factors
+USING: combinators kernel math math.primes math.primes.factors
ranges project-euler.common sequences sequences.extras ;
IN: project-euler.069
! Copyright (c) 2009 Guillaume Nargeot.
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel math math.primes.factors ranges
-project-euler.common sequences ;
+USING: math.primes.factors project-euler.common ranges sequences ;
IN: project-euler.072
! http://projecteuler.net/index.php?section=problems&id=072
! Copyright (c) 2008 Aaron Schaefer.
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel locals math project-euler.common sequences ;
+USING: kernel math project-euler.common ;
IN: project-euler.073
! http://projecteuler.net/index.php?section=problems&id=73
! Copyright (c) 2008 Eric Mertens.
! See http://factorcode.org/license.txt for BSD license.
-USING: arrays assocs kernel locals math math.order ranges sequences project-euler.common ;
+USING: arrays assocs kernel math math.order ranges sequences project-euler.common ;
IN: project-euler.076
! http://projecteuler.net/index.php?section=problems&id=76
! Copyright (c) 2009 Guillaume Nargeot.
! See http://factorcode.org/license.txt for BSD license.
-USING: fry io.encodings.ascii io.files locals kernel math
-math.order math.parser ranges sequences splitting
-project-euler.common ;
+USING: io.encodings.ascii io.files kernel math math.order
+math.parser project-euler.common sequences splitting ;
IN: project-euler.081
! http://projecteuler.net/index.php?section=problems&id=081
! Copyright (c) 2009 Guillaume Nargeot.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors kernel math ranges project-euler.common
-sequences locals ;
+sequences ;
IN: project-euler.085
! http://projecteuler.net/index.php?section=problems&id=85
-USING: locals math math.functions math.primes
+USING: math math.functions math.primes
project-euler.common sequences sets ;
IN: project-euler.087
! Copyright (c) 2008 Eric Mertens.
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel math math.functions sequences project-euler.common ;
+USING: kernel math math.functions project-euler.common ;
IN: project-euler.100
! http://projecteuler.net/index.php?section=problems&id=100
! Copyright (c) 2009 Guillaume Nargeot.
! See http://factorcode.org/license.txt for BSD license.
-USING: arrays kernel math project-euler.common sequences sorting ;
+USING: kernel math project-euler.common sequences sorting ;
IN: project-euler.112
! http://projecteuler.net/index.php?section=problems&id=112
! Copyright (c) 2008 Eric Mertens.
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel math math.order sequences splitting project-euler.common ;
+USING: kernel math project-euler.common sequences ;
IN: project-euler.117
! http://projecteuler.net/index.php?section=problems&id=117
! Copyright (c) 2007 Samuel Tardieu.
! See http://factorcode.org/license.txt for BSD license.
-USING: arrays kernel lists lists.lazy math.algebra math math.functions
- math.order math.primes.lists ranges project-euler.common sequences ;
+USING: arrays kernel lists lists.lazy math math.algebra
+math.functions math.primes.lists project-euler.common ;
IN: project-euler.134
! http://projecteuler.net/index.php?section=problems&id=134
! Copyright (c) 2008 Eric Mertens.
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel locals math math.order ranges math.statistics
+USING: kernel math math.order ranges math.statistics
project-euler.common sequences sequences.private ;
IN: project-euler.150
! Copyright (c) 2007 Samuel Tardieu.
! See http://factorcode.org/license.txt for BSD license.
IN: project-euler.169
-USING: combinators kernel math math.functions memoize project-euler.common ;
+USING: combinators kernel math math.functions project-euler.common ;
! http://projecteuler.net/index.php?section=problems&id=169
! Copyright (c) 2007 Samuel Tardieu.
! See http://factorcode.org/license.txt for BSD license.
-USING: combinators kernel math math.parser ranges sequences vectors project-euler.common ;
+USING: combinators kernel math math.parser project-euler.common
+sequences ;
IN: project-euler.175
! http://projecteuler.net/index.php?section=problems&id=175
! Copyright (c) 2008 Eric Mertens.
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel sequences math math.functions ranges locals project-euler.common ;
+USING: kernel sequences math math.functions ranges project-euler.common ;
IN: project-euler.190
! http://projecteuler.net/index.php?section=problems&id=190
! Copyright (c) 2008 Eric Mertens.
! See http://factorcode.org/license.txt for BSD license.
-USING: fry kernel math math.primes.factors math.vectors sequences sets
+USING: kernel math math.primes.factors math.vectors sequences sets
project-euler.common ;
IN: project-euler.203
! Copyright (c) 2010 Aaron Schaefer. 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: grouping kernel math ranges project-euler.common
-sequences sequences.cords assocs ;
+USING: grouping kernel math project-euler.common ranges
+sequences sequences.cords ;
IN: project-euler.206
! http://projecteuler.net/index.php?section=problems&id=206
! Copyright (c) 2008 Eric Mertens.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors kernel locals math project-euler.common ;
+USING: accessors kernel math project-euler.common ;
IN: project-euler.215
! http://projecteuler.net/index.php?section=problems&id=215
! Copyright (c) 2009 Jon Harper.
! See http://factorcode.org/license.txt for BSD license.
-USING: arrays io kernel locals math math.functions math.parser ranges
- namespaces prettyprint project-euler.common sequences threads ;
+USING: kernel math math.functions project-euler.common ;
IN: project-euler.255
! http://projecteuler.net/index.php?section=problems&id=255
-USING: arrays help.markup help.syntax math math.parser memory quotations
- sequences system tools.time ;
+USING: help.markup help.syntax math quotations sequences ;
IN: project-euler.ave-time
HELP: collect-benchmarks
! Copyright (c) 2007, 2008 Aaron Schaefer.
! See http://factorcode.org/license.txt for BSD license.
-USING: combinators.smart formatting fry io kernel macros math math.functions
+USING: combinators.smart formatting io kernel math math.functions
math.statistics memory sequences tools.time ;
IN: project-euler.ave-time
! Copyright (c) 2007-2010 Aaron Schaefer.
! 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: accessors arrays byte-arrays fry hints kernel lists make
+USING: accessors arrays byte-arrays hints kernel lists make
math math.functions math.matrices math.order math.parser
math.primes.factors math.primes.lists ranges math.ratios
math.vectors parser prettyprint sequences sorting strings
! Copyright (C) 2019 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors arrays assocs combinators
-combinators.short-circuit continuations destructors endian fry
+combinators.short-circuit continuations destructors endian
io io.directories io.encodings.binary io.encodings.latin1
io.encodings.string io.encodings.utf8 io.files io.files.info
io.sockets kernel math math.parser namespaces pack prettyprint
! Copyright (C) 2020 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: accessors arrays ascii assocs byte-arrays combinators
-io.encodings.string io.encodings.utf8 kernel lexer linked-assocs
-literals locals make math math.order math.parser multiline
-namespaces peg.ebnf present prettyprint.backend
-prettyprint.custom prettyprint.sections regexp sbufs sequences
-sequences.extras sequences.generalizations sets sorting
-splitting strings strings.parser urls urls.encoding
-urls.encoding.private urls.private ;
+USING: accessors ascii byte-arrays combinators kernel literals
+math math.order sbufs sequences sequences.extras sets sorting
+splitting urls ;
IN: punycode
USING: alien alien.c-types alien.destructors alien.libraries
-alien.libraries.finder alien.syntax assocs classes.struct kernel sequences
-system ;
+alien.libraries.finder alien.syntax classes.struct ;
IN: python.ffi
<< "python"
! (c) 2009 Joe Groff, see BSD license
-USING: assocs kernel math.rectangles combinators accessors locals
-math.vectors vectors sequences math combinators.short-circuit arrays fry ;
+USING: assocs kernel math.rectangles combinators accessors
+math.vectors vectors sequences math combinators.short-circuit arrays ;
IN: quadtrees
TUPLE: quadtree { bounds rect } point value ll lr ul ur leaf? ;
! 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: qw
HELP: qw{
! Copyright (C) 2009 Joe Groff.
! See http://factorcode.org/license.txt for BSD license.
-USING: lexer sequences parser ;
+USING: lexer sequences ;
IN: qw
SYNTAX: qw{ "}" parse-tokens suffix! ;
-USING: kernel math sequences namespaces math.primes
-math.functions accessors random ;
+USING: accessors kernel math math.functions math.primes random ;
IN: random.blum-blum-shub
! Blum Blum Shub, n = pq, x_i+1 = x_i ^ 2 mod n
! Copyright (C) 2009 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors alien.c-types alien.data arrays fry kernel
-locals math math.bitwise random sequences sequences.private
+USING: accessors alien.c-types alien.data kernel
+math math.bitwise random sequences sequences.private
specialized-arrays ;
SPECIALIZED-ARRAY: uint
IN: random.cmwc
! Copyright (C) 2009 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors alien.c-types alien.data fry kernel literals
-locals math random sequences specialized-arrays namespaces
-sequences.private ;
+USING: accessors alien.c-types alien.data kernel math namespaces
+random sequences sequences.private specialized-arrays ;
SPECIALIZED-ARRAY: double
IN: random.lagged-fibonacci
! Copyright (C) 2019 Jack Lucas
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors alien.enums classes.struct combinators kernel
-math namespaces raylib ;
+USING: accessors combinators kernel math namespaces raylib ;
IN: raylib.demo
: say-hello ( -- )
! Copyright (C) 2019 Jack Lucas
! See http://factorcode.org/license.txt for BSD license.
-USING: raylib kernel ranges sequences locals random
-combinators.random math threads calendar namespaces accessors
-classes.struct combinators alien.enums ;
+USING: alien.enums kernel raylib ;
IN: raylib.demo.gui
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors alien.enums arrays classes.struct combinators.short-circuit
-continuations destructors formatting grouping io.backend io.pathnames kernel math
-math.functions.private math.vectors namespaces raylib sequences threads
-vocabs.metadata ;
+USING: accessors alien.enums arrays combinators.short-circuit
+continuations destructors formatting grouping io.backend io.pathnames
+kernel math math.functions.private math.vectors namespaces raylib
+sequences vocabs.metadata ;
IN: raylib.demo.mesh-picking
! Copyright (C) 2009 Bruno Deferrari
! See http://factorcode.org/license.txt for BSD license.
-USING: assocs kernel redis sequences ;
+USING: assocs kernel redis ;
IN: redis.assoc
INSTANCE: redis assoc
USING: accessors assocs math kernel shuffle generalizations
words quotations arrays combinators sequences math.vectors
io.styles prettyprint vocabs sorting io generic
-math.statistics math.order locals.types
-locals.definitions ;
+math.order locals.types locals.definitions ;
IN: reports.noise
: badness ( word -- n )
! Copyright (C) 2009 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors arrays assocs calendar.parser combinators
-combinators.short-circuit fry globs http.client kernel math.parser
+combinators.short-circuit globs http.client kernel math.parser
namespaces present regexp regexp.combinators sequences splitting
splitting.monotonic unicode urls ;
IN: robots
! Copyright (C) 2020 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: alien alien.c-types alien.libraries alien.syntax
-combinators system rocksdb.lib ;
IN: rocksdb
! Copyright (C) 2009 Joe Groff.
! See http://factorcode.org/license.txt for BSD license.
-USING: classes.mixin help.markup help.syntax kernel multiline roles ;
+USING: classes.mixin help.markup help.syntax kernel roles ;
IN: roles
HELP: ROLE:
! Copyright (C) 2009 Joe Groff.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays classes classes.mixin classes.parser
-classes.tuple classes.tuple.parser combinators
-combinators.short-circuit kernel lexer make parser sequences
-sets strings words ;
+USING: accessors arrays classes.mixin classes.parser
+classes.tuple classes.tuple.parser combinators kernel lexer make
+parser sequences sets strings words ;
IN: roles
ERROR: role-slot-overlap class slots ;
! Space Invaders: http://www.emuparadise.me/M.A.M.E._-_Multiple_Arcade_Machine_Emulator_ROMs/Space_Invaders_--_Space_Invaders_M/13774
USING: accessors alien.c-types alien.data arrays
combinators cpu.8080 cpu.8080.emulator io.pathnames kernel
-locals math math.order openal openal.alut opengl.gl sequences
+math math.order openal openal.alut opengl.gl sequences
specialized-arrays ui ui.gadgets ui.gestures ui.render ;
QUALIFIED: threads
QUALIFIED: system
! Copyright (c) 2012 Anonymous
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors calendar combinators kernel locals math
-math.constants math.functions prettyprint system threads timers ;
+USING: accessors calendar kernel math math.constants
+math.functions prettyprint system threads timers ;
IN: rosetta-code.active-object
! http://rosettacode.org/wiki/Active_object
! Copyright (c) 2012 Anonymous
! See http://factorcode.org/license.txt for BSD license.
-USING: fry io kernel math math.functions math.order sequences
-splitting strings ;
+USING: io kernel math math.functions sequences splitting strings ;
IN: rosetta.align-columns
! http://rosettacode.org/wiki/Align_columns
! Copyright (c) 2012 Anonymous
! See http://factorcode.org/license.txt for BSD license.
-USING: combinators kernel locals math sequences ;
+USING: combinators kernel math sequences ;
IN: rosetta-code.balanced-brackets
! http://rosettacode.org/wiki/Balanced_brackets
! Copyright (c) 2012 Anonymous
! See http://factorcode.org/license.txt for BSD license.
-USING: arrays assocs kernel locals math math.functions
-math.vectors rosetta-code.bitmap rosetta-code.bitmap-line
-sequences ;
+USING: assocs kernel math math.functions math.vectors
+rosetta-code.bitmap-line sequences ;
IN: rosetta-code.bitmap-bezier
! http://rosettacode.org/wiki/Bitmap/Bézier_curves/Cubic
! Copyright (c) 2012 Anonymous
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays kernel locals math math.functions
-ranges math.vectors rosetta-code.bitmap sequences
-ui.gadgets ;
+USING: arrays kernel math ranges rosetta-code.bitmap sequences ;
IN: rosetta-code.bitmap-line
! http://rosettacode.org/wiki/Bitmap/Bresenham%27s_line_algorithm
! Copyright (c) 2012 Anonymous
! See http://factorcode.org/license.txt for BSD license.
-USING: arrays fry kernel math.matrices sequences ;
+USING: arrays kernel math.matrices sequences ;
IN: rosetta-code.bitmap
! http://rosettacode.org/wiki/Basic_bitmap_storage
! Copyright (c) 2012 Anonymous
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors assocs combinators fry grouping hashtables
-kernel locals math math.parser ranges random sequences
-strings io ascii ;
+USING: accessors ascii assocs combinators io kernel math
+math.parser random ranges sequences ;
IN: rosetta-code.bulls-and-cows
! http://rosettacode.org/wiki/Bulls_and_cows
! Copyright (c) 2012 Anonymous
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel math math.statistics math.vectors sequences ;
+USING: kernel math.statistics math.vectors sequences ;
IN: rosetta-code.equilibrium-index
! http://rosettacode.org/wiki/Equilibrium_index
! Copyright (c) 2012 Anonymous
! See http://factorcode.org/license.txt for BSD license.
-USING: combinators kernel make math sequences ;
+USING: combinators kernel make math ;
IN: rosetta-code.happy-numbers
! http://rosettacode.org/wiki/Happy_numbers#Factor
! Copyright (C) 2012 Anonymous.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors calendar images images.viewer kernel math
-math.parser models models.arrow random sequences threads timers
-ui ui.gadgets ui.gadgets.labels ui.gadgets.packs
+math.parser models random sequences timers ui ui.gadgets
ui.gadgets.status-bar ui.gadgets.worlds ;
IN: rosetta-code.image-noise
! Copyright (c) 2012 Anonymous
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel math math.parser math.order ranges sequences ;
+USING: kernel math sequences ;
IN: rosetta-code.luhn-test
! http://rosettacode.org/wiki/Luhn_test_of_credit_card_numbers
! Copyright (C) 2020 Alexander Ilin.
! See http://factorcode.org/license.txt for BSD license.
-USING: arrays fry kernel make sequences ;
+USING: arrays kernel make sequences ;
IN: rosetta-code.multisplit
! Copyright (c) 2012 Anonymous
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel sequences math math.combinatorics formatting io locals ;
+USING: kernel sequences math math.combinatorics formatting io ;
IN: rosetta-code.n-queens
! http://rosettacode.org/wiki/N-queens_problem
! Copyright (c) 2012 Anonymous
! See http://factorcode.org/license.txt for BSD license.
-USING: continuations kernel io io.streams.string locals unicode ;
+USING: continuations kernel io io.streams.string unicode ;
IN: rosetta-code.odd-word
! http://rosettacode.org/wiki/Odd_word_problem
! Copyright (c) 2012 Anonymous
! See http://factorcode.org/license.txt for BSD license.
-USING: bit-arrays io kernel locals math sequences ;
+USING: bit-arrays io kernel math sequences ;
IN: rosetta-code.one-d-cellular
! http://rosettacode.org/wiki/One-dimensional_cellular_automata
! Copyright (c) 2012 Anonymous
! See http://factorcode.org/license.txt for BSD license.
USING: grouping http.client io io.encodings.utf8 io.files
-io.files.temp kernel math memoize sequences sequences.extras
+io.files.temp kernel math sequences sequences.extras
unicode urls ;
IN: rosetta-code.ordered-words
! Copyright (c) 2012 Anonymous
! See http://factorcode.org/license.txt for BSD license.
-USING: grouping kernel locals math ranges sequences ;
+USING: grouping kernel math ranges sequences ;
IN: rosetta-code.pascals-triangle
! http://rosettacode.org/wiki/Pascal%27s_triangle
! Copyright (c) 2012 Anonymous
! See http://factorcode.org/license.txt for BSD license.
-USING: arrays assocs combinators.random formatting fry kernel
-macros math quotations sequences ;
+USING: arrays assocs combinators.random formatting kernel
+math quotations sequences ;
IN: rosettacode.probabilistic-choice
! http://rosettacode.org/wiki/Probabilistic_choice
! Copyright (c) 2012 Anonymous
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel prettyprint sequences arrays math math.vectors ;
+USING: kernel math math.vectors sequences ;
IN: rosetta-code.raycasting
! Copyright (c) 2012 Anonymous
! See http://factorcode.org/license.txt for BSD license.
USING: accessors http.client io io.encodings.ascii io.files
-io.files.temp kernel math math.parser memoize sequences
+io.files.temp kernel math math.parser sequences
splitting urls ;
IN: rosetta-code.text-processing.max-licenses
! Copyright (c) 2012 Anonymous
! See http://factorcode.org/license.txt for BSD license.
-USING: formatting kernel locals math ;
+USING: formatting kernel math ;
IN: rosetta-code.towers-of-hanoi
! http://rosettacode.org/wiki/Towers_of_Hanoi
! Copyright (c) 2012 Anonymous
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors combinators deques dlists fry io kernel
+USING: accessors combinators deques dlists io kernel
math.parser ;
IN: rosetta-code.tree-traversal
! Copyright (c) 2012 Anonymous
! See http://factorcode.org/license.txt for BSD license.
-USING: combinators fry kernel locals math ;
+USING: combinators kernel math ;
IN: rosetta-code.y-combinator
! http://rosettacode.org/wiki/Y_combinator
! Copyright (C) 2006 Daniel Ehrenberg
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel math sequences strings io combinators ascii ;
+USING: kernel math sequences io combinators ascii ;
IN: rot13
: rotate ( ch base -- ch ) [ - 13 + 26 mod ] [ + ] bi ;
! Copyright (C) 2018 Alexander Ilin.
! 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: ryu
ABOUT: "ryu"
! Copyright (C) 2018 Alexander Ilin.
! See http://factorcode.org/license.txt for BSD license.
-USING: combinators.smart kernel locals math math.bitwise
+USING: combinators.smart kernel math math.bitwise
math.functions math.order math.parser ryu.data sequences
sequences.private ;
USING: accessors assocs base64 calendar calendar.format
calendar.parser checksums.hmac checksums.sha combinators http
http.client kernel make math.order namespaces sequences
-sequences.extras sorting sorting.slots strings xml xml.traversal ;
+sorting sorting.slots strings xml xml.traversal ;
IN: s3
SYMBOL: key-id
! Copyright (C) 2010 Maximilian Lupke.
! See http://factorcode.org/license.txt for BSD license.
-USING: arrays help.markup help.syntax kernel strings ;
+USING: help.markup help.syntax kernel strings ;
IN: semantic-versioning
HELP: version<
! Copyright (C) 2020 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays assocs combinators
-combinators.short-circuit combinators.smart kernel math
-math.order math.parser multiline peg.ebnf sequences
-sequences.deep sequences.extras sequences.private sorting.human
-splitting strings ;
+USING: accessors arrays assocs combinators combinators.smart
+kernel math math.order math.parser multiline peg.ebnf sequences
+sequences.deep sequences.extras splitting strings ;
IN: semver
! caret - up to next major versions, aka only major version needs to match as long as minor/patch are >=
! Copyright (C) 2010 Joe Groff.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors fry growable kernel locals math sequences ;
+USING: accessors kernel math sequences ;
IN: sequences.inserters
TUPLE: offset-growable { underlying read-only } { offset read-only } ;
! Copyright (C) 2008 Alex Chapman
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays kernel locals math sequences
-sequences.private ;
+USING: accessors arrays kernel math sequences sequences.private ;
IN: sequences.modified
TUPLE: modified ;
! (c)2008 Joe Groff, see BSD license etc.
-USING: help.markup help.syntax kernel math sequences ;
+USING: help.markup help.syntax math sequences ;
IN: sequences.n-based
HELP: <n-based-assoc>
! Copyright (C) 2020 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: accessors arrays kernel math math.order sequences
-sequences.private ;
+USING: accessors kernel math math.order sequences sequences.private ;
IN: sequences.padded
TUPLE: padded
! Copyright (C) 2008 Alex Chapman
! Copyright (C) 2012 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: accessors circular kernel math sequences sequences.private ;
+USING: accessors circular kernel math sequences ;
IN: sequences.repeating
TUPLE: cycles
! (c)2009 Slava Pestov & Joe Groff, see BSD license
-USING: combinators.short-circuit fry make math kernel sequences ;
+USING: combinators.short-circuit make math kernel sequences ;
IN: sequences.squish
: (squish) ( seq quot: ( obj -- ? ) -- )
! Copyright (C) 2012 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: accessors arrays kernel math sequences
-sequences.private ;
+USING: accessors arrays kernel sequences sequences.private ;
IN: sequences.zipped
TUPLE: zipped
! Copyright (C) 2013 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: assocs fry hash-sets kernel locals sequences
-sequences.extras sets ;
+USING: assocs hash-sets kernel sequences sequences.extras
+sets ;
IN: sets.extras
: setwise-xor ( seq1 seq2 -- set )
! See http://factorcode.org/license.txt for BSD license
USING: accessors byte-arrays classes combinators endian io
-io.encodings.binary io.files io.streams.byte-array kernel locals
+io.encodings.binary io.files io.streams.byte-array kernel
math math.order math.statistics sequences sequences.extras sets
;
! Copyright (C) 2009 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors continuations db db.sqlite db.tuples db.types
-io.directories io.files.temp kernel io.streams.string calendar
-debugger combinators.smart sequences arrays ;
+USING: accessors calendar combinators.smart db db.sqlite
+db.tuples db.types debugger io.files.temp io.streams.string
+kernel sequences ;
IN: site-watcher.db
TUPLE: account account-name email twitter sms ;
! Copyright (C) 2009 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: smtp namespaces accessors kernel arrays site-watcher.db ;
+USING: accessors arrays kernel namespaces smtp ;
IN: site-watcher.email
SYMBOL: site-watcher-from
! Copyright (C) 2009 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors timers arrays calendar combinators
-combinators.smart continuations debugger http.client fry
-init io.streams.string kernel locals math math.parser db
-namespaces sequences site-watcher.db site-watcher.email ;
+USING: accessors calendar continuations db http.client init
+kernel math math.parser namespaces sequences site-watcher.db
+site-watcher.email timers ;
IN: site-watcher
SYMBOL: site-watcher-frequency
! Copyright (C) 2007, 2010 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays colors fonts fry help.markup help.stylesheet
-io.styles kernel literals math ranges models namespaces parser
-sequences system ui ui.gadgets ui.gadgets.books ui.gadgets.panes
-ui.gestures ui.pens.gradient ui.pens.solid ;
+USING: accessors arrays colors fonts help.markup help.stylesheet
+io.styles kernel literals math models namespaces parser ranges
+sequences ui ui.gadgets ui.gadgets.books ui.gadgets.panes
+ui.gestures ui.pens.gradient ;
IN: slides
CONSTANT: stylesheet
! Copyright (C) 2011 Joe Groff.
! See http://factorcode.org/license.txt for BSD license.
-USING: combinators compiler.units fry generalizations kernel
-locals macros math quotations sequences sequences.generalizations
-slots vectors ;
+USING: combinators compiler.units generalizations kernel math
+quotations sequences sequences.generalizations slots vectors ;
IN: slots.macros
! Fundamental accessors
! Copyright (C) 2009 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays combinators kernel memoize sequences
-strings ;
+USING: accessors arrays combinators kernel sequences strings ;
IN: smalltalk.ast
SINGLETONS: nil self super ;
! Copyright (C) 2009 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays assocs combinators continuations fry
-generic kernel locals locals.types math quotations sequences
+USING: accessors arrays assocs combinators continuations
+generic kernel locals.types math quotations sequences
sequences.generalizations sets smalltalk.ast smalltalk.classes
smalltalk.compiler.assignment smalltalk.compiler.lexenv
smalltalk.compiler.return smalltalk.selectors splitting words ;
! Copyright (C) 2009 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors arrays combinators.short-circuit continuations
-fry generalizations kernel locals locals.types locals.rewrite
-namespaces make sequences smalltalk.ast ;
+generalizations kernel locals.rewrite locals.types sequences
+smalltalk.ast ;
IN: smalltalk.compiler.return
SYMBOL: return-continuation
! Copyright (C) 2009 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
USING: kernel present io math sequences assocs ranges
-math.order fry tools.time locals smalltalk.selectors
-smalltalk.ast smalltalk.classes ;
+math.order tools.time smalltalk.selectors smalltalk.ast ;
IN: smalltalk.library
SELECTOR: print
! Copyright (C) 2009 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel prettyprint io io.styles colors compiler.units
-fry debugger sequences locals.rewrite smalltalk.ast
-smalltalk.eval smalltalk.printer smalltalk.listener splitting ;
+USING: colors debugger io io.styles kernel smalltalk.ast
+smalltalk.eval smalltalk.printer ;
IN: smalltalk.listener
: eval-interactively ( string -- )
! Copyright (C) 2009, 2010 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: arrays combinators effects generic generic.standard
+USING: arrays combinators effects generic.standard
kernel sequences words lexer ;
IN: smalltalk.selectors
! Copyright (C) 2015 Sankaranarayanan Viswanathan.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays assocs combinators fry kernel make math
+USING: accessors arrays assocs combinators kernel make math
math.vectors random sequences sets sorting ;
IN: snake-game.game
! Copyright (C) 2015 Sankaranarayanan Viswanathan.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays assocs byte-vectors formatting fry
-images images.loader kernel locals make math math.vectors
+USING: accessors arrays assocs byte-vectors formatting
+images images.loader kernel make math math.vectors
opengl.textures sequences ;
IN: snake-game.sprites
! Copyright (C) 2015 Sankaranarayanan Viswanathan.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors assocs calendar combinators
-combinators.short-circuit destructors formatting fry kernel math
+combinators.short-circuit destructors formatting kernel math
math.vectors namespaces opengl opengl.textures sequences sets
snake-game.game snake-game.sprites timers ui ui.gadgets
ui.gadgets.worlds ui.gestures ui.render ;
! Copyright (C) 2014 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: kernel locals math math.order ranges sequences
+USING: kernel math math.order ranges sequences
sequences.private ;
IN: sorting.bubble
-USING: arrays assocs kernel kernel.private locals math
-math.order sequences sequences.extras sequences.private sorting ;
+USING: arrays assocs kernel kernel.private math math.order
+sequences sequences.extras sequences.private sorting ;
IN: sorting.extras
: argsort ( seq quot: ( obj1 obj2 -- <=> ) -- sortedseq )
! Copyright (C) 2014 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: assocs fry heaps kernel sequences vectors ;
+USING: heaps kernel sequences vectors ;
IN: sorting.heap
! Copyright (C) 2014 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: arrays combinators kernel locals math math.order
-math.private sequences sequences.private strings vectors ;
+USING: arrays kernel math math.order math.private sequences
+sequences.private strings vectors ;
IN: sorting.quick
! Copyright (C) 2010 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: arrays ascii assocs combinators combinators.smart fry
+USING: arrays ascii assocs combinators combinators.smart
http.client io.encodings.ascii io.files io.files.temp kernel
-locals math ranges math.statistics memoize sequences
-sequences.private sorting splitting urls ;
+math math.statistics ranges sequences sequences.private sorting
+splitting urls ;
IN: spelling
! http://norvig.com/spell-correct.html
-USING: kernel opengl opengl.demo-support opengl.gl opengl.textures
-opengl.shaders opengl.framebuffers opengl.capabilities multiline
-ui.gadgets accessors sequences ui.render ui math locals arrays
-generalizations combinators ui.gadgets.worlds
-literals ui.pixel-formats ;
+USING: accessors arrays combinators kernel literals multiline
+opengl opengl.capabilities opengl.demo-support
+opengl.framebuffers opengl.gl opengl.shaders opengl.textures
+sequences ui ui.gadgets.worlds ui.pixel-formats ;
IN: spheres
STRING: plane-vertex-shader
! Copyright (C) 2009 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays assocs combinators kernel math
-math.statistics namespaces sequences sorting xml.syntax
-spider urls html ;
+USING: accessors arrays assocs combinators html kernel math
+math.statistics namespaces sequences sorting urls xml.syntax ;
IN: spider.report
SYMBOL: network-failures
! Copyright (C) 2008 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: help.markup help.syntax io.streams.string urls
-multiline spider.private quotations ;
+USING: help.markup help.syntax ;
IN: spider
HELP: <spider>
! Copyright (C) 2008 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors fry html.parser html.parser.analyzer
-http.client kernel tools.time sets assocs sequences
-concurrency.combinators io threads namespaces math multiline
-math.parser inspector urls logging combinators.short-circuit
-continuations calendar prettyprint dlists deques locals
-spider.unique-deque combinators concurrency.semaphores
-io.pathnames ;
+USING: accessors assocs calendar combinators.short-circuit
+concurrency.semaphores deques html.parser html.parser.analyzer
+http.client inspector io io.pathnames kernel logging math
+math.parser prettyprint sequences sets spider.unique-deque
+threads tools.time urls ;
IN: spider
TUPLE: spider
! Copyright (C) 2009 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors assocs deques dlists kernel locals ;
+USING: accessors assocs deques dlists kernel ;
IN: spider.unique-deque
TUPLE: todo-url url depth ;
! Copyright (C) 2011 John Benediktsson.
! See http://factorcode.org/license.txt for BSD license.
-USING: ascii combinators combinators.short-circuit fry kernel
+USING: ascii combinators combinators.short-circuit kernel
math sequences ;
IN: successor
! (c)2009 Joe Groff, see BSD license
-USING: accessors arrays assocs fry kernel math
+USING: accessors arrays assocs kernel math
math.affine-transforms math.functions math.parser math.trig
peg.ebnf sequences sequences.squish splitting strings xml.data
xml.syntax multiline ;
! Copyright (C) 2008 Alex Chapman
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays kernel namespaces make openal openal.alut sequences
+USING: accessors arrays kernel make openal openal.alut sequences
synth synth.buffers ;
IN: synth.example
! Copyright (C) 2008 Alex Chapman
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors kernel locals math math.constants math.functions memoize openal openal.alut synth.buffers sequences sequences.modified sequences.repeating ;
+USING: accessors kernel math math.constants math.functions
+sequences sequences.modified sequences.repeating ;
IN: synth
MEMO: single-sine-wave ( samples/wave -- seq )
! See http://factorcode.org/license.txt for BSD license
USING: accessors calendar calendar.format io io.encodings.utf8
-io.sockets io.streams.byte-array io.streams.string literals math
-math.parser namespaces sequences ;
+io.sockets io.streams.byte-array literals math math.parser
+namespaces sequences ;
IN: syslog
USING: accessors byte-arrays combinators io io.backend
io.directories io.encodings.binary io.files io.files.links
io.pathnames io.streams.byte-array io.streams.string kernel
-math math.parser namespaces sequences strings summary
-typed ;
+math math.parser namespaces sequences summary typed ;
IN: tar
CONSTANT: zero-checksum 256
! Copyright (C) 2008 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays assocs kernel math math.intervals
-namespaces sequences money math.order taxes.usa.fica
-taxes.usa.medicare taxes.usa taxes.usa.w4 ;
+USING: accessors kernel math money taxes.usa taxes.usa.fica
+taxes.usa.medicare taxes.usa.w4 ;
IN: taxes.usa.federal
! http://www.irs.gov/pub/irs-pdf/p15.pdf
! Copyright (C) 2008 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays assocs kernel math math.intervals
-namespaces sequences money math.order ;
+USING: kernel math math.order money ;
IN: taxes.usa.futa
! Employer tax only, not withheld
! Copyright (C) 2008 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays assocs kernel math math.intervals
-namespaces sequences money math.order usa-cities
-taxes.usa taxes.usa.w4 ;
+USING: kernel math money taxes.usa taxes.usa.w4 usa-cities ;
IN: taxes.usa.mn
! Minnesota
! Copyright (C) 2008 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays assocs kernel math math.intervals
-namespaces sequences money math.order taxes.usa.w4
-taxes.usa.futa math.finance ;
+USING: accessors kernel math math.order sequences ;
IN: taxes.usa
! Withhold: FICA, Medicare, Federal (FICA is social security)
! Copyright (C) 2008 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors kernel math ;
+USING: accessors math ;
IN: taxes.usa.w4
! Each employee fills out a w4
! See http://factorcode.org/license.txt for BSD license.
! Code based on https://towardsdatascience.com/linear-regression-from-scratch-with-numpy-implementation-finally-8e617d8e274c
-USING: arrays accessors csv io io.encodings.utf8 kernel locals math math.parser
+USING: arrays accessors csv io io.encodings.utf8 kernel math math.parser
ranges math.statistics prettyprint sequences tensors ;
IN: tensors.demos
-USING: accessors kernel locals math math.order sequences ;
+USING: accessors kernel math math.order sequences ;
IN: tensors.tensor-slice
TUPLE: step-slice
! Copyright (C) 2019 HMC Clinic.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors alien alien.c-types alien.data arrays byte-arrays combinators
-grouping kernel locals kernel.private math math.functions ranges math.vectors
+USING: accessors alien alien.c-types alien.data arrays combinators
+grouping kernel math math.functions ranges math.vectors
math.vectors.simd multi-methods parser prettyprint.custom sequences sequences.extras
sequences.private specialized-arrays typed ;
! Copyright (C) 2012 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: accessors classes.struct kernel math system terminal
-windows.kernel32 ;
+USING: accessors kernel math system terminal windows.kernel32 ;
IN: terminal.windows
! Copyright (C) 2009 Joe Groff, Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays combinators game.input game.loop
-game.input.scancodes grouping kernel literals locals
-math math.constants math.functions math.order math.trig
-math.vectors opengl opengl.capabilities opengl.gl
-opengl.shaders opengl.textures opengl.textures.private
-sequences sequences.product specialized-arrays
-terrain.generation terrain.shaders typed ui ui.gadgets
-ui.gadgets.worlds ui.pixel-formats game.worlds
-math.matrices.simd noise ui.gestures combinators.short-circuit
-destructors grid-meshes math.vectors.simd ;
+USING: accessors arrays combinators combinators.short-circuit
+destructors game.input game.input.scancodes game.loop
+game.worlds grid-meshes grouping kernel literals math
+math.functions math.matrices.simd math.order math.trig
+math.vectors math.vectors.simd noise opengl
+opengl.capabilities opengl.gl opengl.shaders opengl.textures
+sequences specialized-arrays terrain.generation terrain.shaders
+typed ui ui.gadgets.worlds ui.gestures ui.pixel-formats ;
QUALIFIED-WITH: alien.c-types c
SPECIALIZED-ARRAY: c:float
IN: terrain
! Copyright (C) 2006, 2007, 2008 Alex Chapman
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays combinators.short-circuit fry kernel
+USING: accessors arrays combinators.short-circuit kernel
math sequences tetris.piece ;
IN: tetris.board
! See http://factorcode.org/license.txt for BSD license.
USING: accessors combinators kernel lists math math.functions
-sequences system tetris.board tetris.piece tetris.tetromino ;
+sequences system tetris.board tetris.piece ;
IN: tetris.game
! Copyright (C) 2006, 2007, 2008 Alex Chapman
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors timers arrays calendar kernel make math math.rectangles
-math.parser namespaces sequences system tetris.game tetris.gl ui.gadgets
-ui.gadgets.labels ui.gadgets.worlds ui.gadgets.status-bar ui.gestures
-ui.render ui ;
+USING: accessors calendar kernel make math.parser sequences
+tetris.game tetris.gl timers ui ui.gadgets ui.gadgets.status-bar
+ui.gadgets.worlds ui.gestures ui.render ;
IN: tetris
TUPLE: tetris-gadget < gadget { tetris tetris } { timer } ;
! Copyright (C) 2006, 2007, 2008 Alex Chapman
! See http://factorcode.org/license.txt for BSD license.
-USING: kernel arrays namespaces sequences math math.order
-math.vectors colors random ;
+USING: colors math namespaces random sequences ;
IN: tetris.tetromino
! Copyright (C) 2014 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: accessors combinators formatting fry io.encodings.ascii
+USING: accessors combinators formatting io.encodings.ascii
io.files kernel literals math math.functions math.order
multiline regexp sequences sequences.extras sets splitting
unicode ;
! Copyright (C) 2010 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: assocs calendar combinators environment formatting
-grouping io io.files kernel make math ranges sequences
-splitting xml.entities ;
+USING: assocs calendar environment formatting grouping io.files
+kernel make math ranges sequences splitting xml.entities ;
IN: text-to-pdf
! Copyright (C) 2013 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: formatting io io.encodings.utf8 io.launcher system
-text-to-speech ;
+USING: io io.encodings.utf8 io.launcher system text-to-speech ;
IN: text-to-speech.linux
! See http://factorcode.org/license.txt for BSD license.
USING: accessors calendar calendar.format command-line io
io.encodings.ascii io.servers kernel math.parser namespaces
-sequences threads ;
+sequences ;
IN: time-server
: handle-time-client ( -- )
! Copyright (C) 2010 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: combinators kernel system vocabs ;
+USING: combinators system vocabs ;
IN: time
HOOK: set-system-time os ( timestamp -- )
! Copyright (C) 2010 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: calendar.windows system time windows.errors
-windows.kernel32 kernel classes.struct calendar ;
+USING: calendar calendar.windows system time windows.errors
+windows.kernel32 ;
IN: time.windows
M: windows set-system-time
! Copyright (C) 2009 Bruno Deferrari
! See http://factorcode.org/license.txt for BSD license.
-USING: alien alien.c-types alien.libraries alien.syntax
-combinators kernel tokyo.alien.tchdb tokyo.alien.tcutil
-tokyo.alien.tcbdb tokyo.alien.tcfdb tokyo.alien.tctdb ;
+USING: alien.c-types alien.syntax tokyo.alien.tcbdb
+tokyo.alien.tcutil ;
IN: tokyo.alien.tcadb
LIBRARY: tokyocabinet
! Copyright (C) 2009 Bruno Deferrari
! See http://factorcode.org/license.txt for BSD license.
-USING: alien alien.c-types alien.libraries alien.syntax
-combinators kernel tokyo.alien.tchdb tokyo.alien.tcutil ;
+USING: alien.c-types alien.syntax tokyo.alien.tchdb
+tokyo.alien.tcutil ;
IN: tokyo.alien.tcbdb
LIBRARY: tokyocabinet
! Copyright (C) 2009 Bruno Deferrari
! See http://factorcode.org/license.txt for BSD license.
-USING: alien alien.c-types alien.libraries alien.syntax
-combinators kernel tokyo.alien.tcutil ;
-IN: tokyo.alien.tcfdb
+USING: alien.c-types alien.syntax tokyo.alien.tchdb
+tokyo.alien.tcutil ;
+IN: tokyo.alien.tctdb
TYPEDEF: void* TCFDB
! Copyright (C) 2009 Bruno Deferrari
! See http://factorcode.org/license.txt for BSD license.
-USING: alien alien.c-types alien.libraries alien.syntax
-combinators kernel tokyo.alien.tcutil ;
+USING: alien.c-types alien.syntax tokyo.alien.tcutil ;
IN: tokyo.alien.tchdb
LIBRARY: tokyocabinet
! Copyright (C) 2009 Bruno Deferrari
! See http://factorcode.org/license.txt for BSD license.
USING: alien alien.c-types alien.libraries alien.syntax
-combinators kernel system tokyo.alien.tchdb tokyo.alien.tcutil
-tokyo.alien.tctdb classes.struct ;
+combinators system tokyo.alien.tcutil tokyo.alien.tctdb ;
IN: tokyo.alien.tcrdb
<< "tokyotyrant" {
! Copyright (C) 2009 Bruno Deferrari
! See http://factorcode.org/license.txt for BSD license.
-USING: alien alien.c-types alien.libraries alien.syntax
-combinators kernel tokyo.alien.tchdb tokyo.alien.tcutil ;
+USING: alien.c-types alien.syntax tokyo.alien.tchdb
+tokyo.alien.tcutil ;
IN: tokyo.alien.tctdb
LIBRARY: tokyocabinet
! Copyright (C) 2009 Bruno Deferrari
! See http://factorcode.org/license.txt for BSD license.
USING: alien alien.c-types alien.libraries alien.syntax
-combinators kernel system ;
+combinators system ;
IN: tokyo.alien.tcutil
<< "tokyocabinet" {
! Copyright (C) 2009 Bruno Deferrari
! See http://factorcode.org/license.txt for BSD license.
USING: accessors alien.c-types alien.data arrays assocs
-destructors fry functors kernel locals sequences serialize
+destructors functors kernel sequences serialize
tokyo.alien.tcutil tokyo.utils vectors ;
IN: tokyo.assoc-functor
! Copyright (C) 2009 Bruno Deferrari
! See http://factorcode.org/license.txt for BSD license.
-USING: io io.streams.memory serialize kernel ;
+USING: io.streams.memory serialize ;
IN: tokyo.utils
: memory>object ( memory -- object )
! Copyright (C) 2010 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: command-line formatting fry io io.encodings
+USING: command-line formatting io io.encodings
io.encodings.binary io.files kernel namespaces sequences ;
IN: tools.cat
! Copyright (C) 2018 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: base91 combinators command-line escape-strings fry
-io.backend io.directories io.encodings.binary io.encodings.utf8
-io.files io.files.info io.pathnames kernel locals math
-namespaces sequences sequences.extras splitting ;
+USING: base91 combinators command-line escape-strings io.backend
+io.directories io.encodings.binary io.encodings.utf8 io.files
+io.files.info io.pathnames kernel math namespaces sequences
+splitting ;
IN: tools.directory-to-file
: file-is-text? ( path -- ? )
! Copyright (C) 2010 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors alien.c-types classes.struct kernel memory
+USING: accessors alien.c-types classes.struct kernel
tools.memory system vm ;
IN: tools.time.struct
! Copyright (C) 2016-2017 Alexander Ilin.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors arrays assocs binary-search colors
-combinators combinators.short-circuit fry kernel locals make
+combinators combinators.short-circuit kernel make
math math.order math.statistics math.vectors opengl opengl.gl
sequences specialized-arrays splitting.monotonic ui.gadgets
ui.gadgets.charts ui.gadgets.charts.utils ui.render ;
! Copyright (C) 2008 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
-USING: io.files io.encodings.ascii sequences generalizations
-math.parser combinators kernel memoize csv summary
-words accessors math.order binary-search combinators.smart ;
+USING: accessors binary-search combinators combinators.smart csv
+io.encodings.ascii kernel math.order math.parser sequences
+summary ;
IN: usa-cities
SINGLETONS: AK AL AR AS AZ CA CO CT DC DE FL GA HI IA ID IL IN
! Copyright (C) 2017 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
USING: assocs cli.git formatting http.client io.pathnames
-json.reader kernel locals math namespaces sequences ;
+json.reader kernel math namespaces sequences ;
IN: web-services.github
SYMBOL: github-username
! Copyright (C) 2017 Alexander Ilin.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors alien alien.c-types alien.libraries
-alien.syntax classes.struct destructors kernel libc math
-sequences strings windows windows.types ;
+USING: alien alien.libraries alien.syntax classes.struct
+windows.types ;
IN: windows.comdlg32
! Copyright (C) 2017 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: accessors arrays assocs bootstrap.image
-bootstrap.image.upload calendar cli.git combinators
-concurrency.combinators environment formatting fry http.client
-io io.directories io.launcher io.pathnames kernel math.parser
-memory modern.paths namespaces parser.notes prettyprint
-sequences sequences.extras sets splitting system system-info
-threads tools.test tools.test.private vocabs vocabs.hierarchy
-vocabs.hierarchy.private vocabs.loader vocabs.metadata zealot ;
+USING: accessors arrays assocs bootstrap.image calendar cli.git
+combinators concurrency.combinators environment formatting
+http.client io io.directories io.launcher io.pathnames kernel
+math.parser memory modern.paths namespaces parser.notes
+prettyprint sequences sequences.extras sets splitting system
+system-info threads tools.test tools.test.private vocabs
+vocabs.hierarchy vocabs.hierarchy.private vocabs.loader
+vocabs.metadata zealot ;
IN: zealot.factor
: download-boot-checksums ( path branch -- )
! Copyright (C) 2019 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
USING: assocs command-line help.lint io kernel namespaces
-prettyprint sequences system vocabs vocabs.loader ;
+prettyprint sequences system vocabs ;
IN: zealot.help-lint
! FIXME: help-lint sometimes lists monitors and event-streams as leaked.
! Copyright (C) 2017 Doug Coleman.
! See http://factorcode.org/license.txt for BSD license.
-USING: cli.git combinators fry io.directories io.files.info
+USING: cli.git combinators io.directories io.files.info
io.pathnames kernel sequences uuid web-services.github ;
IN: zealot