]> gitweb.factorcode.org Git - factor.git/log
factor.git
22 months agocpu.arm.assembler: no io.binary arm64-bootstrap2
Doug Coleman [Sat, 18 Jun 2022 00:03:25 +0000 (19:03 -0500)]
cpu.arm.assembler: no io.binary

22 months agovm: rename arm file
Doug Coleman [Fri, 17 Jun 2022 22:29:07 +0000 (17:29 -0500)]
vm: rename arm file

22 months agoarm: link to src code for prolog epilog
Doug Coleman [Sat, 27 Mar 2021 15:35:30 +0000 (10:35 -0500)]
arm: link to src code for prolog epilog

22 months agoarm: implement prolog and epilog
Doug Coleman [Sat, 27 Mar 2021 04:14:25 +0000 (23:14 -0500)]
arm: implement prolog and epilog

prolog should decrement stack ptr and save the link register in the stack frame
epilog should restore the link register, inc stack ptr and jump

22 months agoarm: notes
Doug Coleman [Sat, 27 Mar 2021 03:19:10 +0000 (22:19 -0500)]
arm: notes

22 months agoarm64: implementing sub primitives
Doug Coleman [Fri, 19 Mar 2021 14:27:35 +0000 (09:27 -0500)]
arm64: implementing sub primitives

22 months agocpu.arm.assembler: Update for opcode change
Doug Coleman [Fri, 19 Mar 2021 14:26:40 +0000 (09:26 -0500)]
cpu.arm.assembler: Update for opcode change

22 months agoarm.assembler.opcodes: Directly output to make.
Doug Coleman [Fri, 19 Mar 2021 14:26:09 +0000 (09:26 -0500)]
arm.assembler.opcodes: Directly output to make.

4 >le %

22 months agobootstrap: working on arm
Doug Coleman [Fri, 19 Mar 2021 04:03:45 +0000 (23:03 -0500)]
bootstrap: working on arm

22 months agocpu.arm.assembler: Use make for the relocation feature.
Doug Coleman [Fri, 19 Mar 2021 04:03:19 +0000 (23:03 -0500)]
cpu.arm.assembler: Use make for the relocation feature.

22 months agocpu-arm.64: flush_icache from compiler-rt
Doug Coleman [Wed, 17 Mar 2021 05:48:43 +0000 (00:48 -0500)]
cpu-arm.64: flush_icache from compiler-rt

22 months agoicache: something like this might flush the icache
Doug Coleman [Wed, 17 Mar 2021 05:22:55 +0000 (00:22 -0500)]
icache: something like this might flush the icache

22 months agoarm: 128 byte red zone
Doug Coleman [Wed, 17 Mar 2021 03:54:09 +0000 (22:54 -0500)]
arm: 128 byte red zone

22 months agocpu.arm.assembler: More words to encode, bounds checking
Doug Coleman [Wed, 17 Mar 2021 00:59:03 +0000 (19:59 -0500)]
cpu.arm.assembler: More words to encode, bounds checking

22 months agoarm: work
Doug Coleman [Tue, 16 Mar 2021 00:59:51 +0000 (19:59 -0500)]
arm: work

22 months agocpu.arm.assembler: Add some more instructions
Doug Coleman [Tue, 16 Mar 2021 00:43:55 +0000 (19:43 -0500)]
cpu.arm.assembler: Add some more instructions

22 months agoarm64: ADR ADRP fix encoding
Doug Coleman [Sun, 14 Mar 2021 02:38:44 +0000 (20:38 -0600)]
arm64: ADR ADRP fix encoding

22 months agoarm64: just jump to begin_callback...please
Doug Coleman [Sun, 14 Mar 2021 02:00:23 +0000 (20:00 -0600)]
arm64: just jump to begin_callback...please

22 months agoarm64: ADR encoding
Doug Coleman [Fri, 17 Jun 2022 22:17:27 +0000 (17:17 -0500)]
arm64: ADR encoding

22 months agoarm: try to call begin_callback from asm
Doug Coleman [Mon, 10 Jan 2022 02:42:46 +0000 (20:42 -0600)]
arm: try to call begin_callback from asm

22 months agoasdf2
Doug Coleman [Thu, 18 Feb 2021 20:58:15 +0000 (14:58 -0600)]
asdf2

