]> gitweb.factorcode.org Git - factor.git/log
factor.git
6 months agoMerge branch 'master' into feature-maximum-minimum feature-maximum-minimum 2885/head
nomennescio [Mon, 16 Oct 2023 11:55:50 +0000 (13:55 +0200)]
Merge branch 'master' into feature-maximum-minimum

6 months agoSupport potentially ancient sed versions
nomennescio [Mon, 16 Oct 2023 11:38:34 +0000 (13:38 +0200)]
Support potentially ancient sed versions

6 months agoFixed issue with collapsing branch names for pull requests
nomennescio [Mon, 16 Oct 2023 11:35:52 +0000 (13:35 +0200)]
Fixed issue with collapsing branch names for pull requests

CURRENT_BRANCH_FULL added to track info during Github builds. Can potentially be removed.

6 months agoRefactored (minimum) and (maximum)
nomennescio [Mon, 16 Oct 2023 00:49:26 +0000 (02:49 +0200)]
Refactored (minimum) and (maximum)

Based on review comment of John

6 months agoOptimized minimum and maximum for element-repeats
nomennescio [Sat, 14 Oct 2023 00:39:08 +0000 (02:39 +0200)]
Optimized minimum and maximum for element-repeats

6 months agoAdded unit tests
nomennescio [Sat, 14 Oct 2023 00:32:30 +0000 (02:32 +0200)]
Added unit tests

6 months agoBetter?
nomennescio [Sat, 14 Oct 2023 00:31:46 +0000 (02:31 +0200)]
Better?

6 months agoAdded unit tests
nomennescio [Sat, 14 Oct 2023 00:14:46 +0000 (02:14 +0200)]
Added unit tests

6 months agoOptimized minimum and maximum for cycles and element-repeats
nomennescio [Sat, 14 Oct 2023 00:07:18 +0000 (02:07 +0200)]
Optimized minimum and maximum for cycles and element-repeats

6 months agoOptimized minimum and maximum for circular
nomennescio [Fri, 13 Oct 2023 21:29:39 +0000 (23:29 +0200)]
Optimized minimum and maximum for circular

6 months agoSpecialize minimum and maximum on repetition too.
nomennescio [Fri, 13 Oct 2023 20:47:37 +0000 (22:47 +0200)]
Specialize minimum and maximum on repetition too.

6 months agoGenerics minimum and maximum added.
nomennescio [Fri, 13 Oct 2023 20:47:02 +0000 (22:47 +0200)]
Generics minimum and maximum added.

For finite sequences infinum is minimum, supremum is maximum.
Runtime implementation on sequences uses (minimum) and (maximum).
Dispatch on object replaced by dispatch on sequence.
Inline generics for better optimizations.

6 months agolexer: change new-lexer to take a string
John Benediktsson [Fri, 13 Oct 2023 18:54:32 +0000 (11:54 -0700)]
lexer: change new-lexer to take a string

6 months agoclasses.predicate: fix dispatch
John Benediktsson [Fri, 13 Oct 2023 18:39:46 +0000 (11:39 -0700)]
classes.predicate: fix dispatch

6 months agoclasses.predicate: faster predicate-def for anonymous-predicate
John Benediktsson [Fri, 13 Oct 2023 17:46:52 +0000 (10:46 -0700)]
classes.predicate: faster predicate-def for anonymous-predicate

6 months agoMove changes from work/ to core/ and basis/
Capital [Fri, 13 Oct 2023 17:05:24 +0000 (13:05 -0400)]
Move changes from work/ to core/ and basis/

6 months agoparser: fix docs for scan-word
John Benediktsson [Fri, 13 Oct 2023 17:47:22 +0000 (10:47 -0700)]
parser: fix docs for scan-word

6 months agoglfw: adding glfw-yield
John Benediktsson [Fri, 13 Oct 2023 17:21:51 +0000 (10:21 -0700)]
glfw: adding glfw-yield

6 months agoRefactor circular-slice, gb, step-slice using wrapped-sequence
nomennescio [Tue, 10 Oct 2023 06:53:27 +0000 (08:53 +0200)]
Refactor circular-slice, gb, step-slice using wrapped-sequence

6 months agoReformat
nomennescio [Mon, 9 Oct 2023 22:32:34 +0000 (00:32 +0200)]
Reformat

