Search
Monday, 28th of November 2022, 18:05:43 UTC
22:11:28
Shinmera
mfiano: there is not, though you can use the Definitions library as a portability layer.
5:47:45
nij-
Can I enable a readtable for a specific package?
5:48:02
nij-
I don't want to "pollute" other part of my system.
5:50:48
beach
What does it mean to "enable [it] for a specific package"?
5:51:09
beach
You can bind *READTABLE* around a function that reads a file.
5:53:30
nij-
For example, after I `(ql:quickload :rutils) (in-package :rtl-user) (named-readtables:in-readtable rutils-readtable)`,
5:53:47
nij-
even with `(in-package :cl-user)`, the reader is changed.
5:55:17
beach
I don't know how named readtables work. I just know the standard mechanism. Sorry.
6:04:31
beach
It is probably not supposed to be used interactively.
6:05:22
beach
Functions like COMPILE-FILE and LOAD bind *READTABLE*, so during compilation or loading, even if you alter the readtable, its old value is restored after compilation or loading.
Tuesday, 29th of November 2022, 6:05:43 UTC