22 months agoasdf
Doug Coleman [Thu, 18 Feb 2021 20:56:01 +0000 (14:56 -0600)]
asdf

22 months agoasdf
Doug Coleman [Thu, 18 Feb 2021 20:55:10 +0000 (14:55 -0600)]
asdf

22 months agoarm64: fix
Doug Coleman [Thu, 18 Feb 2021 20:54:23 +0000 (14:54 -0600)]
arm64: fix

22 months agoarm64: moving things around
Doug Coleman [Thu, 18 Feb 2021 20:51:06 +0000 (14:51 -0600)]
arm64: moving things around

22 months agoarm64: more subprimitives
Doug Coleman [Thu, 18 Feb 2021 18:52:25 +0000 (12:52 -0600)]
arm64: more subprimitives

22 months agouse tilde paths in more places.
John Benediktsson [Fri, 17 Jun 2022 17:32:15 +0000 (10:32 -0700)]
use tilde paths in more places.

22 months agogeneralizations: macro implementation of nrotates / -nrotates
Doug Coleman [Fri, 17 Jun 2022 06:53:18 +0000 (01:53 -0500)]
generalizations: macro implementation of nrotates / -nrotates

22 months agosequences.extras: fix builds, stack checker doesn't like a word impl
Doug Coleman [Fri, 17 Jun 2022 06:46:39 +0000 (01:46 -0500)]
sequences.extras: fix builds, stack checker doesn't like a word impl

nrotates might need another definition?

22 months agoeditors.visual-studio-codium: rename from editors.codium
Doug Coleman [Fri, 17 Jun 2022 06:19:02 +0000 (01:19 -0500)]
editors.visual-studio-codium: rename from editors.codium

22 months agocombinators.extras: Add some weird combinators that might be useful.
Doug Coleman [Tue, 14 Jun 2022 04:04:19 +0000 (23:04 -0500)]
combinators.extras: Add some weird combinators that might be useful.

22 months agogeneralizations: Add nrotates and -nrotates.
Doug Coleman [Tue, 14 Jun 2022 03:57:00 +0000 (22:57 -0500)]
generalizations: Add nrotates and -nrotates.

3 d nrotates -> d nrot d nrot d nrot

22 months agobare: lookup-user-type and insert-user-type
John Benediktsson [Thu, 16 Jun 2022 22:03:59 +0000 (15:03 -0700)]
bare: lookup-user-type and insert-user-type

22 months agobare: better errors for empty enums/unions/structs
John Benediktsson [Thu, 16 Jun 2022 18:04:47 +0000 (11:04 -0700)]
bare: better errors for empty enums/unions/structs

22 months agobare: change how user-types are handled
John Benediktsson [Thu, 16 Jun 2022 17:47:16 +0000 (10:47 -0700)]
bare: change how user-types are handled

22 months agobare: more error checking
John Benediktsson [Thu, 16 Jun 2022 17:31:51 +0000 (10:31 -0700)]
bare: more error checking

22 months agobare: more error checking
John Benediktsson [Thu, 16 Jun 2022 17:23:55 +0000 (10:23 -0700)]
bare: more error checking

22 months agobare: adding duplicate field check for structs
John Benediktsson [Thu, 16 Jun 2022 17:07:45 +0000 (10:07 -0700)]
bare: adding duplicate field check for structs

22 months agobare: check duplicates for unions too
John Benediktsson [Thu, 16 Jun 2022 16:45:10 +0000 (09:45 -0700)]
bare: check duplicates for unions too

22 months agobare: adding checks for valid union values.
John Benediktsson [Thu, 16 Jun 2022 16:42:22 +0000 (09:42 -0700)]
bare: adding checks for valid union values.

22 months agobare: check enum values when reading and writing.
John Benediktsson [Thu, 16 Jun 2022 16:40:12 +0000 (09:40 -0700)]
bare: check enum values when reading and writing.

22 months agoassocs: adding ?value-at.
John Benediktsson [Thu, 16 Jun 2022 16:40:02 +0000 (09:40 -0700)]
assocs: adding ?value-at.

22 months agobare: check duplicate keys too.
John Benediktsson [Thu, 16 Jun 2022 16:29:54 +0000 (09:29 -0700)]
bare: check duplicate keys too.

