http://www.adrian-lienhard.ch/blog?article=building-a-pharo-squeak-vm-from-first-principles
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
_______________________________________________
VM-beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/vm-beginners