]> gitweb.factorcode.org Git - factor.git/log
factor.git
2 years agoRefactor VM (untyped) defines into (typed) enum
nomennescio [Thu, 10 Feb 2022 15:50:59 +0000 (15:50 +0000)]
Refactor VM (untyped) defines into (typed) enum

static inline with static local will share static local among instances

2 years agocodebase-analyzer: Add some words to see file extensions, sizes, lines of code
Doug Coleman [Thu, 10 Feb 2022 02:39:36 +0000 (20:39 -0600)]
codebase-analyzer: Add some words to see file extensions, sizes, lines of code

2 years agolibclang: Add a really basic wrapper for libclang
Doug Coleman [Tue, 8 Feb 2022 06:59:32 +0000 (00:59 -0600)]
libclang: Add a really basic wrapper for libclang

We should use this stub to output ffi functions that
Factor can use.

2 years agoFix issue https://github.com/factor/factor/issues/2580
nomennescio [Mon, 7 Feb 2022 12:37:11 +0000 (13:37 +0100)]
Fix issue https://github.com/factor/factor/issues/2580

2 years agomodern.html: Less stack crap
Doug Coleman [Sun, 6 Feb 2022 22:04:07 +0000 (16:04 -0600)]
modern.html: Less stack crap

2 years agomodern.html: support <?xml a="b" ?> processing instructions
Doug Coleman [Sun, 6 Feb 2022 19:51:27 +0000 (13:51 -0600)]
modern.html: support <?xml a="b" ?> processing instructions

2 years agomodern.html: Fix parser for <div><div></div></div>
Doug Coleman [Sun, 6 Feb 2022 18:07:12 +0000 (12:07 -0600)]
modern.html: Fix parser for <div><div></div></div>

It was matching on fully closed tags

2 years agowebsites.factorcode: Add a lang="en" on html
Doug Coleman [Sat, 5 Feb 2022 19:12:17 +0000 (13:12 -0600)]
websites.factorcode: Add a lang="en" on html

2 years agowebsites.factorcode: Add some %20 in links, add closing />, remove Slack link
Doug Coleman [Sat, 5 Feb 2022 19:08:51 +0000 (13:08 -0600)]
websites.factorcode: Add some %20 in links, add closing />, remove Slack link

2 years agolistener: rename (listener) to listener-loop
John Benediktsson [Sat, 5 Feb 2022 05:31:07 +0000 (21:31 -0800)]
listener: rename (listener) to listener-loop

2 years agoeval: fix help-lint
John Benediktsson [Fri, 4 Feb 2022 23:56:51 +0000 (15:56 -0800)]
eval: fix help-lint

2 years agoeval: separate eval-with-stack and eval-with-stack>string
John Benediktsson [Fri, 4 Feb 2022 23:24:19 +0000 (15:24 -0800)]
eval: separate eval-with-stack and eval-with-stack>string

these might need better names?

2 years agolistener: use prettyprint:datastack.
John Benediktsson [Fri, 4 Feb 2022 23:24:05 +0000 (15:24 -0800)]
listener: use prettyprint:datastack.

2 years agoprettyprint: adding a datastack. word
John Benediktsson [Fri, 4 Feb 2022 23:23:30 +0000 (15:23 -0800)]
prettyprint: adding a datastack. word

since we use this in a few places

2 years agosyntax: fix docs for run-script.
John Benediktsson [Fri, 4 Feb 2022 06:13:34 +0000 (22:13 -0800)]
syntax: fix docs for run-script.

2 years agocommand-line: moving run-script to command-line.startup
John Benediktsson [Fri, 4 Feb 2022 06:03:16 +0000 (22:03 -0800)]
command-line: moving run-script to command-line.startup

2 years agocommand-line: print the remaining data stack on run-script
John Benediktsson [Fri, 4 Feb 2022 05:52:49 +0000 (21:52 -0800)]
command-line: print the remaining data stack on run-script

2 years agocommand-line.startup: use eval-with-stack, don't jump to listener
John Benediktsson [Fri, 4 Feb 2022 05:52:27 +0000 (21:52 -0800)]
command-line.startup: use eval-with-stack, don't jump to listener

2 years agoeval: adding eval-with-stack
John Benediktsson [Fri, 4 Feb 2022 05:51:56 +0000 (21:51 -0800)]
eval: adding eval-with-stack

2 years agocommand-line.startup: always eval and run-script with auto-use
John Benediktsson [Fri, 4 Feb 2022 04:29:40 +0000 (20:29 -0800)]
command-line.startup: always eval and run-script with auto-use

