Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [imp-dev] IMP runtime feature depends on LPG feature?

Hi,

No problem, I was just making a local update site of IMP for debugging
purposes and saw the dependency
that did not make sense to me from a big distance.

Thanks

Jurgen

On Tue, Jun 17, 2008 at 4:44 PM, Robert M. Fuhrer
<rfuhrer@xxxxxxxxxxxxxx> wrote:
> The dependency is due to a few LPG-specific classes designed for
> LPG-based scanners/parsers. E.g., SimpleLPGParseController,
> ILexer, IParser, MessageHandlerAdapter, and AstLocator. There's
> also the deprecated OutlinerBase, which uses LPG-specific API to
> compare the token streams of two subsequent source states to
> determine whether an outline update is needed.
>
> Unfortunately OutlinerBase, while deprecated, is still being used
> by several (possibly inactive) outline implementations. It will
> probably take a small amount of work to update to use the newer
> TreeModelBuilder interface.
>
> I think ILexer and IParser are also irrelevant now. At one point we
> thought that we might generalize the ILexer and IParser interfaces
> to handle arbitrary parsers/scanners, but ultimately decided that
> it wasn't necessary to expose the lexer and parser directly.
>
> MessageHandlerAdapter and AstLocator are still useful.
>
> At any rate, all of these classes could be moved to a separate
> plugin, and probably should be, at some point.
>
> Is there a specific problem that the LPG dependency causes for you?
>
> On Jun 17, 2008, at 10:26 AM, Jurgen Vinju wrote:
>
>> Hi guys,
>>
>> I found out this dependency, does it make sense to you?
>>
>> Cheers,
>>
>> Jurgen
>> _______________________________________________
>> imp-dev mailing list
>> imp-dev@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/imp-dev
>
> Cheers,
>  - Bob
>
> _______________________________________________
> imp-dev mailing list
> imp-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/imp-dev
>


Back to the top