2009/7/8 Cameron Sanders <camsanders01@roadrunner.com>:
1) What classes should I look at to learn about the byte-code generation?
I think you'd better look at NewCompiler. Don't look at compiler implementation in its current state :)
2) What are good examples of code that handles/manipulates/processes the byte-code? e.g. like the code used for searching for symbol references in the byte-code, what is that called? (Is that MethodFinder stuff?)
There is InstructionStream, and of course see CompiledMethod itself.
    2.b) And what is the name (& path) of the C module that actually implements the VM case statement (or whatever dispatch is used)?
VMMaker is _smalltalk_ package which implements such dispatch, and then translated to C & compiled to get a VM binary. Look for VMMaker package at squeaksource.com
3. Once upon a time there was some code that processed Slang ... but I have no idea whether that code is in Pharo, or completely antiquated in all versions. (And if gone from Pharo, what should I look for and in which version of Squeak?)
A list of a few classes (in current use) would be greatly appreciated.
VMMaker: Interpreter, ObjectMemory Image: Compiler/Parser (but better look a NewCompiler) InstructionStream, ContextPart, CompiledMethod
Thanks in advance, Cam PS: reading through list archives can be painful, as they often either build on known information, or if you back up too far, the material - you later learn- is completely antiquated.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Best regards, Igor Stasenko AKA sig.