Slate do use bytecode
Paul Dufresne
dufrp at hotmail.com
Sat Oct 16 08:20:39 PDT 2004
Pupeno asked a 'stupid question' on IRC.
I like stupid question, because not only am I
able to understand the answer, but actually I am
able to give the answer.
The question he asked: 'Does Slate have some kind
of Slate bytecodes?'.
The answer is yes.
The file src/mobius/vm/base/vm.slate
list them at the beginning, and the interpret
method at the end, is the one in charge of
'executing' them.
What is not clear to me, is the role of
src/mobius/vm/interp directory, more
precisely the compiler.slate file in it.
Note that there is a bytecode.slate
file describing the bytecodes too there.
I guess, this is a compiler from compiled
Slate methode, to bytecode. Probably used
to build an initial Slate image.
Am I right?
--Paul
More information about the Slate
mailing list