libera/#commonlisp - IRC Chatlog
Search
1:18:38
Bike
yeah, which is just a boolean. then the quantize-block macro decides what to expand into based on that variable.
1:26:13
phantomics
Pretty simple, I was envisioning a big table of values for each operation. Though with my loop-fusion system such a technique may only matter for single-stage transformations of big arrays
1:46:03
lagash
I'm looking into coding some sort of parsing / generating library for LDraw (standard file format for LEGO designs) and I'm not entirely sure where to start. I've done stuff with PEGs and other parsing grammars before, but in other languages. What would be something I should look into for bidirectional LDraw<->Sexp?
1:53:31
phantomics
lagash: You could take a look at https://github.com/eugeneia/maxpc for building parsers, be advised it's AGPL-licensed though
1:59:19
lagash
I'm not too enthused about it not implementing packrat parsing as well as being AGPL'd
2:05:53
phantomics
As far as writing back to LDraw it looks like any option would involve significant work, I see the format is unique and not based on XML or anything like that
2:07:07
phantomics
I see there's https://github.com/JoshTheDerf/LDRParser that can convert LSD -to- JSON, but converting from JSON to LDR is still a todo, if it was implemented you could generate JSON from CL to give to it
2:12:13
lagash
And I was meaning more, that the parser and the writer were integrated together, versus having two libraries, one for parsing, the other writing / generating
2:47:50
phantomics
That would be a good design choice for your library, making it integrated like that, but I don't know of any tool that makes that particularly easy, I expect you'd need to built it from scratch with a bunch of (format) calls
7:16:24
contrapunctus
Who here was working on reproducing the spec in a modern format from some permissively-licensed source?
7:25:15
beach
contrapunctus: scymtym worked on a parser for the dpANS TeX source, and he is able to produce nice HTML and also a format for a CLIM-based browswer.
8:20:41
jmes
I have an unorthodox directory where I need CFFI to look for .so files, how do I tell CL to look there?
8:44:42
jmes
I found out cffi:load-foreign-library has a :search-path keyword for this. But it's called from elsewhere, so never mind me.
11:55:41
contrapunctus
I'm trying to install cl-inotify, and I get this condition - https://paste.rs/Jkh I've tried installing libinotifytools0-dev, and restarting the Lisp process.