Artyom Bologov

Results 539 comments of Artyom Bologov

Here's a progress and a complete-ish prototype (in comments) for loading data from FASLs: https://www.reddit.com/r/Common_Lisp/comments/12dxdic/dumping_objects_into_compiled_files/

> I'm not sure I get the macro trick... What's special about it beside binding to a global variable? So the logic is: - We _can_ store arbitrary objects in...

> @aartaka Wanna work on it? Yes, but not necessarily soon enough :)

See https://github.com/atlas-engineer/nyxt/issues/3248 and https://github.com/aartaka/nx-dark-reader as the place where the user script code is provided on initialization.

> A specialization of read-file seems to do what you want, no? That's the problem: one has to define a method just to have custom contents for the file. This...

> In the case of the Nyxt history, the entire file must be processed at once because it's a single s-exp, right? Even a single s-exp can be broken into...

> Allocating more memory :D > How do we do this? It was just a joke about adding more `--dynamic-space-size` :) > `s-serialization::deserialize-sexp` is a recursive function with no tail...

Looks interesting. You never know how much foresight you can discover in the spec ( ͡° ͜ʖ ͡°) EDIT: an -> can

> Actually `make-load-form` would only work if we `load` the file instead of merely `read`-ing it. Not sure that would fit the bill here... That's would work perfectly in conjunction...

A small demo that seems to work on simple/standard types: ``` (defvar *data* nil) (defun object->file (object file) (with-open-file (f file :direction :output :if-does-not-exist :create :if-exists :supersede) (prog1 (write `(setf...