6 months agoMake slice a wrapped-sequence
nomennescio [Mon, 9 Oct 2023 22:30:25 +0000 (00:30 +0200)]
Make slice a wrapped-sequence

6 months agoMake sequence-view a wrapped-sequence
nomennescio [Mon, 9 Oct 2023 22:30:07 +0000 (00:30 +0200)]
Make sequence-view a wrapped-sequence

6 months agoAdd wrapped-sequence that require instances to have a slot 'seq' that is a sequence
nomennescio [Mon, 9 Oct 2023 22:27:48 +0000 (00:27 +0200)]
Add wrapped-sequence that require instances to have a slot 'seq' that is a sequence

6 months agoFixup test
nomennescio [Mon, 9 Oct 2023 22:26:20 +0000 (00:26 +0200)]
Fixup test

Not sure what the original test was supposed to test, see commit 8b55b532695d2c253fc6c8da41f2720dc0788f4a

6 months agoRefactor repeating,snipped using sequence-view
nomennescio [Sat, 7 Oct 2023 04:48:35 +0000 (06:48 +0200)]
Refactor repeating,snipped using sequence-view

6 months agoMake sequence-view typed. Fixup tests.
nomennescio [Sat, 7 Oct 2023 04:45:59 +0000 (06:45 +0200)]
Make sequence-view typed. Fixup tests.

6 months agoReformat
nomennescio [Fri, 6 Oct 2023 07:07:53 +0000 (09:07 +0200)]
Reformat

Keep style consistent to first create methods, then declare INSTANCE:

6 months agoReformat
nomennescio [Fri, 6 Oct 2023 07:03:25 +0000 (09:03 +0200)]
Reformat

6 months agoRefactor reversed using sequence-view
nomennescio [Fri, 6 Oct 2023 06:42:19 +0000 (08:42 +0200)]
Refactor reversed using sequence-view

6 months agoRefactor columns, sequences.{extra, frozen, rotated} using sequence-view
nomennescio [Fri, 6 Oct 2023 04:05:30 +0000 (06:05 +0200)]
Refactor columns, sequences.{extra, frozen, rotated} using sequence-view

6 months agoRefactor circular using sequence-view
nomennescio [Thu, 5 Oct 2023 09:21:54 +0000 (11:21 +0200)]
Refactor circular using sequence-view

Experimental commit

6 months agoAdded virtual-sequence sequence-view, which is a MVC view on the underlying sequence
nomennescio [Thu, 5 Oct 2023 09:19:55 +0000 (11:19 +0200)]
Added virtual-sequence sequence-view, which is a MVC view on the underlying sequence

For now untyped, but the intention is to use the typed version when all conflicts are resolvable.

6 months agoAdd examples to several words
chunes3 [Tue, 12 Sep 2023 20:12:14 +0000 (15:12 -0500)]
Add examples to several words

6 months agoAdd: GL_SHADER_STORAGE_BUFFER constant
TryAngle [Sat, 7 Oct 2023 02:07:40 +0000 (04:07 +0200)]
Add: GL_SHADER_STORAGE_BUFFER constant

6 months agoadd disclaimer in ENUM:
razetime [Fri, 6 Oct 2023 12:21:06 +0000 (20:21 +0800)]
add disclaimer in ENUM:

6 months agoenglish.docs: fix $keep-case usage
razetime [Thu, 5 Oct 2023 15:35:29 +0000 (23:35 +0800)]
english.docs: fix $keep-case usage

6 months agotoml: fix empty arrays.
Doug Coleman [Thu, 5 Oct 2023 03:04:06 +0000 (22:04 -0500)]
toml: fix empty arrays.

peg parsers don't pick up all the changes faithfully unless you forget-vocab and load it again

6 months agocodebase-analyzer: add some initial rust support
Doug Coleman [Wed, 4 Oct 2023 20:43:08 +0000 (15:43 -0500)]
codebase-analyzer: add some initial rust support

6 months agotoml: fix bug with `a=[]` by moving parser around. add tests and path>toml
Doug Coleman [Wed, 4 Oct 2023 17:31:04 +0000 (12:31 -0500)]
toml: fix bug with `a=[]` by moving parser around. add tests and path>toml

7 months agojson: add rewrite-json words and tests
Doug Coleman [Wed, 6 Sep 2023 16:05:42 +0000 (11:05 -0500)]
json: add rewrite-json words and tests