drop into a listener if there are restartable errors

2 years agodocuments: rename each-line to each-doc-line and map-lines to map-doc-lines
John Benediktsson [Fri, 4 Feb 2022 04:27:53 +0000 (20:27 -0800)]
documents: rename each-line to each-doc-line and map-lines to map-doc-lines

2 years agovocabs.platforms: Add words to possibly replace `cond require` for platforms
Doug Coleman [Fri, 4 Feb 2022 04:07:50 +0000 (22:07 -0600)]
vocabs.platforms: Add words to possibly replace `cond require` for platforms

2 years agomodels: remove double space in docs
John Benediktsson [Thu, 3 Feb 2022 18:54:34 +0000 (10:54 -0800)]
models: remove double space in docs

2 years agodocuments.elements: adding some documentation.
John Benediktsson [Thu, 3 Feb 2022 18:52:15 +0000 (10:52 -0800)]
documents.elements: adding some documentation.

2 years agoui.tools.button-list: use linked-assocs to keep buttons in order
John Benediktsson [Thu, 3 Feb 2022 18:46:03 +0000 (10:46 -0800)]
ui.tools.button-list: use linked-assocs to keep buttons in order

2 years agoui.gadgets.search-tables: remove delay
John Benediktsson [Thu, 3 Feb 2022 18:44:37 +0000 (10:44 -0800)]
ui.gadgets.search-tables: remove delay

2 years agovocabs.platforms: Add some more experimental USE: style words.
Doug Coleman [Thu, 3 Feb 2022 06:14:54 +0000 (00:14 -0600)]
vocabs.platforms: Add some more experimental USE: style words.

examples:

USE-IF: roman [ os macosx? ]

USE-UNIX: io.unix

USE-WINDOWS: windows

  old:
{
    { [ os windows? ] [ "alien.libraries.windows" ] }
    { [ os unix? ] [ "alien.libraries.unix" ] }
} cond require

  new:
USE-WINDOWS: alien.libraries.windows
USE-UNIX: alien.libraries.unix

2 years agosuccessor: fix typo in docs
Doug Coleman [Thu, 3 Feb 2022 05:55:10 +0000 (23:55 -0600)]
successor: fix typo in docs

2 years agodns: Fix dns query for "." and add more types
Doug Coleman [Thu, 3 Feb 2022 02:40:26 +0000 (20:40 -0600)]
dns: Fix dns query for "." and add more types

2 years agoalien.enums: Add values>enum word
Doug Coleman [Thu, 3 Feb 2022 02:18:52 +0000 (20:18 -0600)]
alien.enums: Add values>enum word

2 years agoui.tools.operations: Don't annotate regular objects, only words.
Doug Coleman [Wed, 2 Feb 2022 06:29:55 +0000 (00:29 -0600)]
ui.tools.operations: Don't annotate regular objects, only words.

2 years agoui.tools.operations: use without-limits for unparse and add copy object
Doug Coleman [Wed, 2 Feb 2022 06:14:04 +0000 (00:14 -0600)]
ui.tools.operations: use without-limits for unparse and add copy object

For large JSON objects, unparsing would show ~2600 more~ instead of all
of the text. Also realized I could add a copy command to unparse into
the clipboard directly

Use ... for prettyprint

2 years agojamshred: Fix specialized-arrays using
Doug Coleman [Wed, 2 Feb 2022 06:01:42 +0000 (00:01 -0600)]
jamshred: Fix specialized-arrays using

2 years agoRevert "classes.struct: Don't depend on smart combinators"
Doug Coleman [Mon, 31 Jan 2022 00:05:35 +0000 (18:05 -0600)]
Revert "classes.struct: Don't depend on smart combinators"

This reverts commit a3b906157a0a90b2cbc52dc74f012e7352226c28.

2 years agoclasses.struct: Don't depend on smart combinators
Doug Coleman [Sun, 30 Jan 2022 23:52:30 +0000 (17:52 -0600)]
classes.struct: Don't depend on smart combinators

2 years agotensors.tensor-slice: move step-slice to sequences.extras
John Benediktsson [Sun, 30 Jan 2022 21:25:12 +0000 (13:25 -0800)]
tensors.tensor-slice: move step-slice to sequences.extras

2 years agotensors: simplify using map-sum
John Benediktsson [Sun, 30 Jan 2022 21:20:47 +0000 (13:20 -0800)]
tensors: simplify using map-sum

2 years agozealot: fix rename vocab
Doug Coleman [Sun, 30 Jan 2022 20:20:51 +0000 (14:20 -0600)]
zealot: fix rename vocab

