[squeak-dev] [vwnc] [PDFtalk] Porting the library to non-namespace Smalltalks
mail at christianhaider.de
Tue Feb 1 18:31:11 UTC 2022
it would be great if Instantiations would support this effort! Great that you are bugging them!
About the fileOut tool, called FileOut30, in VW. It will create a fileOut which probably can be filed into VAST. From there on you need to work in VAST to fix all the differences to the source Smalltalk, especially renamings for namespaced classes. This is the traditional, but, imho, wrong approach. The process is brittle and the result is not predictable - it is not repeatable. What if a new version must be ported? All the changes have to be redone (with minor changes). Look at the effort to port Seaside or Glorp.
Better is to have a detailed description of what needs to be ported and how code needs to be transformed. This is repeatable and a new version with minor changes will result in minor changes to the code transformation. The transformations from one project could even be reused by other projects.
Von: Squeak-dev <squeak-dev-bounces at lists.squeakfoundation.org> Im Auftrag von Louis LaBrunda
Gesendet: Dienstag, 1. Februar 2022 18:22
An: squeak-dev at lists.squeakfoundation.org
Betreff: [squeak-dev] [vwnc] [PDFtalk] Porting the library to non-namespace Smalltalks
Hi Eliot & Christian,
I'm interested in helping with a port to VA Smalltalk. I can't speak for Instantiations but I think they would be interested too. I would prefer to let someone there take the lead and I would help where I can. I have worked on a VA Smalltalk API for USB and the Raspberry Pi, so I have some experience with this kind of thing. I emailed them but haven't yet heard back, that is a little unusual but they are in the midst of releasing a new version, so I hope they will get back to me soon.
I understand that there is a VW tool that can output code for VA Smalltalk but I don't have access to it. I'm hoping Instantiations does.
On Tue, 1 Feb 2022 08:18:32 -0800, Eliot Miranda <eliot.miranda at gmail.com> wrote:
>Begin forwarded message:
>> From: Christian Haider <christian.haider at smalltalked-visuals.com>
>> Date: February 1, 2022 at 1:44:59 AM PST
>> To: vwnc at lists.cs.illinois.edu
>> Subject: [vwnc] [PDFtalk] Porting the library to non-namespace
>> Reply-To: christian.haider at smalltalked-visuals.com
>> a new project started to port the PDF library PDFtalk  to Smalltalk dialects without namespaces.
>> There has been some interest in the past for such a port. Unfortunately, after the first excitement, I never heard of these attempts anymore, so that I think that they were abandoned. It would be interesting to hear why.
>> If there is still interest in getting PDFtalk into your Smalltalk, here is the chance to help and participate. I will try to do the port in the open and document everything on the wiki , so that lurkers can follow and helpers can comment.
>> A project page has been set up  and I started a log  where I record in detail what I am doing for porting the Values package.
>> The port is done with code transformations generating the source for the target dialect. You can find some documentation about the approach here .
>> All these pages need work, so comments will be appreciated.
>> Happy hacking,
>>  https://wiki.pdftalk.de/doku.php?id=start
>>  https://wiki.pdftalk.de/doku.php?id=pdftalknonnamespacefileout
>>  https://wiki.pdftalk.de/doku.php?id=valuesportinglog
>>  https://wiki.pdftalk.de/doku.php?id=smalltalktransform
Keystone Software Corp.
More information about the Squeak-dev