22 months agobare: check enums for duplicate values.
John Benediktsson [Thu, 16 Jun 2022 16:21:13 +0000 (09:21 -0700)]
bare: check enums for duplicate values.

22 months agoeditors.codium: Add codium support
Doug Coleman [Thu, 16 Jun 2022 12:38:22 +0000 (07:38 -0500)]
editors.codium: Add codium support

22 months agobare: more liberal union schema parsing.
John Benediktsson [Thu, 16 Jun 2022 00:27:08 +0000 (17:27 -0700)]
bare: more liberal union schema parsing.

22 months agobare: fix SCHEMA:, add some tests.
John Benediktsson [Wed, 15 Jun 2022 21:00:50 +0000 (14:00 -0700)]
bare: fix SCHEMA:, add some tests.

22 months agobare: adding a load-schema word
John Benediktsson [Wed, 15 Jun 2022 20:49:59 +0000 (13:49 -0700)]
bare: adding a load-schema word

22 months agobare: adding docs
John Benediktsson [Wed, 15 Jun 2022 20:11:15 +0000 (13:11 -0700)]
bare: adding docs

22 months agobare: adding more tests
John Benediktsson [Wed, 15 Jun 2022 19:04:53 +0000 (12:04 -0700)]
bare: adding more tests

22 months agobare: fix usings on tests
John Benediktsson [Wed, 15 Jun 2022 18:49:52 +0000 (11:49 -0700)]
bare: fix usings on tests

22 months agobare: adding support for user types and structs
John Benediktsson [Wed, 15 Jun 2022 18:21:30 +0000 (11:21 -0700)]
bare: adding support for user types and structs

22 months agobare: addinng support for maps
John Benediktsson [Wed, 15 Jun 2022 18:16:27 +0000 (11:16 -0700)]
bare: addinng support for maps

22 months agoshuffle.extras: fix 3keep-{1,2,3}up tests
John Benediktsson [Wed, 15 Jun 2022 17:54:03 +0000 (10:54 -0700)]
shuffle.extras: fix 3keep-{1,2,3}up tests

22 months agobare: initial support for Binary Application Record Encoding (BARE)
John Benediktsson [Wed, 15 Jun 2022 17:51:56 +0000 (10:51 -0700)]
bare: initial support for Binary Application Record Encoding (BARE)

22 months agomath.text.english: fix spelling of some numbers
Alexander Ilin [Wed, 15 Jun 2022 13:30:08 +0000 (15:30 +0200)]
math.text.english: fix spelling of some numbers

Replace some prefixes sex-, tre- and sept- with ses-, tres- and septem-
correspondingly.

It's also possible to replace "sexdecillion" with "sedecillion" and
"novemdecillion" with "novendecillion", but I decided to keep the old
words, since they are in the dictionaries.

See https://en.wikipedia.org/wiki/Names_of_large_numbers.

22 months agomath.text.english: expand the supported number range
Alexander Ilin [Wed, 15 Jun 2022 12:55:52 +0000 (14:55 +0200)]
math.text.english: expand the supported number range

22 months agogravatar: implement the "email hash" to calculate the gravatar id.
John Benediktsson [Tue, 14 Jun 2022 20:27:27 +0000 (13:27 -0700)]
gravatar: implement the "email hash" to calculate the gravatar id.

https://en.gravatar.com/site/implement/hash/

22 months agouuid: adding version 6, 7, 8.
John Benediktsson [Mon, 13 Jun 2022 20:25:06 +0000 (13:25 -0700)]
uuid: adding version 6, 7, 8.

22 months agoextra: fix test errors
Doug Coleman [Sun, 12 Jun 2022 21:10:08 +0000 (16:10 -0500)]
extra: fix test errors

22 months agoshuffle.extras: Add words to keep args and move the result above the kept args.
Doug Coleman [Fri, 10 Jun 2022 16:05:12 +0000 (11:05 -0500)]
shuffle.extras: Add words to keep args and move the result above the kept args.

22 months agocombinators.extras: add 4tri*, 4quad, 4tri@
Doug Coleman [Fri, 10 Jun 2022 01:07:01 +0000 (20:07 -0500)]
combinators.extras: add 4tri*, 4quad, 4tri@