2 years agoprotocols.tftp: move to tftp
John Benediktsson [Sun, 30 Jan 2022 19:21:26 +0000 (11:21 -0800)]
protocols.tftp: move to tftp

2 years agohetzner, github: remove cloud/web-services prefixes
Doug Coleman [Sun, 30 Jan 2022 18:46:00 +0000 (12:46 -0600)]
hetzner, github: remove cloud/web-services prefixes

2 years agoyenc: adding yEnc format encoding/decoding
John Benediktsson [Sun, 30 Jan 2022 18:24:49 +0000 (10:24 -0800)]
yenc: adding yEnc format encoding/decoding

2 years agocloud.hetzner: Add basic hetzner http get commands
Doug Coleman [Sun, 30 Jan 2022 18:17:06 +0000 (12:17 -0600)]
cloud.hetzner: Add basic hetzner http get commands

2 years agoassocs.extras: add change values-of word to not sift
Doug Coleman [Sun, 30 Jan 2022 18:15:13 +0000 (12:15 -0600)]
assocs.extras: add change values-of word to not sift
fix using

2 years agounicode.flags.images: Only test on Mac for now
Doug Coleman [Sun, 30 Jan 2022 07:03:22 +0000 (01:03 -0600)]
unicode.flags.images: Only test on Mac for now

2 years agodns: handle dns aliases like paste.factorcode.org
Doug Coleman [Sat, 29 Jan 2022 06:35:20 +0000 (00:35 -0600)]
dns: handle dns aliases like paste.factorcode.org

"paste.factorcode.org" host

2 years agounicode.flags: add some more flags and a way to view the codepoints for fun
Doug Coleman [Fri, 28 Jan 2022 23:45:17 +0000 (17:45 -0600)]
unicode.flags: add some more flags and a way to view the codepoints for fun

I'm all flagged out for now

2 years agoroman: fix tests using
Doug Coleman [Fri, 28 Jan 2022 23:30:15 +0000 (17:30 -0600)]
roman: fix tests using

2 years agounicode.flags.images: cartesian product for aa..zz
Doug Coleman [Fri, 28 Jan 2022 23:23:45 +0000 (17:23 -0600)]
unicode.flags.images: cartesian product for aa..zz

2 years agoimages.http: set retina on the mac
John Benediktsson [Fri, 28 Jan 2022 22:43:25 +0000 (14:43 -0800)]
images.http: set retina on the mac

2 years agomath.combinatorics: factor out nCk-with-replacement
John Benediktsson [Fri, 28 Jan 2022 17:35:29 +0000 (09:35 -0800)]
math.combinatorics: factor out nCk-with-replacement

2 years agounicode.flags.images: use combinations-with-replacement
John Benediktsson [Fri, 28 Jan 2022 17:26:41 +0000 (09:26 -0800)]
unicode.flags.images: use combinations-with-replacement

2 years agomath.combinatorics: adding combinations-with-replacement
John Benediktsson [Fri, 28 Jan 2022 17:23:22 +0000 (09:23 -0800)]
math.combinatorics: adding combinations-with-replacement

2 years agocountries: adding exceptional and transitional reservations
John Benediktsson [Fri, 28 Jan 2022 16:58:12 +0000 (08:58 -0800)]
countries: adding exceptional and transitional reservations

2 years agounicode.flags: adding FLAG: syntax, why not
John Benediktsson [Fri, 28 Jan 2022 16:45:18 +0000 (08:45 -0800)]
unicode.flags: adding FLAG: syntax, why not

FLAG: US .

2 years agocountries: fix IN:
John Benediktsson [Fri, 28 Jan 2022 16:43:21 +0000 (08:43 -0800)]
countries: fix IN:

2 years agocountries: adding ISO 3166-1 country codes
John Benediktsson [Fri, 28 Jan 2022 16:37:38 +0000 (08:37 -0800)]
countries: adding ISO 3166-1 country codes

2 years agoquiz: Add country/flag quiz
Doug Coleman [Fri, 28 Jan 2022 04:16:38 +0000 (22:16 -0600)]
quiz: Add country/flag quiz

2 years agounicode.flags: fix test oops
Doug Coleman [Fri, 28 Jan 2022 03:55:28 +0000 (21:55 -0600)]
unicode.flags: fix test oops

2 years agounicode.flags: Add a way to get valid flags, fix using
Doug Coleman [Fri, 28 Jan 2022 03:52:54 +0000 (21:52 -0600)]
unicode.flags: Add a way to get valid flags, fix using

