BTW we should make sure that it is easy to load VMMaker the last time I got a problem with Genie plugin.
stef On Jul 8, 2009, at 9:43 PM, Igor Stasenko wrote: > 2009/7/8 Cameron Sanders <[email protected]>: >> 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 >> [email protected] >> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project >> > > > > -- > Best regards, > Igor Stasenko AKA sig. > > _______________________________________________ > Pharo-project mailing list > [email protected] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
