Prior art table, and the use of ":" for lexical syntax
Jeronimo Pellegrini 27 Jan 2025 22:52 UTC
Hello!
The prior art table doesn't list STklos. It does have these:
stklos> (gensym)
G1
stklos> (gensym "abc")
abc2
stklos> (gensym 'abc)
abc3
stklos> (string->uninterned-symbol "abc")
abc
Bot note that:
stklos> (eq? (string->uninterned-symbol "abc")
(string->uninterned-symbol "abc") )
#f
However, the ":" prefix in STklos is used for keywords by default:
stklos> (symbol? 'x)
#t
stklos> (symbol? :x)
#f
stklos> (keyword? :x)
#t
stklos> (symbol? :|x|)
#f
stklos> (symbol? '|x|)
#t
stklos> (keyword? :|x|)
Although this can be changed (a parameter controls wether the semicolon
that marks keywords should be the first char, last char of the keyword
name, or either).
Jeronimo