22 months agomodern: simplify string parser
Doug Coleman [Thu, 9 Jun 2022 03:35:41 +0000 (22:35 -0500)]
modern: simplify string parser

22 months agomodern.html: remove all the stack shuffling with dip-1up etc
Doug Coleman [Thu, 9 Jun 2022 02:10:20 +0000 (21:10 -0500)]
modern.html: remove all the stack shuffling with dip-1up etc

22 months agoshuffle.extras: rename dip1 to dip-1up etc
Doug Coleman [Thu, 9 Jun 2022 02:10:08 +0000 (21:10 -0500)]
shuffle.extras: rename dip1 to dip-1up etc

22 months agomodern.html: fix using
Doug Coleman [Tue, 7 Jun 2022 16:25:23 +0000 (11:25 -0500)]
modern.html: fix using

22 months agofactorcode: remove rackspace.jpg
Doug Coleman [Tue, 7 Jun 2022 04:04:08 +0000 (23:04 -0500)]
factorcode: remove rackspace.jpg

22 months agohtml.templates.chloe.syntax: Rename tags to chloe-tags.
Doug Coleman [Tue, 7 Jun 2022 02:05:58 +0000 (21:05 -0500)]
html.templates.chloe.syntax: Rename tags to chloe-tags.

tags word is generic and all the other words that deal with
chloe tags have chloe in the name.

22 months agomodern.html: allow parsing <% %> for .fhtml files
Doug Coleman [Mon, 6 Jun 2022 03:17:24 +0000 (22:17 -0500)]
modern.html: allow parsing <% %> for .fhtml files

22 months agosystem-info.macosx: adding macOS Ventura.
John Benediktsson [Mon, 6 Jun 2022 19:08:22 +0000 (12:08 -0700)]
system-info.macosx: adding macOS Ventura.

22 months agomisc/vim: update for recent syntax additions.
John Benediktsson [Mon, 6 Jun 2022 00:48:28 +0000 (17:48 -0700)]
misc/vim: update for recent syntax additions.

22 months agoshuffle.extras: Exploring some dip combinators that bring the result to the top of...
Doug Coleman [Sat, 4 Jun 2022 18:10:18 +0000 (13:10 -0500)]
shuffle.extras: Exploring some dip combinators that bring the result to the top of the stack.

22 months agomodern: allow DOCTYPE and doctype etc. Add another find-links
Doug Coleman [Sat, 4 Jun 2022 18:09:36 +0000 (13:09 -0500)]
modern: allow DOCTYPE and doctype etc. Add another find-links

22 months agomodern: treat tab as whitespace and add test case.
Doug Coleman [Fri, 3 Jun 2022 03:33:08 +0000 (22:33 -0500)]
modern: treat tab as whitespace and add test case.

22 months agomodern.html: Add walk-html helper function
Doug Coleman [Fri, 3 Jun 2022 03:33:26 +0000 (22:33 -0500)]
modern.html: Add walk-html helper function

Example:
USE: modern.html
"https://en.wikipedia.org/w/index.php?title=Factor_(programming_language)&offset=&limit=500&action=history" http-get
nip string>html
[
  [
    dup tag? [ props>> [ drop  >lower "href" = ] assoc-find [ nip , ] [ 2drop ] if ] [ drop ] if
  ] walk-html
] { } make [ payload>> ] map

22 months agomodern.html: Fix a bug in parsing factor's wikipedia history
Doug Coleman [Fri, 3 Jun 2022 02:35:02 +0000 (21:35 -0500)]
modern.html: Fix a bug in parsing factor's wikipedia history

22 months agoio.styles: Add blink style.
Doug Coleman [Sat, 28 May 2022 20:29:13 +0000 (15:29 -0500)]
io.styles: Add blink style.

Try in terminal:

rlwrap ./factor

USING: system io.styles colors literals threads calendar colors.flex-hex hashtables io.streams.ansi random ; [
  "hello"
   named-colors random parse-color foreground associate
   named-colors random parse-color background pick set-at
   { underline blink bold-italic } font-style pick set-at format
] with-ansi

22 months agometar: adding relative humidity calculation.
John Benediktsson [Fri, 27 May 2022 23:01:44 +0000 (16:01 -0700)]
metar: adding relative humidity calculation.

