conversations
listlengths
2
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "io.standard-paths: Add yet another path for Windows.\n\nMy vscode is in ``C:\\Users\\erg\\AppData\\Local\\Programs\\Microsoft VS\nCode`` for some reason and vscode stopped working. This fixes it.\n" }, { "from": "human", "value": "! Copyright (C) 2011 Doug Coleman.\...
factor
chosen
[ { "from": "system", "value": "Use pango text backend by default on X11" }, { "from": "human", "value": "USING: alien namespaces system combinators kernel sequences\nvocabs vocabs.loader ;\nIN: bootstrap.ui\n\n\"bootstrap.compiler\" vocab [\n \"ui-backend\" get [\n {\n { [ os...
factor
chosen
[ { "from": "system", "value": "Fix typo in webkit demo\n" }, { "from": "human", "value": "! Copyright (C) 2008, 2009 Slava Pestov.\n! See http://factorcode.org/license.txt for BSD license.\nUSING: cocoa cocoa.application cocoa.types cocoa.classes cocoa.windows\ncore-graphics.types kernel math.bit...
factor
chosen
[ { "from": "system", "value": "Remove blank lines from resolve.conf just in case\n" }, { "from": "human", "value": "! Copyright (C) 2010 Doug Coleman.\n! See http://factorcode.org/license.txt for BSD license.\nUSING: assocs dns io.encodings.utf8 io.files kernel\nmath.statistics sequences splittin...
factor
chosen
[ { "from": "system", "value": "Remove test for icmp sockets since extra/ping implicitly tests this\n" }, { "from": "human", "value": "\nUSING: accessors destructors kernel io.sockets io.sockets.icmp\nsequences tools.test ;\n\nIN: io.sockets.icmp.tests\n\n[ { } ] [\n \"localhost\" <icmp> resolv...
factor
chosen
[ { "from": "system", "value": "Fix yahoo for factor changes\n" }, { "from": "human", "value": "USING: yahoo help.syntax help.markup ;\n\nHELP: search-yahoo\n{ $values { \"search\" \"a string\" } { \"num\" \"a positive integer\" } { \"seq\" \"sequence of arrays of length 3\" } }\n{ $description \"...
factor
chosen
[ { "from": "system", "value": "Fix another name clash in tests; putting all compiler tests in compiler.tests vocab is probably not good\n" }, { "from": "human", "value": "IN: compiler.tests\nUSING: compiler compiler.units tools.test math parser kernel\nsequences sequences.private classes.mixin ge...
factor
chosen
[ { "from": "system", "value": "Fix tree shaker again, gah" }, { "from": "human", "value": "USING: kernel stack-checker.transforms struct-arrays.private ;\nIN: struct-arrays\n\n: struct-element-constructor ( c-type -- word )\n \"Struct array usages must be compiled\" throw ;\n\n<<\n\n\\ struct-...
factor
chosen
[ { "from": "system", "value": "Fix help lint failure in yahoo\n" }, { "from": "human", "value": "USING: help.syntax help.markup ;\nIN: yahoo\n\nHELP: search-yahoo\n{ $values { \"search\" \"a string\" } { \"num\" \"a positive integer\" } { \"seq\" \"sequence of arrays of length 3\" } }\n{ $descrip...
factor
chosen
[ { "from": "system", "value": "Fix GDB-based disassemble for GDB 7\n" }, { "from": "human", "value": "! Copyright (C) 2008, 2010 Slava Pestov, Jorge Acereda Macia.\n! See http://factorcode.org/license.txt for BSD license.\nUSING: io.files io.files.temp io words alien kernel math.parser\nalien.syn...
factor
chosen
[ { "from": "system", "value": "Fix memory test on OpenBSD\n" }, { "from": "human", "value": "USING: generic kernel kernel.private math memory prettyprint io\nsequences tools.test words namespaces layouts classes\nclasses.builtin arrays quotations io.launcher system ;\nIN: memory.tests\n\n! LOL\n[...
factor
chosen
[ { "from": "system", "value": "Add the banner. It should give the instructions before asking for a guess.\n" }, { "from": "human", "value": "USING: kernel math math.parser random io ;\nIN: numbers-game\n\n: read-number ( -- n ) readln string>number ;\n\n: guess-banner ( -- )\n \"I'm thinking o...
factor
chosen
[ { "from": "system", "value": "Use vectors instead of arrays in solution to Project Euler problem 2\n" }, { "from": "human", "value": "! Copyright (c) 2007 Aaron Schaefer.\n! See http://factorcode.org/license.txt for BSD license.\nUSING: kernel math sequences ;\nIN: project-euler.002\n\n! http://...
factor
chosen
[ { "from": "system", "value": "irc.messages: Use GMT times when building a message\n" }, { "from": "human", "value": "! Copyright (C) 2009 Bruno Deferrari\n! See http://factorcode.org/license.txt for BSD license.\nUSING: kernel fry splitting ascii calendar accessors combinators\n arrays cla...
factor
chosen
[ { "from": "system", "value": "Fix a using in system-info.linux\n" }, { "from": "human", "value": "USING: system-info.linux strings splitting sequences\ntools.test ;\nIN: system-info.linux.tests\n\n[ 6 ] [ uname length ] unit-test\n\n[ t ] [ sysname string? ] unit-test\n[ t ] [ nodename stri...
factor
chosen
[ { "from": "system", "value": "Add unit test to assert that directory. can infeR\n" }, { "from": "human", "value": "! Copyright (C) 2008 Your name.\n! See http://factorcode.org/license.txt for BSD license.\nUSING: tools.test io.files.listing strings kernel ;\nIN: io.files.listing.tests\n\n[ ] [ \...
factor
chosen
[ { "from": "system", "value": "Add a with-scope so that optimize-tree doesn't pollute namespace" }, { "from": "human", "value": "! Copyright (C) 2008 Slava Pestov.\n! See http://factorcode.org/license.txt for BSD license.\nUSING: kernel namespaces\ncompiler.tree.recursive\ncompiler.tree.normaliza...
factor
chosen
[ { "from": "system", "value": "Add a failing unit test\n" }, { "from": "human", "value": "IN: tools.vocabs.browser.tests\nUSING: tools.vocabs.browser tools.test help.markup ;\n\n[ ] [ { $describe-vocab \"scratchpad\" } print-content ] unit-test\n" }, { "from": "gpt", "value": "IN: too...
factor
chosen
[ { "from": "system", "value": "machine-learning.one-hot: Use the example from my blog post as a unit test.\n" }, { "from": "human", "value": "! Copyright (C) 2012 Doug Coleman.\n! See http://factorcode.org/license.txt for BSD license.\nUSING: tools.test machine-learning.one-hot ;\nIN: machine-lea...
factor
chosen
[ { "from": "system", "value": "Fix typo in hash-set documentation\n" }, { "from": "human", "value": "USING: help.markup help.syntax math sequences ;\nIN: hash-sets\n\nARTICLE: \"hash-sets\" \"Hash sets\"\n\"The \" { $vocab-link \"hash-sets\" } \" vocabulary implements hashtable-like sets. Hash se...
factor
chosen
[ { "from": "system", "value": "Make Visual Studio Code integration go directly to lines\n" }, { "from": "human", "value": "! Copyright (C) 2015 Doug Coleman.\n! See http://factorcode.org/license.txt for BSD license.\nUSING: editors kernel make memoize namespaces system vocabs ;\nIN: editors.visua...
factor
chosen
[ { "from": "system", "value": "Fix vocab name in expr tests\n" }, { "from": "human", "value": "! Copyright (C) 2007 Chris Double.\n! See http://factorcode.org/license.txt for BSD license.\n!\nUSING: kernel tools.test peg peg.expr multiline sequences ;\nIN: temporary\n\n{ 5 } [\n \"2+3\" eval-exp...
factor
chosen
[ { "from": "system", "value": "Remove obsolete performance comment on project Euler problem 10\n" }, { "from": "human", "value": "! Copyright (c) 2007 Aaron Schaefer, Samuel Tardieu.\n! See http://factorcode.org/license.txt for BSD license.\nUSING: arrays kernel lazy-lists math math.erato math.fu...
factor
chosen
[ { "from": "system", "value": "forestdb.lib: Fix file name for test db.\n" }, { "from": "human", "value": "! Copyright (C) 2014 Doug Coleman.\n! See http://factorcode.org/license.txt for BSD license.\nUSING: accessors alien.c-types alien.data alien.strings\ncombinators destructors forestdb.ffi fr...
factor
chosen
[ { "from": "system", "value": "Print call stack trace for thread errors\n" }, { "from": "human", "value": "! Copyright (C) 2008 Slava Pestov.\n! See http://factorcode.org/license.txt for BSD license.\nUSING: accessors debugger continuations threads threads.private\nio io.styles prettyprint kernel...
factor
chosen
[ { "from": "human", "value": "Add unit test for regression" }, { "from": "gpt", "value": "USING: compiler.units words tools.test math kernel ;\nIN: compiler.tests.redefine15\n\nDEFER: word-1\n\n: word-2 ( a -- b ) word-1 ;\n\n[ \\ word-1 [ ] (( a -- b )) define-declared ] with-compilation-unit \n...
factor
chosen
[ { "from": "human", "value": "Add unit tests for monitors\n" }, { "from": "gpt", "value": "IN: io.monitors.tests\nUSING: io.monitors tools.test io.files system sequences\ncontinuations namespaces concurrency.count-downs kernel io\nthreads calendar ;\n\nos { winnt macosx linux } member? [\n [ \...
factor
chosen
[ { "from": "human", "value": "Add unit tests for ui.gadgets.glass" }, { "from": "gpt", "value": "IN: ui.gadgets.glass.tests\nUSING: tools.test ui.gadgets.glass ui.gadgets.worlds ui.gadgets\nmath.rectangles namespaces accessors models ;\n\n<gadget> \"\" f <model> <world>\n{ 1000 1000 } >>dim\n\"w\...
factor
chosen
[ { "from": "system", "value": "Fix core graphics unit test\n" }, { "from": "human", "value": "! Copyright (C) 2009 Slava Pestov.\n! See http://factorcode.org/license.txt for BSD license.\nUSING: tools.test core-graphics kernel ;\nIN: core-graphics.tests\n\n[ ] [ 100 200 [ drop ] with-bitmap-conte...
factor
chosen
[ { "from": "system", "value": "Update collect-benchmarks so that it does not rely onto computed stack effect\n" }, { "from": "human", "value": "! Copyright (c) 2007 Aaron Schaefer\n! See http://factorcode.org/license.txt for BSD license.\nUSING: arrays effects inference io kernel math math.functi...
factor
chosen
[ { "from": "system", "value": "Add test to assert that new-resizable returns specialized vectors on specialized arrays" }, { "from": "human", "value": "IN: specialized-vectors.tests\nUSING: specialized-vectors.double tools.test kernel sequences ;\n\n[ 3 ] [ double-vector{ 1 2 } 3 over push length...
factor
chosen
[ { "from": "system", "value": "Add examples to encode/decode docs.\n" }, { "from": "human", "value": "! Copyright (C) 2008 Daniel Ehrenberg.\n! See http://factorcode.org/license.txt for BSD license.\nUSING: help.markup help.syntax byte-arrays strings ;\nIN: io.encodings.string\n\nARTICLE: \"io.en...
factor
chosen
[ { "from": "system", "value": "Use our MD5 library instead of OpenSSL so that we can run builder without OpenSSL being installed\n" }, { "from": "human", "value": "! Copyright (C) 2008 Slava Pestov.\n! See http://factorcode.org/license.txt for BSD license.\nUSING: http.client checksums checksums....
factor
chosen
[ { "from": "system", "value": "Clean up CONSTRUCTOR: with Dan's idea: introduce set-slots and construct macros\n" }, { "from": "human", "value": "! Copyright (C) 2009 Slava Pestov.\n! See http://factorcode.org/license.txt for BSD license.\nUSING: slots kernel sequences fry accessors parser lexer ...
factor
chosen
[ { "from": "system", "value": "Fix monitor errors on startup\n" }, { "from": "human", "value": "IN: io.monitors.freebsd\n\n! Empty for now" }, { "from": "gpt", "value": "USING: kernel io.backend io.monitors io.monitors.recursive\nio.files io.pathnames io.buffers io.ports io.timeouts\n...
factor
chosen
[ { "from": "human", "value": "functors: Add a modern functors file that doesn't have the FUNCTOR-SYNTAX: words.\n" }, { "from": "gpt", "value": "! Copyright (C) 2008, 2009 Slava Pestov.\n! See http://factorcode.org/license.txt for BSD license.\nUSING: accessors arrays assocs classes.mixin classes...
factor
chosen
[ { "from": "system", "value": "Add test case for GC\n" }, { "from": "human", "value": "USING: generic kernel kernel.private math memory prettyprint\nsequences tools.test words namespaces layouts classes\nclasses.builtin ;\nIN: memory.tests\n\nTUPLE: testing x y z ;\n\n[ save-image-and-exit ] must...
factor
chosen
[ { "from": "system", "value": "Use Pango text rendering on Windows\n" }, { "from": "human", "value": "USING: alien namespaces system combinators kernel sequences\nvocabs vocabs.loader ;\nIN: bootstrap.ui\n\n\"bootstrap.compiler\" vocab [\n \"ui-backend\" get [\n {\n { [ os ma...
factor
chosen
[ { "from": "system", "value": "io.sockets.windows: Fix unit test--recover leaves socket on stack, nip\nit.\n" }, { "from": "human", "value": "USING: accessors continuations destructors io.sockets io.sockets.windows\nkernel sequences tools.test urls windows.winsock ;\nIN: io.sockets.windows.tests\...
factor
chosen
[ { "from": "system", "value": "Fix unit tests to give the sampling profiler something to profile.\n" }, { "from": "human", "value": "USING: byte-arrays calendar kernel math memory namespaces\nrandom threads tools.profiler.sampling\ntools.profiler.sampling.private tools.test sequences ;\nIN: tools...
factor
chosen
[ { "from": "system", "value": "tokyo.alien: Make time_t a long, needs fix for 64bits windows\n" }, { "from": "human", "value": "USING: kernel alien combinators alien.syntax\n alien.c-types\n alien.libraries ;\nIN: tokyo.alient.tcutil\n\nC-ENUM:\n TCDBTHASH\n TCDBTBTREE\n TCDB...
factor
chosen
[ { "from": "system", "value": "Add workaround for game-input crash\n" }, { "from": "human", "value": "IN: game-input.tests\nUSING: game-input tools.test kernel system ;\n\nos windows? os macosx? or [\n [ ] [ open-game-input ] unit-test\n [ ] [ close-game-input ] unit-test\n] when" }, { ...
factor
chosen
[ { "from": "system", "value": "Improve documentation by linking to Unicode charts for the relevant blocks\n" }, { "from": "human", "value": "! Copyright (C) 2017 Pi.\n! See http://factorcode.org/license.txt for BSD license.\nUSING: help.markup help.syntax help.topics strings ;\nIN: unicode.contro...
factor
chosen
[ { "from": "system", "value": "Fix load error in lisp\n" }, { "from": "human", "value": "! Copyright (C) 2008 James Cash\n! See http://factorcode.org/license.txt for BSD license.\nUSING: lisp lisp.parser tools.test ;\n\nIN: lisp.test\n\n{ [ \"aoeu\" 2 1 T{ lisp-symbol f \"foo\" } ] } [\n \"(foo ...
factor
chosen
[ { "from": "system", "value": "mason.child: Remove unit tests since they're hard to maintain and if they\nfail then the CI fails as well anyway.\n" }, { "from": "human", "value": "USING: io io.pathnames kernel mason.child mason.config\nnamespaces sequences system tools.test ;\nIN: mason.child.tes...
factor
chosen
[ { "from": "system", "value": "ui.gadgets.labeled: Fix a random failing unit test.\n" }, { "from": "human", "value": "USING: accessors sequences tools.test ui.gadgets\nui.gadgets.labeled ;\nIN: ui.gadgets.labeled.tests\n\n{ t } [\n <gadget> \"Hey\" <labeled-gadget>\n children>> first conten...
factor
chosen
[ { "from": "system", "value": "Deploy hello-world with optimizing compiler since the image is smaller as a result, and this makes it pass the size test again\n" }, { "from": "human", "value": "USING: tools.deploy.config ;\nH{\n { deploy-name \"Hello world (console)\" }\n { deploy-c-types? f...
factor
chosen
[ { "from": "system", "value": "Fix the ptx path in cuda demo\n" }, { "from": "human", "value": "! Copyright (C) 2010 Doug Coleman.\n! See http://factorcode.org/license.txt for BSD license.\nUSING: alien.c-types alien.strings cuda cuda.syntax destructors\nio.encodings.utf8 kernel locals math prett...
factor
chosen
[ { "from": "system", "value": "Fix markup problem detected by help-lint\n" }, { "from": "human", "value": "IN: advice\nUSING: help.markup help.syntax tools.annotations words ;\n\nHELP: make-advised\n{ $values { \"word\" \"a word to annotate in preparation of advising\" } }\n{ $description \"Prepa...
factor
chosen
[ { "from": "system", "value": "io.directories.search: Add two tests for find-up-to-directory, one that finds a file and one that doesn't.\n" }, { "from": "human", "value": "USING: combinators.smart io.directories\nio.directories.hierarchy io.directories.search io.files\nio.files.unique io.pathnam...
factor
chosen
[ { "from": "system", "value": "Generalize specialized-arrays.direct: it should be able to wrap a byte array\n" }, { "from": "human", "value": "! Copyright (C) 2008 Slava Pestov.\n! See http://factorcode.org/license.txt for BSD license.\nUSING: functors sequences sequences.private kernel words cla...
factor
chosen
[ { "from": "human", "value": "Add unit test for pack pref-dim bug\n" }, { "from": "gpt", "value": "USING: accessors tools.test ui.gadgets ui.gadgets.labels ;\nIN: ui.gadgets.labels.tests\n\n[ { 119 14 } ] [\n <gadget> { 100 14 } >>dim\n <gadget> { 14 14 } >>dim\n label-on-right { 5 5 } >...
factor
chosen
[ { "from": "system", "value": "Fix test failure for random number speedup from using be>.\n" }, { "from": "human", "value": "USING: kernel math tools.test namespaces random\nrandom.blum-blum-shub alien.c-types sequences splitting\ngrouping ;\nIN: blum-blum-shub.tests\n\n[ 887708070 ] [\n T{ bl...
factor
chosen
[ { "from": "human", "value": "Add unit test for xmode bug discovered by anonymous pastebin user\n" }, { "from": "gpt", "value": "IN: xmode.code2html.tests\nUSING: xmode.code2html xmode.catalog\ntools.test multiline splitting memoize\nkernel ;\n\n[ ] [ \\ (load-mode) reset-memoized ] unit-test\n\n...
factor
chosen
[ { "from": "system", "value": "Make suffix arrays prune repeated members before construction\n" }, { "from": "human", "value": "! Copyright (C) 2008 Marc Fauconneau.\n! See http://factorcode.org/license.txt for BSD license.\nUSING: parser kernel arrays math accessors sequences\nmath.vectors math....
factor
chosen
[ { "from": "human", "value": "Add tests for auto-USING selection\n" }, { "from": "gpt", "value": "! Copyright (C) 2009 Nicholas Seckar.\n! See http://factorcode.org/license.txt for BSD license.\nUSING: continuations eval fuel fuel.private namespaces tools.test words ;\nIN: fuel.tests\n\n: fake-co...
factor
chosen
[ { "from": "system", "value": "Fix openal loading on non-mac platforms\n" }, { "from": "human", "value": "! Copyright (C) 2007 Chris Double.\r\n! See http://factorcode.org/license.txt for BSD license.\r\n!\r\nIN: openal.other\r\nUSING: openal alien.c-types kernel alien alien.syntax shuffle combin...
factor
chosen
[ { "from": "system", "value": "Fix unit test for macros.expander\n" }, { "from": "human", "value": "IN: macros.expander.tests\nUSING: macros.expander tools.test math combinators.short-circuit\nkernel ;\n\n[ t ] [ 20 [ { [ integer? ] [ even? ] [ 10 > ] } 1&& ] expand-macros call ] unit-test\n\n[ f...
factor
chosen
[ { "from": "system", "value": "Fix wait loop bug (fixed by Slava)\n" }, { "from": "human", "value": "! Copyright (C) 2008 Slava Pestov.\n! See http://factorcode.org/license.txt for BSD license.\nIN: io.unix.linux\nUSING: io.backend io.unix.backend io.unix.launcher io.unix.select\nnamespaces kerne...
factor
chosen
[ { "from": "system", "value": "Fix load error in graphics.bitmap tests\n" }, { "from": "human", "value": "USING: graphics.bitmap ;\nIN: graphics.bitmap.tests\n\n: test-bitmap24 ( -- )\n \"resource:extra/graphics/bitmap/test-images/thiswayup24.bmp\" bitmap. ;\n\n: test-bitmap8 ( -- )\n \"res...
factor
chosen
[ { "from": "system", "value": "oauth: Fix tests. Twitter API tolerates the extra ``/`` at the end of ``twitter.com``, so leave it in.\n" }, { "from": "human", "value": "USING: oauth oauth.private tools.test accessors kernel assocs\nstrings namespaces ;\nIN: oauth.tests\n\n[ \"%26&b\" ] [ \"&\" \"...
factor
chosen
[ { "from": "system", "value": "Revert \"io.standard-paths: adding support for PATHEXT.\"\n\nThis reverts commit be9bff0e5bc77e3998bfc92257dcee9d8ee5728b.\n" }, { "from": "human", "value": "! Copyright (C) 2011 Doug Coleman.\n! See http://factorcode.org/license.txt for BSD license.\nUSING: arrays ...
factor
chosen
[ { "from": "system", "value": "Disable referrer checking by default since adblock doesn't send it for some lame reason\n" }, { "from": "human", "value": "! Copyright (C) 2008 Slava Pestov.\n! See http://factorcode.org/license.txt for BSD license.\nUSING: kernel sequences db.tuples alarms calendar...
factor
chosen
[ { "from": "system", "value": "Add specialization hints from old float-arrays. These will be replaced with a better facility soon\n" }, { "from": "human", "value": "USE: specialized-arrays.functor\nIN: specialized-arrays.double\n\n<< \"double\" define-array >>" }, { "from": "gpt", "va...
factor
chosen
[ { "from": "system", "value": "singleton: Move definitions to top level in tests.\n" }, { "from": "human", "value": "USING: classes.singleton io.streams.string kernel see tools.test ;\nIN: classes.singleton.tests\n\n{ } [ SINGLETON: bzzt ] unit-test\n{ t } [ bzzt bzzt? ] unit-test\n{ t } [ bzzt b...
factor
chosen
[ { "from": "system", "value": "Fix bootstrap by adding protocol slot\n" }, { "from": "human", "value": "! Copyright (C) 2009 Slava Pestov.\n! See http://factorcode.org/license.txt for BSD license.\nUSING: functors destructors accessors kernel parser words ;\nIN: alien.destructors\n\nFUNCTOR: defi...
factor
chosen
[ { "from": "system", "value": "unix.ffi: Use a utility word for getting the aliases back.\n" }, { "from": "human", "value": "IN: unix.ffi.tests\nUSING: accessors alien.c-types tools.test unix.ffi ;\n\n[ 80 ] [ \"http\" f getservbyname port>> ntohs ] unit-test\n\n[ \"www\" ] [\n 0 \"http\" f ge...
factor
chosen
[ { "from": "system", "value": "Fix stack underflow in lsys\n" }, { "from": "human", "value": "\nUSING: kernel sequences quotations assocs math math.parser\n combinators.lib vars lsys.strings combinators.short-circuit ;\n\nIN: lsys.strings.interpret\n\n! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!...
factor
chosen
[ { "from": "system", "value": "Fix corner case where auto-use didn't print using list\n" }, { "from": "human", "value": "! Copyright (C) 2008 Slava Pestov.\n! See http://factorcode.org/license.txt for BSD license.\nUSING: parser kernel words generic namespaces ;\nIN: generic.parser\n\nERROR: not-...
factor
chosen
[ { "from": "system", "value": "Add unit test now that open-window infers\n" }, { "from": "human", "value": "IN: ui.tests\nUSING: ui tools.test ;\n\n\\ event-loop must-infer\n" }, { "from": "gpt", "value": "IN: ui.tests\nUSING: ui tools.test ;\n\n\\ event-loop must-infer\n\\ open-windo...
factor
chosen
[ { "from": "system", "value": "Make the alarm test wait for the promise to be fulfilled instead of returning immediately and failing\n" }, { "from": "human", "value": "USING: alarms alarms.private kernel calendar sequences\r\ntools.test threads concurrency.count-downs concurrency.promises\r\nfry ...
factor
chosen
[ { "from": "system", "value": "Remove bogus test in lint\n" }, { "from": "human", "value": "USING: io lint kernel math tools.test ;\nIN: lint.tests\n\n! Don't write code like this\n: lint1 ( obj -- ) [ \"hi\" print ] [ ] if ; ! when\n\n[ { { lint1 { [ [ ] if ] } } } ] [ \\ lint1 lint-word ] unit-...
factor
chosen
[ { "from": "system", "value": "Fix blum blum shub unit tests on big endian\n" }, { "from": "human", "value": "USING: kernel math tools.test namespaces random\nrandom.blum-blum-shub ;\nIN: blum-blum-shub.tests\n\n[ 887708070 ] [\n T{ blum-blum-shub f 590695557939 811977232793 } random-32*\n] un...
factor
chosen
[ { "from": "system", "value": "Add tool to dump live intervals\n" }, { "from": "human", "value": "! Copyright (C) 2008 Slava Pestov.\n! See http://factorcode.org/license.txt for BSD license.\nUSING: accessors kernel sequences sets arrays\ncompiler.cfg.linear-scan.live-intervals\ncompiler.cfg.line...
factor
chosen
[ { "from": "system", "value": "Revert \"ftp.server: make sure the test file returns a normalized path.\"\n\nThis reverts commit fda3024fe96129b81b4fab270ae478d8e705e0b3.\n" }, { "from": "human", "value": "USING: accessors fry ftp.server io.backend io.encodings.ascii\nio.files io.pathnames io.serv...
factor
chosen
[ { "from": "system", "value": "Comment out JPEG code until we figure out if we want default bootstrap to depend on BLAS or not\n" }, { "from": "human", "value": "! Copyright (C) 2009 Doug Coleman.\n! See http://factorcode.org/license.txt for BSD license.\nUSING: constructors kernel splitting unic...
factor
chosen
[ { "from": "system", "value": "Update use of old printf vocabulary.\n" }, { "from": "human", "value": "! Copyright (C) 2008 Doug Coleman.\n! See http://factorcode.org/license.txt for BSD license.\nUSING: calendar kernel http.server.dispatchers prettyprint\nsequences printf furnace.actions html.fo...
factor
chosen
[ { "from": "system", "value": "Fix typo in monitor file\n" }, { "from": "human", "value": "USING: kernel io.backend io.monitors io.monitors.recursive\nio.files io.pathnames io.buffers io.ports io.timeouts\nio.backend.unix io.encodings.utf8 assocs namespaces make\nsequences locals system destructo...
factor
chosen
[ { "from": "system", "value": "Load mmap on CE too\n" }, { "from": "human", "value": "USING: io.backend io.windows io.windows.ce.backend\nio.windows.ce.files io.windows.ce.sockets io.windows.ce.launcher\nnamespaces ;\nIN: io.windows.ce\n\nT{ windows-ce-io } io-backend set-global\n" }, { "...
factor
chosen
[ { "from": "system", "value": "Fix definition of macro predicate class\n" }, { "from": "human", "value": "! Copyright (C) 2007 Slava Pestov.\n! See http://factorcode.org/license.txt for BSD license.\n\nUSING: parser kernel sequences words effects inference.transforms\n combinators assocs de...
factor
chosen
[ { "from": "system", "value": "Add unit test for GC problem\n" }, { "from": "human", "value": "USING: generic kernel kernel.private math memory prettyprint io\nsequences tools.test words namespaces layouts classes\nclasses.builtin arrays quotations ;\nIN: memory.tests\n\n[ [ ] instances ] must-in...
factor
chosen
[ { "from": "system", "value": "Add some commented out unit tests to io.ports.tests that seem like they should be supported\n" }, { "from": "human", "value": "USING: destructors io io.encodings.binary io.files io.directories\nio.files.temp io.ports kernel sequences math\nspecialized-arrays.instanc...
factor
chosen
[ { "from": "system", "value": "Add unit tests for monitors\n" }, { "from": "human", "value": "IN: io.monitors.tests\nUSING: io.monitors tools.test io.files system sequences\ncontinuations namespaces concurrency.count-downs kernel io\nthreads calendar ;\n\nos { winnt macosx linux } member? [\n ...
factor
chosen
[ { "from": "system", "value": "Update extra/delegate; removing section protocol since it makes little sense\n" }, { "from": "human", "value": "! Copyright (C) 2007 Daniel Ehrenberg\n! See http://factorcode.org/license.txt for BSD license.\nUSING: delegate sequences.private sequences assocs pretty...
factor
chosen
[ { "from": "human", "value": "Add unit tests for alien.remote-control\n" }, { "from": "gpt", "value": "USING: interpolate multiline\nio io.directories io.encodings.ascii io.files\nio.files.temp io.launcher io.streams.string kernel locals system\ntools.test sequences ;\nIN: alien.remote-control.te...
factor
chosen
[ { "from": "system", "value": "Comment out alien.remote-control tests for now\n" }, { "from": "human", "value": "USING: interpolate multiline\nio io.directories io.encodings.ascii io.files\nio.files.temp io.launcher io.streams.string kernel locals system\ntools.test sequences ;\nIN: alien.remote-...
factor
chosen
[ { "from": "human", "value": "Add project-euler solution no. 76\n" }, { "from": "gpt", "value": "! Copyright (c) 2008 Eric Mertens\n! See http://factorcode.org/license.txt for BSD license.\nUSING: arrays assocs combinators kernel math sequences math.ranges locals ;\nIN: project-euler.076\n\n! htt...
factor
chosen
[ { "from": "human", "value": "rocksdb.ffi: Add test file that should have been added.\n" }, { "from": "gpt", "value": "! Copyright (C) 2020 Doug Coleman.\n! See http://factorcode.org/license.txt for BSD license.\nUSING: kernel multiline rocksdb.ffi tools.test ;\nIN: rocksdb.ffi.tests\n\n![[\n{ } ...
factor
chosen
[ { "from": "system", "value": "Add 3&& and 3|| words\n" }, { "from": "human", "value": "\nUSING: kernel combinators quotations arrays sequences assocs\n locals shuffle macros fry ;\n\nIN: combinators.short-circuit\n\n! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n...
factor
chosen
[ { "from": "system", "value": "Make FORGET: M\\ ... work\n" }, { "from": "human", "value": "! Copyright (C) 2006, 2009 Slava Pestov.\n! See http://factorcode.org/license.txt for BSD license.\nUSING: kernel sequences namespaces assocs math ;\nIN: definitions\n\nMIXIN: definition\n\nERROR: no-compi...
factor
chosen
[ { "from": "system", "value": "Add a javascript sc test\n" }, { "from": "human", "value": "! Copyright (C) 2008 Chris Double.\n! See http://factorcode.org/license.txt for BSD license.\n!\nUSING: kernel tools.test peg peg.javascript.ast peg.javascript.tokenizer \n peg.javascript.parser acce...
factor
chosen
[ { "from": "system", "value": "Add another unit test so we can see why ping fails, if it does.\n" }, { "from": "human", "value": "USING: continuations destructors io.sockets kernel ping\ntools.test ;\nIN: ping.tests\n\n[ t ] [ \"localhost\" alive? ] unit-test\n[ t ] [ \"127.0.0.1\" alive? ] unit-...
factor
chosen
[ { "from": "system", "value": "Update trees for factor changes\n" }, { "from": "human", "value": "USING: help.syntax help.markup trees assocs ;\n\nHELP: TREE{\n{ $syntax \"TREE{ { key value }... }\" }\n{ $values { \"key\" \"a key\" } { \"value\" \"a value\" } }\n{ $description \"Literal syntax fo...
factor
chosen
[ { "from": "system", "value": "Write some more docs for readline and link readline main article to words.\n" }, { "from": "human", "value": "! Copyright (C) 2011 Erik Charlebois.\n! See http://factorcode.org/license.txt for BSD license.\nUSING: arrays help.markup help.syntax math\nsequences.priva...
factor
chosen
[ { "from": "system", "value": "Fix env variable not found message\n" }, { "from": "human", "value": "! Copyright (C) 2015 Jordan Lewis.\n! See http://factorcode.org/license.txt for BSD license.\nUSING: kernel hashtables accessors assocs locals math sequences ;\nIN: malenv\n\nTUPLE: malenv\n{ oute...
factor
chosen
[ { "from": "system", "value": "Fix string buffer implementation bug\n" }, { "from": "human", "value": "! Copyright (C) 2004, 2007 Slava Pestov.\n! See http://factorcode.org/license.txt for BSD license.\nUSING: kernel math strings kernel.private sequences.private\nsequences strings growable string...
factor
chosen
[ { "from": "system", "value": "Fix deployment on Mac OS X\n" }, { "from": "human", "value": "USING: cocoa cocoa.messages cocoa.application cocoa.nibs\nassocs namespaces kernel words compiler.units sequences\nui.cocoa ;\n\n\"stop-after-last-window?\" get\nglobal [\n stop-after-last-window? set\...
factor
chosen
[ { "from": "system", "value": "Fix errors in new tests\n" }, { "from": "human", "value": "USING: kernel ctags tools.test io.backend sequences arrays prettyprint ;\nIN: ctags.tests\n\n[ t ] [\n 91\n { { if { \"resource:extra/unix/unix.factor\" 91 } } } ctag-lineno =\n] unit-test\n\n[ t ] [\n \...
factor
chosen
[ { "from": "system", "value": "Fix load error in project-euler\n" }, { "from": "human", "value": "! Copyright (c) 2007 Aaron Schaefer\n! See http://factorcode.org/license.txt for BSD license.\nUSING: arrays combinators io kernel math math.functions math.parser\n math.statistics namespaces sequ...
factor
chosen