Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
smalltalktransform [2021/05/05 09:34] christian [Get startet] |
smalltalktransform [2022/05/19 10:21] bekki |
||
---|---|---|---|
Line 4: | Line 4: | ||
Transformations are declared for each package, class and method. | Transformations are declared for each package, class and method. | ||
- | The transformations are applied some code to generate the target Smalltalk code. | + | The transformations are applied |
This is the next more general version of the [[GemstoneFileout|Gemstone Fileout]] project. | This is the next more general version of the [[GemstoneFileout|Gemstone Fileout]] project. | ||
+ | < | ||
+ | <div style=" | ||
+ | A < | ||
+ | </ | ||
+ | </ | ||
- | The only working example is the PDFtalk port from VisualWorks to Gemstone. | ||
- | It is intended to cover other dialects (Pharo, VisualAge, Smalltalk/ | + | [[StateOfThePort|State of The Port]] |
- | ===== Get startet | + | ===== Get started |
Load bundle **{Smalltalk Transform Project}** from the [[: | Load bundle **{Smalltalk Transform Project}** from the [[: | ||
- | As Example, load package [Gemstone Fileout PDFtalk] | + | Load also the following packages |
- | ===== Smalltalk | + | * [Gemstone Fileout PDFtalk] |
+ | * [Squeak Fileout PDFtalk] | ||
+ | * [VASmalltalk Fileout PDFtalk] | ||
+ | These contain the specific transformation rules for PDFtalk for different target | ||
- | While all Smalltalk | + | Read in the [[SmalltalkTransformDocumentation|Smalltalk |
- | + | ||
- | The basic class library (Object, Number, Collection, Class etc.) with standardized selectors are the same in all dialects. But each one extends the library and classes with their own ways of doing things. | + | |
- | + | ||
- | There are some cross dialect libraries like Glorp. | + | |
- | + | ||
- | The UI, at the other end, is very different in all dialects, so that porting is almost impossible. | + | |
- | + | ||
- | ==== Translations ==== | + | |
- | + | ||
- | Classes may need to be translated. | + | |
- | + | ||
- | Methods may need to be translated. | + | |
- | + | ||
- | Packages must be mapped. | + | |
- | + | ||
- | ==== Rewrite Tool ==== | + | |
- | + | ||
- | The code transformations are done with the rewrite | + | |