1) I cloned the clog repo on a Windows 11 where clog-window.lisp has CRLF line ends typical on windows.
2) Using SBCL 2.2.6 under emacs slime I did a (ql:quickload :clog)
3) I have attached a copy of my REPL from emacs.
My analysis:
1) SBCL does not create an error exception when a tilde within a format string is just before the end-of-line with LF (unix) line end but does when the file has CRLF (windows) line ends.
2) A format string with a tilde just before the end of line does not make any sense and add nothing when used in Lisp format strings.
The method request-animation-frame ((obj clog-window))) is where this errant tilde was found. It is a simple method that creates a javascript function where the obj is inserted into the text by lisp call.
What I did:
1) I cloned the clog repo on a Windows 11 where clog-window.lisp has CRLF line ends typical on windows. 2) Using SBCL 2.2.6 under emacs slime I did a (ql:quickload :clog) 3) I have attached a copy of my REPL from emacs.
My analysis: 1) SBCL does not create an error exception when a tilde within a format string is just before the end-of-line with LF (unix) line end but does when the file has CRLF (windows) line ends. 2) A format string with a tilde just before the end of line does not make any sense and add nothing when used in Lisp format strings.
The method request-animation-frame ((obj clog-window))) is where this errant tilde was found. It is a simple method that creates a javascript function where the obj is inserted into the text by lisp call.
I will soon upload a PR that is my fix.
repl.txt