7 months agoassocs.extras: add key-of? which is swapped key?
Doug Coleman [Wed, 6 Sep 2023 03:26:36 +0000 (22:26 -0500)]
assocs.extras: add key-of? which is swapped key?

7 months agosequences.extras: more efficient 1reduce without unclip
John Benediktsson [Fri, 29 Sep 2023 13:36:58 +0000 (06:36 -0700)]
sequences.extras: more efficient 1reduce without unclip

7 months agoGNUmakefile: adding help
John Benediktsson [Thu, 28 Sep 2023 01:36:06 +0000 (18:36 -0700)]
GNUmakefile: adding help

7 months agobuild.sh: support arm32
John Benediktsson [Tue, 26 Sep 2023 17:17:32 +0000 (10:17 -0700)]
build.sh: support arm32

7 months agobuild.sh: fix bad refactor of update script, improve script
Doug Coleman [Tue, 26 Sep 2023 04:12:19 +0000 (23:12 -0500)]
build.sh: fix bad refactor of update script, improve script

7 months agoparse HINFO records
Alex Maestas [Mon, 25 Sep 2023 04:01:15 +0000 (04:01 +0000)]
parse HINFO records

7 months agogoogle.charts: check title/data before set-url-param
John Benediktsson [Thu, 21 Sep 2023 03:13:42 +0000 (20:13 -0700)]
google.charts: check title/data before set-url-param

7 months agoclasses.tuple: check slot value in set-slot-named / from-slots
John Benediktsson [Thu, 21 Sep 2023 03:12:30 +0000 (20:12 -0700)]
classes.tuple: check slot value in set-slot-named / from-slots

7 months agoslots: adding check-slot-value
John Benediktsson [Thu, 21 Sep 2023 03:12:11 +0000 (20:12 -0700)]
slots: adding check-slot-value

7 months agotools.scaffold: change developer-name example to just Stacky.
John Benediktsson [Thu, 21 Sep 2023 02:57:38 +0000 (19:57 -0700)]
tools.scaffold: change developer-name example to just Stacky.

7 months agosequences: simplify <repetition>
John Benediktsson [Tue, 19 Sep 2023 18:52:39 +0000 (11:52 -0700)]
sequences: simplify <repetition>

7 months agocbor: fix using
John Benediktsson [Tue, 19 Sep 2023 17:37:30 +0000 (10:37 -0700)]
cbor: fix using

7 months agomath.functions: merge integer-sqrt and integer-log{2,10} in
John Benediktsson [Tue, 19 Sep 2023 16:32:16 +0000 (09:32 -0700)]
math.functions: merge integer-sqrt and integer-log{2,10} in

7 months agoio.launcher: use process-contents in a few places
John Benediktsson [Tue, 19 Sep 2023 16:26:35 +0000 (09:26 -0700)]
io.launcher: use process-contents in a few places

7 months agosplitting: slightly faster linebreak? and docs
John Benediktsson [Tue, 19 Sep 2023 15:37:55 +0000 (08:37 -0700)]
splitting: slightly faster linebreak? and docs

7 months agotools.disassembler.capstone: add some typedefs for clarity
John Benediktsson [Tue, 19 Sep 2023 15:29:12 +0000 (08:29 -0700)]
tools.disassembler.capstone: add some typedefs for clarity

7 months agosplitting: implement universal linebreaks by splitting on:
John Benediktsson [Tue, 19 Sep 2023 04:38:05 +0000 (21:38 -0700)]
splitting: implement universal linebreaks by splitting on:

    \n       LINE FEED
    \r       CARRIAGE RETURN
    \v       LINE TABULATION
    \f       FORM FEED
    \x1c     FILE SEPARATOR
    \x1d     GROUP SEPARATOR
    \x1e     RECORD SEPARATOR
    \x85     NEXT LINE (C1 CONTROL CODE)
    \u002028 LINE SEPARATOR
    \u002029 PARAGRAPH SEPARATOR

7 months agotools.disassembler.capstone: add more cs_modes
John Benediktsson [Tue, 19 Sep 2023 03:46:06 +0000 (20:46 -0700)]
tools.disassembler.capstone: add more cs_modes

