SmaCC in D6

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

SmaCC in D6

Edward Stow
Using D6 community edition

Has anybody converted Smacc to D6.  The latest version available on the
Refactory site (http://www.refactory.com/Software/SmaCC/Download.html)
is for D5.

I have tried to load the packages but Smacc Development.pac requires
package RBRefactorings

Note that I have loaded the Dolphin Legacy Resource Framework package
that was omitted from the Community Edition (earlier reported in
another message).
--
Edward Stow


Reply | Threaded
Open this post in threaded view
|

Re: SmaCC in D6

Schwab,Wilhelm K
Edward wrote:

> Using D6 community edition
>
> Has anybody converted Smacc to D6.  The latest version available on the
> Refactory site (http://www.refactory.com/Software/SmaCC/Download.html)
> is for D5.
>
> I have tried to load the packages but Smacc Development.pac requires
> package RBRefactorings
>
> Note that I have loaded the Dolphin Legacy Resource Framework package
> that was omitted from the Community Edition (earlier reported in
> another message).
> --
> Edward Stow

I don't recall which version has which packages, but if this is a matter
of installing a package in a version of Dolphin which no longer has a
needed RB package, you might simply be able to create an empty package
with the offending name, after which you can probably just delete said
package.

Another option is to file in chunks and then fix the broken stuff.

Caveat: _please_ backup first, just in case =:0

On the subject of Smacc, have you heard anything new about the version
that will automatically create a parse tree for C?  Alternatively, has
anyone used SWIG with Dolphin?

Have a good one,

Bill

--
Wilhelm K. Schwab, Ph.D.
[hidden email]


Reply | Threaded
Open this post in threaded view
|

Re: SmaCC in D6

Edward Stow
Bill Schwab wrote:

> Edward wrote:
> > Using D6 community edition
> >
> > Has anybody converted Smacc to D6.  The latest version available on the
> > Refactory site (http://www.refactory.com/Software/SmaCC/Download.html)
> > is for D5.
> >
> > I have tried to load the packages but Smacc Development.pac requires
> > package RBRefactorings
> >
> > Note that I have loaded the Dolphin Legacy Resource Framework package
> > that was omitted from the Community Edition (earlier reported in
> > another message).
> > --
> > Edward Stow
>
> I don't recall which version has which packages, but if this is a matter
> of installing a package in a version of Dolphin which no longer has a
> needed RB package, you might simply be able to create an empty package
> with the offending name, after which you can probably just delete said
> package.
>
> Another option is to file in chunks and then fix the broken stuff.

I have tried these suggestions but it appears I am missing some classes
are missing from D6 -  RBNamespace

>
> Caveat: _please_ backup first, just in case =:0
>
> On the subject of Smacc, have you heard anything new about the version
> that will automatically create a parse tree for C?

The sample installation packages includes scanner & parser for C, Java
and Smalltalk.

--
Edward Stow


Reply | Threaded
Open this post in threaded view
|

Re: SmaCC in D6

Schwab,Wilhelm K
>>I don't recall which version has which packages, but if this is a matter
>>of installing a package in a version of Dolphin which no longer has a
>>needed RB package, you might simply be able to create an empty package
>>with the offending name, after which you can probably just delete said
>>package.
>>
>>Another option is to file in chunks and then fix the broken stuff.
>
>
> I have tried these suggestions but it appears I am missing some classes
> are missing from D6 -  RBNamespace

When moving things between versions and/or dialects, it is sometimes
enough to file out the missing pieces and then file them into the image
that does not have them.  Clearly some care might be necessary if the
code in question would alter the base system or (more likely in this
case) the RB to the point that it breaks the system.

Any work on external interfacing, the user interface entrails,
primitives, etc. will involve some risk; the RB will fall into that
category unless you use care to avoid relying on it while it is broken.
  Make backups as you go and see what works.


>>On the subject of Smacc, have you heard anything new about the version
>>that will automatically create a parse tree for C?
>
>
> The sample installation packages includes scanner & parser for C, Java
> and Smalltalk.

True, but the last I checked, the C parser was far from being ready to
produce a useful parse tree.  A C refactoring tool was in the works, and
that would apparently do the job.  Any ETA on that would be of interest.

Have a good one,

Bill


--
Wilhelm K. Schwab, Ph.D.
[hidden email]


Reply | Threaded
Open this post in threaded view
|

Re: SmaCC in D6

John Brant
In reply to this post by Edward Stow
Edward wrote:

> I have tried these suggestions but it appears I am missing some classes
> are missing from D6 -  RBNamespace

Are you using the community edition? The RBRefactorings package may only
be available in the professional version.


John Brant


Reply | Threaded
Open this post in threaded view
|

Re: SmaCC in D6

Andy Bower
Edward,

> > I have tried these suggestions but it appears I am missing some
> > classes are missing from D6 -  RBNamespace
>
> Are you using the community edition? The RBRefactorings package may
> only be available in the professional version.

To get the RBRefactorings easily you would have to upgrade to the
Professional Edition. If you are wondering why the Refactoring Browser
is only available in the commercial version of Dolphin when,
effectively, it has been contributed to the community by Refactory Inc
for other Smalltalks then this, rather tortuous thread, might provide
the answers.

http://groups.google.co.uk/group/comp.lang.smalltalk.dolphin/browse_frm/
thread/a9faafd9295f6114/896b0de46967f317?tvc=1&hl=en-GB#896b0de46967f317


The basic gist is this: the Refactoring engine classes are freely
available for Smalltalks but may need to be ported to get them to work
inside a particular dialect.  Originally, Blair and I did the port of
the engine at Camp Smalltalk 2000 and Donald MacQueen spent
considerable time integrating this would be Dolphin 4 browsers.  At
that point there was a freely available version of the Refactoring
Browser for Dolphin 4.

Subsequent to this we (Object Arts) spent a lot more time further
integrating refactorings into the overall system for D5 and D6.  We
felt that it was acceptable to only supply the integrated version of
the Refactoring Browser in the commercial product based on the fact we
had added considerable value to the original free port.

Best regards,

Andy Bower
Dolphin Support
www.object-arts.com


Reply | Threaded
Open this post in threaded view
|

Re: SmaCC in D6

Edward Stow
Andy Bower wrote:

> Edward,
>
> > > I have tried these suggestions but it appears I am missing some
> > > classes are missing from D6 -  RBNamespace
> >
> > Are you using the community edition? The RBRefactorings package may
> > only be available in the professional version.
>
> To get the RBRefactorings easily you would have to upgrade to the
> Professional Edition. If you are wondering why the Refactoring Browser
> is only available in the commercial version of Dolphin when,
> effectively, it has been contributed to the community by Refactory Inc
> for other Smalltalks then this, rather tortuous thread, might provide
> the answers.
>
> http://groups.google.co.uk/group/comp.lang.smalltalk.dolphin/browse_frm/
> thread/a9faafd9295f6114/896b0de46967f317?tvc=1&hl=en-GB#896b0de46967f317
>
>
OK,  I was intending to upgrade once I had developed the proof of
concept application.

Thanks for the help.