freenode/#lisp - IRC Chatlog
Search
19:05:12
whartung
so, for server programs, is it pretty common to have a high level handler-case on condition to catch any rogue conditions that wraps a handler-bind on condition to dump a stack trace?
19:46:11
no-defun-allowed
"Write your own domain specific language to parse XML, draw charts, rate stocks or balance weasels on a rake."
19:47:42
no-defun-allowed
I'll tell you what's not cooler: when the book doesn't actually have an XML parser or weasel balancer
19:50:39
Shinmera
S-expressions existed well before the 90s and are not structurally equivalent to the absolute mess that is XML
19:52:02
makomo
no-defun-allowed was talking of the reverse, no? -- that xml is just a shitty "90s variant" of sexps
19:54:01
makomo
no-defun-allowed: maybe you can look into Ethereum. last time i checked Barski was involved in Clojure and Ethereum
19:55:19
Bike
sml is based on sgml, which was apparently based on something called gml, which is for some intel word processor ish thingamajig from 1969. learning things today...
19:58:25
no-defun-allowed
That sounds quite complicated for the task but I guess that's how people do programs now
19:59:51
makomo
i suppose most of you have already seen this, but it discusses xml and sexps http://www.defmacro.org/ramblings/lisp.html
20:00:15
makomo
oh and also, naggum's xml rant :^) https://www.schnada.de/grapt/eriknaggum-xmlrant.html
20:02:14
makomo
i found that rant pretty tough to read. i had to concentrate quite a bit more than when reading something else
22:10:29
Xach
rename-package provides an escape hatch for dealing with potential package-name conflicts between independently created projects.
22:11:47
Xach
If you had asked "does anyone do this?" I suspect the answer is "Very few". But I do feel some comfort in there being an option.
0:11:30
AeroNotix
I just had a whacky idea of layering a description similar to what PAT uses, to both create the model and the executable CSP code
4:09:01
asarch
If I already have installed some packages with QuickLisp and SBCL, is it ok to load other packages with CLISP? I mean, both actually save the package information in $HOME/.cache/common-lisp
4:39:40
MichaelRaskin
Xach: jcowan: I think there was a talk on ELS about automating use of rename-package — it was described as a mostly sufficient escape hatch in practice.
6:35:49
mange
I'm also not sure I understand the question, but ',(wrap-1 'macro-arg) would be closer.
6:39:04
beach
mange: Your second one gives a "comma not inside backquote". If I replace the ' by `, then the result is not the same.
6:44:52
mange
I'm not sure it will be possible. You need to pass a value into #'wrap-1 that will unquote itself in the expansion. Can you change wrap-1?
6:46:50
mange
Or, alternatively, can you rely on wrap-1 to always do a simple wrapping like it currently does?
6:49:07
beach
These are condensed examples of something much more complex, so in reality wrap-1 does much more and I want to reuse it if possible.
6:50:46
MichaelRaskin
If wrap-1 is given as a function, it is undistinguishable from (defun wrap-1 (form) (list 'bar form)))
6:54:32
no-defun-allowed
i want to write an async client for cl-decentralise which will register listener functions on cl-d channels whenever a certain message is received