freenode/#lisp - IRC Chatlog
Search
22:19:16
aeth
Essentially, you can just preprocess it for an existing Markdown->HTML generator and invert the comments in that preprocessed step. So "|# ... #|" would become "`...`" if it's "inline" and if it's multiline it becomes "```common-lisp\n...\n```"
22:20:50
aeth
You could probably do this with regular expressions if you're careful about the edge cases (like the first comment where there's either a "#|" that needs to be removed if it starts with a comment or a "... #|" that needs to be turned into lisp followed by markdown without having a first |#)
23:37:09
saturn2
where can i find examples of some of the CLtL2 features (macroexpand-all, compiler-let, variable-information, parse-macro, enclose, etc.) being used?
23:54:03
saturn2
yes i can come up with some ideas myself, but surely people smarter than me have thought about this before
23:54:57
Bike
https://github.com/guicho271828/inlined-generic-function is the only library i can think of using them
0:58:22
vms14
I ended using a lot this one (defun make-text-buffer () (make-array 0 :adjustable t :fill-pointer t :element-type 'character)) and the html functions I've made with a bad implementation that return html code
1:42:25
White_Flame
recurses through all CARs of nested lists, as well as the last element of an improper list
1:46:37
Colleen
Unknown command. Possible matches: 8, help, set, say, mop, get, time, tell, roll, deny,
1:48:19
vms14
https://stackoverflow.com/questions/43989257/how-to-export-all-definition-symbols-in-a-file-in-common-lisp
3:23:51
oni-on-ion
https://quickref.common-lisp.net/alexandria.html#go-to-the-ALEXANDRIA_003cdot_003e1_003cdot_003e0_003cdot_003e0_003ccolon_003e_003ccolon_003eNCONCF-macro
4:11:01
equwal
""The GENERIC-CL-USER package is also provided, which contains all the symbols in the CL-USER package" -- don't do that.
4:11:32
equwal
"This package is intended to be used only at the REPL" -- now I really don't see the utility.
4:12:21
oni-on-ion
hmm i don't see the purpose of these comments. it just sounds like its not for you
4:13:43
equwal
I was hoping for something like "it is useful for this use case where..." or similar. But it seems like it is for...no one?
4:14:31
oni-on-ion
rather than to suggest it for this purpose or that developer, i think its cool to have available. i personally happend upon it by someone looking for Lazy Sequences.
4:15:20
oni-on-ion
saturn2, huh; funny -- thats exactly what the first paragraph of that URL describes it as. perhaps we are too accustomed to scrolling and scrolling and scrolling our social feeds =)
4:16:54
saturn2
equwal: the relationship between GENERIC-CL and GENERIC-CL-USER is the same as between COMMON-LISP and CL-USER
5:38:04
beach
p_l: Yes, thanks. Monday mornings are always chaotic around here. This one a bit more than usual. But it is all planned and under control. You?
5:40:52
p_l
patrixl: I don't believe it will happen to me before retirement, and I expect retirement to come maybe ~20 years after I'm dead
6:20:09
aeth
From HN 2 weeks ago... "Is Death Reversible?" https://news.ycombinator.com/item?id=21409744
6:20:21
aeth
That means that in the future, your employer will revive you from death so you can keep working!
7:01:50
p_l
patrixl: *after* my death. what isn't clear is whether I'd be still working, certainly I won't get to enjoy retirement
7:26:11
flip214
p_l: obviously you need to enjoy working, then it doesn't matter whether you retire or not
7:28:01
flip214
well, in 18 years you'll be one of the long-sought experts for the 2038 unix date migration, perhaps that's sufficient to let you retire
7:32:37
White_Flame
or dig into the hashtable internals of your implementation, and you'll likely find arrays to index into randomly