2 years agoflags: move to unicode.flags
John Benediktsson [Thu, 27 Jan 2022 22:01:36 +0000 (14:01 -0800)]
flags: move to unicode.flags

2 years agoflags: adding a unicode flags vocabulary
John Benediktsson [Thu, 27 Jan 2022 21:57:39 +0000 (13:57 -0800)]
flags: adding a unicode flags vocabulary

2 years agoalien.syntax: adding INITIALIZE-ALIEN:
John Benediktsson [Wed, 26 Jan 2022 18:54:23 +0000 (10:54 -0800)]
alien.syntax: adding INITIALIZE-ALIEN:

2 years agosyntax: adding documentation for STARTUP-HOOK: and SHUTDOWN-HOOK:
John Benediktsson [Wed, 26 Jan 2022 18:43:54 +0000 (10:43 -0800)]
syntax: adding documentation for STARTUP-HOOK: and SHUTDOWN-HOOK:

2 years agosyntax: adding INITIALIZE:
John Benediktsson [Wed, 26 Jan 2022 18:41:30 +0000 (10:41 -0800)]
syntax: adding INITIALIZE:

2 years agomisc/vim: fix syntax highlighting for help forms
John Benediktsson [Wed, 26 Jan 2022 18:34:50 +0000 (10:34 -0800)]
misc/vim: fix syntax highlighting for help forms

2 years agococoa.apple-script: fix tests for quote-apple-script
John Benediktsson [Wed, 26 Jan 2022 17:53:38 +0000 (09:53 -0800)]
cocoa.apple-script: fix tests for quote-apple-script

2 years agosequences.extras: using (each-index)
John Benediktsson [Wed, 26 Jan 2022 17:50:16 +0000 (09:50 -0800)]
sequences.extras: using (each-index)

2 years agosequences: can't unslice each-index for now
John Benediktsson [Wed, 26 Jan 2022 17:49:28 +0000 (09:49 -0800)]
sequences: can't unslice each-index for now

2 years agoRevert "sequences.extras: fixing each-index-from for unslicing changes"
John Benediktsson [Wed, 26 Jan 2022 17:38:01 +0000 (09:38 -0800)]
Revert "sequences.extras: fixing each-index-from for unslicing changes"

This reverts commit a2615a84d22aa753a66dc67da6ee13b02c6dfbeb.

2 years agosequences.extras: fixing each-index-from for unslicing changes
John Benediktsson [Wed, 26 Jan 2022 17:13:41 +0000 (09:13 -0800)]
sequences.extras: fixing each-index-from for unslicing changes

2 years agoprettyprint.config: adding some docs for has-limits?
John Benediktsson [Wed, 26 Jan 2022 16:55:30 +0000 (08:55 -0800)]
prettyprint.config: adding some docs for has-limits?

2 years agoprettyprint: allow with-short-limits and without-limits to override defaults.
John Benediktsson [Wed, 26 Jan 2022 16:44:21 +0000 (08:44 -0800)]
prettyprint: allow with-short-limits and without-limits to override defaults.

This is based on a patch by @hiljusti.

2 years agoRevert "opengl.gl.extensions: use opengl.gl.x11"
John Benediktsson [Wed, 26 Jan 2022 05:38:07 +0000 (21:38 -0800)]
Revert "opengl.gl.extensions: use opengl.gl.x11"

This reverts commit efe5ffe34f9216a9aa33fb52754eecdf5788b756.

2 years agoopengl.gl.extensions: use opengl.gl.x11
John Benediktsson [Wed, 26 Jan 2022 05:30:44 +0000 (21:30 -0800)]
opengl.gl.extensions: use opengl.gl.x11

2 years agodid-you-mean: factor out the word search
John Benediktsson [Wed, 26 Jan 2022 02:59:12 +0000 (18:59 -0800)]
did-you-mean: factor out the word search

2 years agobasis/extra: using cleave>array in a few places
John Benediktsson [Wed, 26 Jan 2022 02:56:36 +0000 (18:56 -0800)]
basis/extra: using cleave>array in a few places

2 years agodid-you-mean: tweak the restarts
John Benediktsson [Wed, 26 Jan 2022 02:55:46 +0000 (18:55 -0800)]
did-you-mean: tweak the restarts

2 years agoelevate.windows: Fix compile error.
Doug Coleman [Wed, 26 Jan 2022 02:30:55 +0000 (20:30 -0600)]
elevate.windows: Fix compile error.

Needs to return a process somehow.

2 years agodid-you-mean: prototype of a spelling corrector word search
John Benediktsson [Tue, 25 Jan 2022 22:30:42 +0000 (14:30 -0800)]
did-you-mean: prototype of a spelling corrector word search

