Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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/02/23 16:09]
christian
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 to some code to generate the target Smalltalk code.
  
 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.
  
-The only working example is the PDFtalk port from VisualWorks to Gemstone.+working example is the PDFtalk port from VisualWorks to Gemstone.
  
-It is intended to cover other dialects (Pharo, VisualAge, Smalltalk/X) as well.+It is intended to cover other dialects (Squeak, Pharo, VAST(Smalltalk/X; has namespaces)) as well
 + 
 +[Begin of 2022] There is the possibility for a project to implement a general port for non-namespace Smalltalk dialects. A **[[PDFtalkNonNamespaceFileout|project page is setup here]]**. 
 + 
 +The [[SmalltalkTransformDocumentation|Smalltalk transform documentation]] describes all the technical details.
  
 ===== Get startet ===== ===== Get startet =====
Line 17: Line 21:
  
 As Example, load package [Gemstone Fileout PDFtalk] from the [[:storeaccess|Public Store]]. As Example, load package [Gemstone Fileout PDFtalk] from the [[:storeaccess|Public Store]].
-===== Smalltalk is not Smalltalk ===== 
- 
-While all Smalltalk dialects share the same message sending paradigm with the same basic syntax. Many dialects extended the syntax (VW: namespace and literal bindings, Squeak: dynamic array, Amber: literal dictionaries, etc.).  
- 
-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 tool. 
  
  • smalltalktransform.txt
  • Last modified: 2023/04/12 14:13
  • by christian