Skip to content

Added a keyword test to make-ptree (for string ptree IDs).#52

Closed
c-kloukinas wants to merge 21 commits into
lmj:masterfrom
c-kloukinas:add-test-key
Closed

Added a keyword test to make-ptree (for string ptree IDs).#52
c-kloukinas wants to merge 21 commits into
lmj:masterfrom
c-kloukinas:add-test-key

Conversation

@c-kloukinas
Copy link
Copy Markdown

Now it's possible to create ptrees that test compare their identities with any of eq/eql/equal/equalp (that the underlying nodes hash map slot accepts), so we can identify them with strings (or so we can use eq with symbols).
Default test is still eql, as it was originally.

Run locally all tests on sbcl/abcl/ccl/ecl - all passed.

Side note: ecl produces a number of warnings, mainly about lists being used instead of vectors, like:

;;; Style warning:
;;;   in file cognate-test.lisp, position 46050
;;;   at (FULL-TEST FUNCTION-DESIGNATORS-TEST ...)
;;;   ! The argument 1 of function FILL-POINTER-SET has type
;;; LIST
;;; instead of expected
;;; VECTOR
;;; Finished compiling /home/christos/src/lparallel-chris/test/cognate-test.lisp

And some other warnings:

;;; Warning:
;;;   in file defpun-test.lisp, position 1685
;;;   at (DEFINE-PLET-TEST DEFPUN-BASIC-TEST ...)
;;;   ! Unsupported CONS type LPARALLEL.KERNEL::TASK. Replacing it with T.
;;; Warning:
;;;   in file defpun-test.lisp, position 1685
;;;   at (DEFINE-PLET-TEST DEFPUN-BASIC-TEST ...)
;;;   ! Unsupported CONS type LPARALLEL.KERNEL::TASK. Replacing it with T.
;;; Finished compiling /home/christos/src/lparallel-chris/test/defpun-test.lisp.

c-kloukinas and others added 21 commits April 20, 2026 16:37
Probably a good idea in general but specifically necessary for not
bogging down Emacs.
It was defined only for non-SMP Allegro, which is obsolete by now.
The stealing scheduler is the only interesting option.
KILL-TASKS and CANCEL-TIMEOUT need to work.
Wrap code that wasn't already wrapped in markdown code blocks

- Also add level 2 headings to the top of every page.
- Variables in the prose that were surrounded by asterisks were escaped in
  single backticks.

Reorganize markdown for mdbook

Add github action for mdbook

Put gh-pages.yml in right directory

Upgrade to from peaceiris/actions-gh-pages@v3 to @v4

Upgrade Ubuntu to 22.04

Try to move into the directory the mdbook files are located in

Credit lmj as the author

Use the mdbook-try branch while experimenting

Add pages under API section

Link to sharplispers/lparallel instead of lmj/lparallel

Trigger updates on pushes to master instead of mdbook-try

Add ECL to the list of supported implementations

Update README as well

In books.toml, use full name in authors list

Use https instead of http for link to docs site
@c-kloukinas
Copy link
Copy Markdown
Author

Looks like the system is currently maintained elsewhere - moved the PR there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants