libera/commonlisp - IRC Chatlog
Search
18:10:35
jackdaniel
the reader will recognize "whitespace characters" (not necessarily the same thing you'd consider whitespace in string, it may be i.e only space and newline), but I think that there is no way to query the character category in common lisp
18:29:50
gilberth
PEEK-CHAR works too: (defun whitespacep (c) (not (peek-char t (make-string-input-stream (string c)) nil nil)))
18:35:39
phantomics
tux0r: I'm figuring it out bit by bit, lack uses http-body:parse to process incoming POSTs, and http-body uses Jonathan's alist mode by default to decode from JSON.
18:36:24
phantomics
This can get in the way if you want to use a different method for decoding JSON, so I've overloaded the http-body JSON parser to just pass the string through and made some other changes so that it passes through to my parser
18:38:26
jackdaniel
it might, but common lisp doesn't have to implement unicode. it may work on base characterset + klingon alphabet
18:39:32
jackdaniel
although for sake of not being obscure it should be either basic characters or unicode (preferably the latter for normal targets)
18:52:37
jackdaniel
somewhat perhaps controversial, but mandatimg symbol names to be base strings would make the language safer -- unicode ilcan be too goofy
19:13:36
phantomics
Base string only symbols would cause lots of trouble for the April compiler though since Unicode symbols are used in a lot of its generated code and its root spec