On Fri, May 4, 2018 at 1:31 PM, Edgar J. De Cleene edgardec2005@gmail.com wrote:
You are inspiration for many things. If you could giving us some help, this steps could be made.
Compiling yours to C and from this to wasm using Emscripten chain Try to figure out how directly "map" Squeak to wasm (I reach Milestone 2 a bugged "compiler" which could output .wasm same as wabt tool from Squeak ).
In particular I wish to know
- The MicroSqueak reads compiler.sto and save itself. Now, this image can further read more code and compile them.
This is a question, right? The answer is, "in theory, yes".
So the attached should be able to read some...
Regrettably, I cannot remember much, and it seems that the uploaded file There is a class called MSystem in there, and the #start method is called there. So if that method is modified to load more files from command line, it can open more files and process them as file chunks (the processChunk: method may or may not be there). Then yet another MSystem class>start would open a terminal or window and start an interactive session.
Once we did something along the line to load Gezira and render graphics on top of this MicroSqueak... But I cannot remember the details of it.
On 04/05/2018, 10:12, "Yoshiki Ohshima" Yoshiki.Ohshima@acm.org wrote:
Ah ha. Thanks for mentioning it. Having a 60k (or such) byte array in
C counts
as source, but one could imagine that writing that structure
in some kind of
readable format.
It was a big deal for some open source community people that
their
packages needs to be readable to qualify as their definition of
open.
But nowadays there are other kinds of VM technology getting
accepted,
and it feels like it is slightly less of a problem...
--
Yoshiki