2 years agoui.tools.button-list: not sure why this commit was missed
John Benediktsson [Tue, 25 Jan 2022 22:09:08 +0000 (14:09 -0800)]
ui.tools.button-list: not sure why this commit was missed

2 years agoui.tools.button-list: per-world popup
John Benediktsson [Tue, 25 Jan 2022 21:59:24 +0000 (13:59 -0800)]
ui.tools.button-list: per-world popup

2 years agosequences.extras: fix map-index!
John Benediktsson [Tue, 25 Jan 2022 21:51:12 +0000 (13:51 -0800)]
sequences.extras: fix map-index!

2 years agowasm: adding a not-that-useful wasm assembler
John Benediktsson [Tue, 25 Jan 2022 21:21:35 +0000 (13:21 -0800)]
wasm: adding a not-that-useful wasm assembler

2 years agoui.tools.button-list: fix help-lint
John Benediktsson [Tue, 25 Jan 2022 20:57:24 +0000 (12:57 -0800)]
ui.tools.button-list: fix help-lint

2 years agofixups: adding fixup for assoc-union-all and assoc-intersect-all
John Benediktsson [Tue, 25 Jan 2022 19:28:28 +0000 (11:28 -0800)]
fixups: adding fixup for assoc-union-all and assoc-intersect-all

2 years agoui: fix bootstrap for show-active-buttons-popup
John Benediktsson [Tue, 25 Jan 2022 19:28:13 +0000 (11:28 -0800)]
ui: fix bootstrap for show-active-buttons-popup

2 years agomisc/vim: update syntax
John Benediktsson [Tue, 25 Jan 2022 19:16:27 +0000 (11:16 -0800)]
misc/vim: update syntax

2 years agoassocs: rename assoc-combine/refine to assoc-union-all/intersect-all
Benjamin Pollack [Wed, 16 Dec 2020 21:08:46 +0000 (16:08 -0500)]
assocs: rename assoc-combine/refine to assoc-union-all/intersect-all

This is the second half of 2abb328052

2 years agocompiler.tree.modular-arithmetic: adding bignum>fixnum-strict to like->fixnum? list
John Benediktsson [Tue, 25 Jan 2022 19:12:22 +0000 (11:12 -0800)]
compiler.tree.modular-arithmetic: adding bignum>fixnum-strict to like->fixnum? list

2 years agoFixes ungraft and removes accidental duplication
Kevin Cope [Mon, 17 May 2021 20:26:07 +0000 (04:26 +0800)]
Fixes ungraft and removes accidental duplication

2 years agoMoves some docs to where they belong and fixes formatting
Kevin Cope [Sun, 16 May 2021 03:24:24 +0000 (11:24 +0800)]
Moves some docs to where they belong and fixes formatting

2 years agoAdds some documentation for gesture mapping
Kevin Cope [Sun, 16 May 2021 02:43:22 +0000 (10:43 +0800)]
Adds some documentation for gesture mapping

2 years agoMoves button list into MIXIN instance
Kevin Cope [Sun, 16 May 2021 01:36:08 +0000 (09:36 +0800)]
Moves button list into MIXIN instance

2 years agoReorganises button-list code to separate file
inivekin [Sat, 27 Mar 2021 08:02:00 +0000 (16:02 +0800)]
Reorganises button-list code to separate file

2 years agoAdds keyboard driven link following for the browser
inivekin [Sat, 27 Mar 2021 06:54:31 +0000 (14:54 +0800)]
Adds keyboard driven link following for the browser

2 years agococoa.apple-script: fix help-lint
John Benediktsson [Tue, 25 Jan 2022 19:06:28 +0000 (11:06 -0800)]
cocoa.apple-script: fix help-lint

2 years agoelevate: fix help-lint
John Benediktsson [Tue, 25 Jan 2022 18:31:35 +0000 (10:31 -0800)]
elevate: fix help-lint

2 years agoelevate: moving to extra/
John Benediktsson [Tue, 25 Jan 2022 18:28:41 +0000 (10:28 -0800)]
elevate: moving to extra/

2 years agoelevate: make it load/compile
Doug Coleman [Tue, 3 Jul 2018 15:46:13 +0000 (10:46 -0500)]
elevate: make it load/compile

2 years agomove quote-apple-script to cocoa.apple-script and out of elevate.macosx
Cat Stevens [Fri, 29 Jun 2018 20:46:33 +0000 (16:46 -0400)]
move quote-apple-script to cocoa.apple-script and out of elevate.macosx