22 months agobase32hex: adding Base32 with Extended Hex Alphabet.
John Benediktsson [Fri, 27 May 2022 20:49:14 +0000 (13:49 -0700)]
base32hex: adding Base32 with Extended Hex Alphabet.

23 months agostrings.tables: adding box formatting
John Benediktsson [Thu, 26 May 2022 21:06:28 +0000 (14:06 -0700)]
strings.tables: adding box formatting

23 months agounicode: Update Unicode version from 13.0 to 14.0
Doug Coleman [Wed, 25 May 2022 03:43:08 +0000 (22:43 -0500)]
unicode: Update Unicode version from 13.0 to 14.0

23 months agowebapps.pastebin: update css
John Benediktsson [Thu, 19 May 2022 04:17:52 +0000 (21:17 -0700)]
webapps.pastebin: update css

23 months agowebapps.pastebin: better dark mode
John Benediktsson [Thu, 19 May 2022 04:10:45 +0000 (21:10 -0700)]
webapps.pastebin: better dark mode

23 months agowebsites: better dark mode headings
John Benediktsson [Thu, 19 May 2022 04:08:42 +0000 (21:08 -0700)]
websites: better dark mode headings

23 months agowebsites: better darkmode for headings
John Benediktsson [Thu, 19 May 2022 04:07:39 +0000 (21:07 -0700)]
websites: better darkmode for headings

23 months agohelp.html: simplify dark mode code
John Benediktsson [Thu, 19 May 2022 04:03:10 +0000 (21:03 -0700)]
help.html: simplify dark mode code

23 months agocolors: fix parse-colors
John Benediktsson [Wed, 18 May 2022 04:04:12 +0000 (21:04 -0700)]
colors: fix parse-colors

23 months agoui.theme.base16: fix parse-colors
John Benediktsson [Wed, 18 May 2022 03:41:21 +0000 (20:41 -0700)]
ui.theme.base16: fix parse-colors

23 months agohelp.html: fix using
John Benediktsson [Wed, 18 May 2022 03:28:21 +0000 (20:28 -0700)]
help.html: fix using

23 months agohelp.html: lowercase colors
John Benediktsson [Wed, 18 May 2022 03:21:19 +0000 (20:21 -0700)]
help.html: lowercase colors

23 months agohelp.html: dark mode
John Benediktsson [Wed, 18 May 2022 03:09:57 +0000 (20:09 -0700)]
help.html: dark mode

23 months agocolors: fix shadowing of parse-color
John Benediktsson [Wed, 18 May 2022 03:07:30 +0000 (20:07 -0700)]
colors: fix shadowing of parse-color

23 months agowebapps.wiki: fix pre dark mode
John Benediktsson [Tue, 17 May 2022 18:37:12 +0000 (11:37 -0700)]
webapps.wiki: fix pre dark mode

23 months agowebapps.planet: dark mode
John Benediktsson [Tue, 17 May 2022 17:56:52 +0000 (10:56 -0700)]
webapps.planet: dark mode

23 months agowebapps.wiki: dark mode
John Benediktsson [Tue, 17 May 2022 17:50:06 +0000 (10:50 -0700)]
webapps.wiki: dark mode

23 months agowebsites.factorcode: dark mode
John Benediktsson [Tue, 17 May 2022 17:39:33 +0000 (10:39 -0700)]
websites.factorcode: dark mode

23 months agowebapps.wiki: fix positioning of nav.
John Benediktsson [Wed, 11 May 2022 01:00:13 +0000 (18:00 -0700)]
webapps.wiki: fix positioning of nav.

23 months agowebapps.wiki: smaller hamburger menu.
John Benediktsson [Tue, 10 May 2022 23:51:05 +0000 (16:51 -0700)]
webapps.wiki: smaller hamburger menu.

23 months agolists.circular: new vocab
Alexander Ilin [Tue, 10 May 2022 07:54:37 +0000 (09:54 +0200)]
lists.circular: new vocab

Closes #2607.

23 months agozealot.factor: Use `arch -x86_64` on mac
Doug Coleman [Fri, 29 Apr 2022 00:51:34 +0000 (19:51 -0500)]
zealot.factor: Use `arch -x86_64` on mac