7 months agotools.disassembler.capstone: work with capstone 4 and 5 both
John Benediktsson [Tue, 19 Sep 2023 03:34:01 +0000 (20:34 -0700)]
tools.disassembler.capstone: work with capstone 4 and 5 both

7 months agogml.core: use check-instance
John Benediktsson [Mon, 18 Sep 2023 22:40:38 +0000 (15:40 -0700)]
gml.core: use check-instance

7 months agomisc/vim: update vim syntax words
John Benediktsson [Mon, 18 Sep 2023 22:19:54 +0000 (15:19 -0700)]
misc/vim: update vim syntax words

7 months agoio.files: adding check-file-exists
John Benediktsson [Mon, 18 Sep 2023 21:12:16 +0000 (14:12 -0700)]
io.files: adding check-file-exists

7 months agoraylib: fix help-lint
John Benediktsson [Sat, 16 Sep 2023 20:17:56 +0000 (13:17 -0700)]
raylib: fix help-lint

7 months agoFix help file
Capital-EX [Sat, 16 Sep 2023 17:05:31 +0000 (13:05 -0400)]
Fix help file

Turns out there as a stray void causing a failure in `alien.c-types`. This should fix it.

7 months agoMake help-lint stop complaining
Capital [Sat, 16 Sep 2023 16:12:28 +0000 (12:12 -0400)]
Make help-lint stop complaining

7 months agoRemove rlgl's empty help file
Capital [Sat, 16 Sep 2023 15:39:11 +0000 (11:39 -0400)]
Remove rlgl's empty help file

7 months agoFinish documenting raylib
Capital [Sat, 16 Sep 2023 05:40:35 +0000 (01:40 -0400)]
Finish documenting raylib

I'm so tired omg

7 months agoraylib-doc: document every function
Capital [Fri, 15 Sep 2023 05:42:14 +0000 (01:42 -0400)]
raylib-doc: document every function

7 months agoraylib-docs: more docs
Capital [Fri, 15 Sep 2023 02:01:53 +0000 (22:01 -0400)]
raylib-docs: more docs

7 months agoraylib-docs: use table
Capital [Wed, 13 Sep 2023 00:17:07 +0000 (20:17 -0400)]
raylib-docs: use table

7 months agoraylib-docs: document every enum...
Capital [Mon, 11 Sep 2023 22:26:56 +0000 (18:26 -0400)]
raylib-docs: document every enum...

7 months agoContinue documenting
Capital [Mon, 11 Sep 2023 00:26:01 +0000 (20:26 -0400)]
Continue documenting

7 months agoGenerate Raylib and RLGL docs
Capital [Sat, 9 Sep 2023 22:23:10 +0000 (18:23 -0400)]
Generate Raylib and RLGL docs

7 months agoopengl.textures: fix help-lint
John Benediktsson [Sat, 16 Sep 2023 16:28:26 +0000 (09:28 -0700)]
opengl.textures: fix help-lint

7 months agoAdd: OpenGL 4+ extensions and demos for them
Sebastian Strobl [Sat, 16 Sep 2023 05:46:39 +0000 (07:46 +0200)]
Add: OpenGL 4+ extensions and demos for them

7 months agopeg.search: fix tests
John Benediktsson [Sat, 16 Sep 2023 02:52:22 +0000 (19:52 -0700)]
peg.search: fix tests

7 months agopeg.search: rename search/replace to peg-search/peg-replace
John Benediktsson [Wed, 13 Sep 2023 18:50:11 +0000 (11:50 -0700)]
peg.search: rename search/replace to peg-search/peg-replace

7 months agotools.disassembler.capstone: remove accidental B
John Benediktsson [Tue, 12 Sep 2023 03:02:41 +0000 (20:02 -0700)]
tools.disassembler.capstone: remove accidental B

7 months agoranges: add some docs for syntax words
John Benediktsson [Tue, 12 Sep 2023 02:59:52 +0000 (19:59 -0700)]
ranges: add some docs for syntax words

7 months agotools.disassembler.capstone: using \ cpu
John Benediktsson [Tue, 12 Sep 2023 01:40:06 +0000 (18:40 -0700)]
tools.disassembler.capstone: using \ cpu

7 months agotools.disassembler.capstone: adding arm.32
John Benediktsson [Tue, 12 Sep 2023 01:34:34 +0000 (18:34 -0700)]
tools.disassembler.capstone: adding arm.32

