On Dec 9, 2013, at 10:45 PM, phil@highoctane.be wrote:
Now, moving forward, what would be required to have an interpreter embedded in C, even if this means having another image with a special API and the whole enchilada?
At least a working prototype.
I have looked at the "Porting the VM" document and the part about headless (which is now done differently).
What comes to my mind is to define a specific neutral C platform that would be able to execute basic bytecode.
From videos of Ben, I saw SystemTracer (or SystemTracer2) recreating a very tiny image making some noise to prove it was working.
Could it be possible to target this kind of tiny image running inside a C program through a base interpreter? This would avoid having to deal with the whole primitives and plugins at the beginning.
Guille continued and we are working to use his bootstrap as a basis for 4.0. Now you will need the key primitives such as become: at: at:put: and other. Stef