[Vm-beginners] Learning Slang

Chris Cunnington smalltalktelevision at gmail.com
Thu Feb 2 21:10:54 UTC 2012


http://www.adrian-lienhard.ch/blog?article=building-a-pharo-squeak-vm-from-first-principles
http://lists.squeakfoundation.org/pipermail/vm-dev/2011-November/009647.html
http://16r.ca/JourneyInTheVM.key.pdf


I'm not sure learning Slang means much without the greater context. The spine is the build
process and the Slang is just at one end of it. 

Above are two build processes from Adrian Lienhard 
and DTL. They both use unix platform sources. They use an image EXTERNAL cmake configure script
to generate the cmake folders in the build directory. 

Contrast that with Igor and Esteban (the pdf above), who have image INTERNAL cmake generation classes such as CMakeVMMaker. 
Those classes fill the build directory with things. 

DTL uses the VMMaker tool, while Igor does not. He'll put something like this in a Workspace:

| config |
config := StackInterpreterMacOSConfig new.		
config internalPlugins: (config internalPlugins copyWith: #TheUniversalAnswer).
config generateSourceFiles.
CMakeVMGenerator generate: config 

Of XCode and files like SqueakPureObjcCogVM.xcodeproj it seems the less said, the better. 
XCode files seem to be left over from a vm builder who is no longer around. (If that's not true, then 
I'd sure like someone to post one for the iOS folder in the platforms directory!)

As a beginner, I prefer to look at Slang as a subset of CMake. And not the other way around. :)

Chris 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-beginners/attachments/20120202/5dbc5058/attachment.htm


More information about the VM-beginners mailing list