7 months agotools.disassembler.capstone: adding arm64
John Benediktsson [Tue, 12 Sep 2023 01:32:27 +0000 (18:32 -0700)]
tools.disassembler.capstone: adding arm64

7 months agoranges: adding syntax words ..= and ..<
John Benediktsson [Tue, 12 Sep 2023 01:18:37 +0000 (18:18 -0700)]
ranges: adding syntax words ..= and ..<

7 months agoassocs.extras: Move some often-used words to core
Giftpflanze [Mon, 11 Sep 2023 09:25:24 +0000 (11:25 +0200)]
assocs.extras: Move some often-used words to core

* Move assoc-reduce, {filter,reject,map,reduce,sum}-{keys,values},
assoc-any-{key,value}?, assoc-all-{keys,values}? to assocs
* Rename assoc-all-{key,value}? to all-{keys,values}?
* Rename assoc-any-{key,value}? to any-{key,value}?
* Use moved words

* Substitute `rot drop` => `nipd`, `drop rot drop` => `roll 2drop`
* Add lint for `rot drop` = `nipd`

7 months agocombinators.extras: in sequence-case use in? instead of member?
John Benediktsson [Mon, 11 Sep 2023 00:37:28 +0000 (17:37 -0700)]
combinators.extras: in sequence-case use in? instead of member?

7 months agocombinators.extras: change sequence-case to not use a generic
John Benediktsson [Mon, 11 Sep 2023 00:34:46 +0000 (17:34 -0700)]
combinators.extras: change sequence-case to not use a generic

7 months agoAdd notes section about resizability
chunes3 [Sun, 10 Sep 2023 22:40:10 +0000 (17:40 -0500)]
Add notes section about resizability

7 months agoAdd documentation for sift!
chunes3 [Sun, 10 Sep 2023 22:00:35 +0000 (17:00 -0500)]
Add documentation for sift!

7 months agocombinators.extras: another test
John Benediktsson [Sun, 10 Sep 2023 19:48:37 +0000 (12:48 -0700)]
combinators.extras: another test

7 months agocombinators.extras: adding sequence-case
John Benediktsson [Sun, 10 Sep 2023 19:46:11 +0000 (12:46 -0700)]
combinators.extras: adding sequence-case

7 months agosequences.extras: another test case and make count= compare with >
John Benediktsson [Sun, 10 Sep 2023 19:39:29 +0000 (12:39 -0700)]
sequences.extras: another test case and make count= compare with >

7 months agosequences.extras: adding count=
John Benediktsson [Sun, 10 Sep 2023 19:31:35 +0000 (12:31 -0700)]
sequences.extras: adding count=

7 months agofixups: adding math.trig to 0.100 fixups
John Benediktsson [Sun, 10 Sep 2023 17:19:24 +0000 (10:19 -0700)]
fixups: adding math.trig to 0.100 fixups

7 months agomath.trig: remove reference to this vocab
Capital [Sun, 10 Sep 2023 17:11:50 +0000 (13:11 -0400)]
math.trig: remove reference to this vocab

Additionally, use help-lint-all to check for
references.

7 months agomath.functions: fold math.trig into math.functions
Capital [Sun, 10 Sep 2023 16:57:24 +0000 (12:57 -0400)]
math.functions: fold math.trig into math.functions

7 months agosequences.product: performance improvements
John Benediktsson [Sun, 10 Sep 2023 03:16:06 +0000 (20:16 -0700)]
sequences.product: performance improvements

7 months agosequences: making supremum/infimum generic
John Benediktsson [Sat, 9 Sep 2023 20:36:39 +0000 (13:36 -0700)]
sequences: making supremum/infimum generic

7 months agocore: adding missing summary.txt
John Benediktsson [Sat, 9 Sep 2023 20:09:17 +0000 (13:09 -0700)]
core: adding missing summary.txt

7 months agorlgl: fix up demo and covabs
Capital [Sat, 9 Sep 2023 02:22:56 +0000 (22:22 -0400)]
rlgl: fix up demo and covabs

7 months agorlgl: add alias and ARRAY-SLOTS:
Capital [Sat, 9 Sep 2023 02:16:44 +0000 (22:16 -0400)]
rlgl: add alias and ARRAY-SLOTS: