Re: load a fasl file from memory
> It seems like it is, here's what they say about LOAD in the CLHS: > If filespec is a stream, load determines what kind of stream it is > and loads directly from the stream. Thanks! > So I guess that you can create a stream to a vector containing your > fasl bytes, and load from that. > I am not sure however if it is possible to compile to memory and > / or if it makes sense, but I'd be curious to know. Here I did a small test: http://paste.lisp.org/display/128108 I can load source file for (foo) from a vector of bytes with load, but no luck with a vector of bytes which contains ofasl code foo (foo); I think it tries to load ofasl as text source. Best, Art