]>
gitweb.factorcode.org Git - factor.git/log
Dave Carlton [Wed, 30 Dec 2020 18:58:01 +0000 (12:58 -0600)]
Added UTExportedTypeDeclarations to Info.plist
Permit system to identify file extension .factor as text
Arnaut Daniel [Thu, 31 Dec 2020 00:16:47 +0000 (19:16 -0500)]
Update Raylib from 2.5 -> 3.5
John Benediktsson [Mon, 28 Dec 2020 16:15:11 +0000 (08:15 -0800)]
peg.javascript: fix docs.
John Benediktsson [Mon, 28 Dec 2020 16:14:17 +0000 (08:14 -0800)]
benchmark.javascript: removing for now.
Since it doesn't parse the full example javascript, it's not that useful.
Doug Coleman [Sun, 27 Dec 2020 14:41:06 +0000 (08:41 -0600)]
reservoir-sampling: Sample k elements from an unknown number of elements with equal probability.
Doug Coleman [Sun, 27 Dec 2020 02:17:11 +0000 (20:17 -0600)]
http.parsers: Allow a lot more characters in the cookie key.
The spec says one thing, but in practice we just disallow ; , and whitespace.
Add more unit tests.
Doug Coleman [Sun, 27 Dec 2020 02:11:58 +0000 (20:11 -0600)]
escape-strings: sha delimiters for fun
Doug Coleman [Sun, 27 Dec 2020 02:11:23 +0000 (20:11 -0600)]
calendar: Add more predicates.
John Benediktsson [Thu, 24 Dec 2020 21:43:48 +0000 (13:43 -0800)]
strings.parser: adding line continuations.
John Benediktsson [Thu, 24 Dec 2020 21:00:05 +0000 (13:00 -0800)]
peg.javascript: fix tests.
John Benediktsson [Thu, 24 Dec 2020 20:51:47 +0000 (12:51 -0800)]
peg.javascript: support more features
hex ints
oct ints
floats exponent syntax
string oct escapes
string line continuations
~ operator
John Benediktsson [Thu, 24 Dec 2020 17:24:26 +0000 (09:24 -0800)]
peg.javascript: simplify to one file.
Then maybe modifying for new javascript syntax.
John Benediktsson [Thu, 24 Dec 2020 17:01:35 +0000 (09:01 -0800)]
benchmark.javascript: update jquery to 3.5.1 to avoid noisy XSS warnings.
See #2403:
> Versions of jQuery (prior to 3.5) have a fairly recent XSS
> vulnerability:
> https://www.infoq.com/news/2020/04/jquery-35-xss-vulnerability-fix/
> It looks like the file is not used in any way that would expose the
> XSS bug, but for what it's worth it gets flagged as sketchy by some
> kinds of vulnerability scans my current project uses. Maybe other users
> will get that noise too?
Doug Coleman [Mon, 21 Dec 2020 16:32:15 +0000 (10:32 -0600)]
semantic-versioning: Better comparison code.
Doug Coleman [Mon, 21 Dec 2020 16:30:12 +0000 (10:30 -0600)]
semver: Add more semver code to parse ranges. Need to merge with semantic-versioning soon.
Doug Coleman [Mon, 21 Dec 2020 02:15:16 +0000 (20:15 -0600)]
itunes: Add a way to query top podcasts from itunes.
Doug Coleman [Mon, 21 Dec 2020 15:14:26 +0000 (09:14 -0600)]
sequences.extras: Add find-pred
Doug Coleman [Mon, 21 Dec 2020 15:13:18 +0000 (09:13 -0600)]
peg.ebnf: Fix bug with ~ ignore and labels and add *~ +~
~ was only implemented for literals, this patch adds more support for ~
John Benediktsson [Fri, 18 Dec 2020 15:23:19 +0000 (07:23 -0800)]
strings: embed sequence-hashcode algorithm in rehash-string.
This allows us to experiment with changing sequence-hashcode. For some
reason there is an issue with changing the hashcode algorithm for
strings when bootstrapping, the current rehash approach in stage1
doesn't rehash strings, but even when we do that, its still not quite
working right yet.
John Benediktsson [Fri, 18 Dec 2020 15:16:35 +0000 (07:16 -0800)]
Revert "time.unix: faster set-system-time."
This reverts commit
467c284db5de06f4e89f482b203752aa38b799bc .
John Benediktsson [Fri, 18 Dec 2020 06:25:25 +0000 (22:25 -0800)]
classes.tuple: shoot, meant this to be in .private.
John Benediktsson [Fri, 18 Dec 2020 06:22:22 +0000 (22:22 -0800)]
classes.tuple: need to defer tuple-layout.
John Benediktsson [Fri, 18 Dec 2020 06:21:40 +0000 (22:21 -0800)]
bootstrap: cleanup using.
John Benediktsson [Fri, 18 Dec 2020 06:19:58 +0000 (22:19 -0800)]
classes.union: make sure tuple-class has tuple-layout.
When tuples are being redefined it's possible for the layout to be f.
John Benediktsson [Fri, 18 Dec 2020 06:16:47 +0000 (22:16 -0800)]
time.unix: faster set-system-time.
John Benediktsson [Fri, 18 Dec 2020 06:15:50 +0000 (22:15 -0800)]
bootstrap: this is more fragile than I would like.
John Benediktsson [Fri, 18 Dec 2020 02:59:41 +0000 (18:59 -0800)]
images.processing.rotation: disable on linux temporarily.
John Benediktsson [Thu, 17 Dec 2020 22:29:46 +0000 (14:29 -0800)]
sorting.extras: adding compare-with.
This compares a sequence of quotations, returning early if any quotation
produces +lt+ or +gt+, but continuing to the next if it returns +eq+.
John Benediktsson [Thu, 17 Dec 2020 04:51:28 +0000 (20:51 -0800)]
calendar.format: fix timestamp>ymdhms (bad merge).
John Benediktsson [Thu, 17 Dec 2020 04:42:48 +0000 (20:42 -0800)]
calendar: really fix test.
John Benediktsson [Thu, 17 Dec 2020 04:41:40 +0000 (20:41 -0800)]
calendar: fix quarter, add tests.
John Benediktsson [Thu, 17 Dec 2020 03:51:58 +0000 (19:51 -0800)]
words: removing unused "constructor-word".
John Benediktsson [Thu, 17 Dec 2020 01:32:58 +0000 (17:32 -0800)]
help.syntax: add / and " syntax lookups.
John Benediktsson [Thu, 17 Dec 2020 00:52:08 +0000 (16:52 -0800)]
descriptive: fix reset-word on descriptive words.
John Benediktsson [Thu, 17 Dec 2020 00:31:41 +0000 (16:31 -0800)]
calendar: remove unnecessary test.
John Benediktsson [Thu, 17 Dec 2020 00:28:00 +0000 (16:28 -0800)]
locals.definition: fix reset-word for M::, MACRO::, MEMO::.
call-next-method on an intersection isn't what we want here.
John Benediktsson [Thu, 17 Dec 2020 00:03:55 +0000 (16:03 -0800)]
vocabs.parser: fix with-words to be properly restartable.
We want with-words to unuse-words when a restart is provided but
not restarted, but if restarted, we need to use-words again and
then unuse-words.
John Benediktsson [Wed, 16 Dec 2020 22:50:11 +0000 (14:50 -0800)]
calendar: change >gmt, >local-time to clone.
Adding convert-gmt and convert-local-time if you don't want to clone.
John Benediktsson [Wed, 16 Dec 2020 18:42:13 +0000 (10:42 -0800)]
help.syntax: $examples with all strings should be turned to code.
John Benediktsson [Wed, 16 Dec 2020 18:11:59 +0000 (10:11 -0800)]
grouping.extras: slightly slower but easier to maintain.
John Benediktsson [Wed, 16 Dec 2020 17:46:41 +0000 (09:46 -0800)]
grouping.extras: much faster group-map.
John Benediktsson [Wed, 16 Dec 2020 17:22:41 +0000 (09:22 -0800)]
grouping.extras: better {clump,group}-map.
Specifically, clump-map is faster and both clump-map and group-map are
improved to call non-inlined sequences.
John Benediktsson [Wed, 16 Dec 2020 15:41:07 +0000 (07:41 -0800)]
grouping.extras: adding ngroup-map and some utility words.
pad-group extends a sequence to make sure the last group if full.
short-group slices a sequence to make sure groups all same size.
John Benediktsson [Wed, 16 Dec 2020 03:58:58 +0000 (19:58 -0800)]
calendar: use clone >gmt in a few places.
John Benediktsson [Wed, 16 Dec 2020 03:12:16 +0000 (19:12 -0800)]
help.syntax: more blocks.
John Benediktsson [Wed, 16 Dec 2020 02:59:37 +0000 (18:59 -0800)]
vocabs.parser: use finally instead of ``[ ] cleanup``.
John Benediktsson [Wed, 16 Dec 2020 01:50:54 +0000 (17:50 -0800)]
help.syntax: prevent unnecessary ambiguous-use-errors.
Look for valid help words in syntax and help.markup and then search
generally if the token looks like syntax.
John Benediktsson [Wed, 16 Dec 2020 01:43:12 +0000 (17:43 -0800)]
Revert "help.syntax: prevent unnecessary ambiguous-use-errors."
This reverts commit
b14f6853c2e4691a2b6aa0e52f31918d47efde77 .
John Benediktsson [Wed, 16 Dec 2020 01:42:23 +0000 (17:42 -0800)]
help.syntax: prevent unnecessary ambiguous-use-errors.
Look for valid help words in syntax and help.markup.
Benjamin Pollack [Tue, 15 Dec 2020 21:01:49 +0000 (16:01 -0500)]
sets: rename combine/refine to union-all/intersect-all
Closes #2385
John Benediktsson [Wed, 16 Dec 2020 01:23:30 +0000 (17:23 -0800)]
functors: use with-words instead of more fragile qualified-vocabs pop*.
John Benediktsson [Tue, 15 Dec 2020 21:23:27 +0000 (13:23 -0800)]
locals.parser: use with-words again.
John Benediktsson [Tue, 15 Dec 2020 21:22:06 +0000 (13:22 -0800)]
vocabs.parser: fix with-words.
Got the cleanup quots backwards, need to be cleanup-always.
John Benediktsson [Tue, 15 Dec 2020 19:13:55 +0000 (11:13 -0800)]
ctags.etags: fix ARTICLE: docs.
John Benediktsson [Tue, 15 Dec 2020 19:10:55 +0000 (11:10 -0800)]
math.matrices.elimination: fix $snippet to $link in docs.
John Benediktsson [Tue, 15 Dec 2020 18:42:46 +0000 (10:42 -0800)]
calendar.holidays.us: cleanup using.
John Benediktsson [Tue, 15 Dec 2020 17:19:35 +0000 (09:19 -0800)]
help.syntax: short circuit earlier when search returns f.
John Benediktsson [Tue, 15 Dec 2020 17:14:54 +0000 (09:14 -0800)]
sets: add docs about sequence ordering with members.
John Benediktsson [Tue, 15 Dec 2020 17:13:18 +0000 (09:13 -0800)]
help.syntax: allow help.markup to be parsed as a literal.
John Benediktsson [Tue, 15 Dec 2020 16:54:06 +0000 (08:54 -0800)]
roman: try easy-help on article.
John Benediktsson [Tue, 15 Dec 2020 16:33:24 +0000 (08:33 -0800)]
help.syntax: simplify code-lines.
John Benediktsson [Tue, 15 Dec 2020 15:29:45 +0000 (07:29 -0800)]
help.syntax: some fixes for $examples blocks with text.
John Benediktsson [Tue, 15 Dec 2020 15:26:08 +0000 (07:26 -0800)]
regexp: fixing the name collision for ^.
John Benediktsson [Tue, 15 Dec 2020 06:15:12 +0000 (22:15 -0800)]
help.syntax: some fixes for newlines and spaces in blocks.
John Benediktsson [Tue, 15 Dec 2020 06:07:28 +0000 (22:07 -0800)]
help.syntax: start to make ARTICLE: work.
Doug Coleman [Tue, 15 Dec 2020 05:50:49 +0000 (23:50 -0600)]
roman: Trying out easy-help
John Benediktsson [Tue, 15 Dec 2020 05:45:08 +0000 (21:45 -0800)]
help.syntax: when using multiline strings, need to unescape.
This might be temporary if we decide on raw string vs. escaped string
syntax for multiline.
John Benediktsson [Tue, 15 Dec 2020 05:05:30 +0000 (21:05 -0800)]
Revert "help.markup: make headings titlecase."
This reverts commit
6749edd22078fd37e881807e17fc44bb1f05db9a .
John Benediktsson [Tue, 15 Dec 2020 04:59:41 +0000 (20:59 -0800)]
help.syntax: fix intermediate double spaces.
John Benediktsson [Tue, 15 Dec 2020 04:50:55 +0000 (20:50 -0800)]
help.syntax: require string examples to be multi-line.
John Benediktsson [Tue, 15 Dec 2020 04:47:51 +0000 (20:47 -0800)]
help.syntax: can't treat $code as text.
John Benediktsson [Tue, 15 Dec 2020 04:38:15 +0000 (20:38 -0800)]
help.syntax: simplify $example.
John Benediktsson [Tue, 15 Dec 2020 04:33:59 +0000 (20:33 -0800)]
help.syntax: make sure $example is an array.
John Benediktsson [Tue, 15 Dec 2020 04:24:28 +0000 (20:24 -0800)]
help.syntax: more tests.
John Benediktsson [Tue, 15 Dec 2020 04:11:35 +0000 (20:11 -0800)]
help.syntax: don't double spaces in backwards compatibility.
John Benediktsson [Tue, 15 Dec 2020 04:08:25 +0000 (20:08 -0800)]
help.syntax: parse-help-values needs to parse-array directly.
John Benediktsson [Tue, 15 Dec 2020 04:06:54 +0000 (20:06 -0800)]
Revert "locals.parser: use with-words."
This reverts commit
ccdfb1744890c9a05eaa25a3e2d521278620bbc5 .
John Benediktsson [Tue, 15 Dec 2020 03:59:33 +0000 (19:59 -0800)]
help.syntax: merge easy-help ideas into HELP:.
John Benediktsson [Tue, 15 Dec 2020 03:59:11 +0000 (19:59 -0800)]
easy-help: removing prototype.
John Benediktsson [Tue, 15 Dec 2020 03:49:10 +0000 (19:49 -0800)]
easy-help: better $examples.
John Benediktsson [Tue, 15 Dec 2020 03:34:33 +0000 (19:34 -0800)]
easy-help: some cleanup and add EASY-HELP: to test an idea.
John Benediktsson [Tue, 15 Dec 2020 03:18:20 +0000 (19:18 -0800)]
peg.ebnf: use with-words.
John Benediktsson [Tue, 15 Dec 2020 03:18:07 +0000 (19:18 -0800)]
locals.parser: use with-words.
John Benediktsson [Tue, 15 Dec 2020 03:17:33 +0000 (19:17 -0800)]
vocabs.parser: make a with-words combinator that cleans up.
Some places where we use-words / unuse-words could leave the manifest
with extra-words if not cleaned up properly.
John Benediktsson [Tue, 15 Dec 2020 00:01:27 +0000 (16:01 -0800)]
easy-help: adding tests.
John Benediktsson [Mon, 14 Dec 2020 23:33:53 +0000 (15:33 -0800)]
easy-help: no spaces when punctuation follows.
John Benediktsson [Mon, 14 Dec 2020 22:53:10 +0000 (14:53 -0800)]
easy-help: use $nl instead of \n.
John Benediktsson [Mon, 14 Dec 2020 22:02:01 +0000 (14:02 -0800)]
easy-help: experiment in new help syntax.
John Benediktsson [Mon, 14 Dec 2020 21:59:20 +0000 (13:59 -0800)]
help.markup: make headings titlecase.
John Benediktsson [Mon, 14 Dec 2020 21:31:35 +0000 (13:31 -0800)]
help.markup: $values print None if ... none.
John Benediktsson [Mon, 14 Dec 2020 21:23:17 +0000 (13:23 -0800)]
calendar.holidays: clone timestamps and make holidays mutating.
John Benediktsson [Mon, 14 Dec 2020 21:21:44 +0000 (13:21 -0800)]
sequences.extras: fix pad-center output type.
John Benediktsson [Mon, 14 Dec 2020 19:40:29 +0000 (11:40 -0800)]
.travis.yml: change help-lint to not do extra.
John Benediktsson [Mon, 14 Dec 2020 17:44:09 +0000 (09:44 -0800)]
.travis.yml: don't load extra for now, we don't have enough CPU time.
John Benediktsson [Mon, 14 Dec 2020 04:32:35 +0000 (20:32 -0800)]
.travis.yml: adding libsodium.
John Benediktsson [Mon, 14 Dec 2020 03:50:56 +0000 (19:50 -0800)]
.travis.yml: try this for parser-quiet?.
John Benediktsson [Mon, 14 Dec 2020 02:38:22 +0000 (18:38 -0800)]
.travis.yml: try this to get vocab loading output.
John Benediktsson [Mon, 14 Dec 2020 01:44:21 +0000 (17:44 -0800)]
.travis.yml: split out extra loads.
John Benediktsson [Mon, 14 Dec 2020 01:03:12 +0000 (17:03 -0800)]
.travis.yml: fix call to load-from-root.
John Benediktsson [Mon, 14 Dec 2020 00:47:14 +0000 (16:47 -0800)]
.travis.yml: split load into two since travis_wait didn't work.