[Q] Slang
Ned Konz
ned at bike-nomad.com
Thu Nov 13 18:28:01 UTC 2003
On Thursday 13 November 2003 8:04 am, Chris Burkert wrote:
> Is there a grammar or something else, that defines Slang?
>
> I wanted to play a little bit with Slang to C translation.
Hi Chris,
The grammar is Smalltalk. If you look at the InterpreterProxy you will see the
vocabulary.
If you want to see the actual translation to C, look at
CCodeGenerator>>initializeCTranslationDictionary and
SmartSyntaxCodeGenerator>>initializeCTranslationDictionary, in which the
special cases are handled.
I've summarized most of the interesting parts of the vocabulary (though I
haven't finished describing it) in my paper on building plugins.
http://bike-nomad.com/squeak/writingPlugins.html
--
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE
More information about the Squeak-dev
mailing list
|