Skip to content

Conversation

@onbreath
Copy link
Member

@onbreath onbreath commented Nov 27, 2025

Depends on this as local root branch.

This can be used to test the old read+eval implementation for notes against the read-kinds implementation.
scicloj.clay.v2.notebook/spec-notes contains calls to exemplify scicloj.clay.v2.util.diff/notes, which takes a number of options to print diffs to the REPL and/or files.

For now even notebooks.demo has considerable differences due to whitespace handling.

@onbreath onbreath changed the base branch from main to integrate-read-kinds November 27, 2025 04:36
@onbreath
Copy link
Member Author

Oh and you can just use clay as usual to diff.

In Emacs I can colorize the diff files with (ansi-color-apply-on-region (point-min) (point-max)) or

; Source - https://stackoverflow.com/questions/23378271/how-do-i-display-ansi-color-codes-in-emacs-for-any-mode
; Posted by juanleon, modified by community. See post 'Timeline' for change history
; Retrieved 2025-11-27, License - CC BY-SA 3.0

(require 'ansi-color)
(defun display-ansi-colors ()
  (interactive)
  (ansi-color-apply-on-region (point-min) (point-max)))

@onbreath
Copy link
Member Author

Depends on this as local root branch

@onbreath onbreath changed the title Diff old read+eval and read-kinds read+eval Diff old notes and read-kinds notes Nov 28, 2025
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.

2 participants