Yes, I took that out because it’s now redundant with Adafruit’s latest SAMD code. You could alternatively have updated the core.
No, I mean not paragraph highlighting, I mean this:
(print #\( ) Error: Unknown character
Does it work if you space away from the closing paren?
Looked into it a little more. This is a pre-existing bug; it arises because parenthesis and the single-quote are treated specially by the reader.
No. :) -Well, thank you for checking it! :) You see, I report things “as I see them”… :)
Updated the SAMD core, as advised - indeed, now the definition is not needed.
Thanks - logged as a bug.
It’s in the accumulation code; when gathering into a buffer, uLisp checks if the next letter is a space or a paren.
Great! Do they work on your terminal even after the line has wrapped around the end of the window?
backspace does not get “back up”, and while parentheses DO match, they somehow match on the present (lower) line, i.e. UNDER the actually matched parens. Doesn’t really matter, the “not going back on the previous line” behaviour is TYPICAL and USUAL for terminals. ;)
A way around it would be if you do not physically move the cursor “back”, but print the last erased character. E.g. writing and erasing “apple” gives you “appleelppa”. The disadvantage: it is less “usual” nowadays. The advantage: you only move FORWARD and do not have to care about cursor positioning at all.
That sounds a bit crummy; surely it’s possible to do better than that.
This is a PDP-11 running ancient Unix in your browser — you can get a feel for that kind of backspace functionality there.
I upgraded to SAMD51 version 1.5.11. This should be the latest.
I had been using 1.5.3 prior and getting errors when I’d try to upgrade. Finally said “The heck with it!” and removed everything and reinstalled.
Yes, it is possible. Just not easily with things that pretend they are machines built forty years ago to emulate equipment that at the time was more than a decade old. The text terminal is a gross accumulation of ancient cruft, which is usually papered over with software libraries like readline or curses.
Version 3.2 of uLisp is now released, so this topic is closed.