[Lazarus] Parser
Marco van de Voort
marcov at stack.nl
Fri Jul 2 06:33:18 CEST 2010
On Thu, Jul 01, 2010 at 08:12:52PM +0300, Adem wrote:
> >> You could have asked the fpc team or put it into one of the many free repositories. If you put something into lazarus examples then lazarus users expect a reason for downloading 650KB extra. If the above is the only reason, then you should remove it.
> > +1
> > And the whole thread has nothing to do with lazarus at all.
> Actually, it does --quite a bit.
>
> It all started off with how we could come up with a code formatter (plus
> refactoring tools etc.) that uses a parser codebase that did not have to
> be written/maintained separately.
>
> It turned out that, in its current shape, FPC wasn't suitable for such
> use due to its monolithic nature, so we discussed --briefly-- what could
> be done about that (i.e. ways to refactor FPC code in such a way that
> downstream projects could re-use its modules).
Besides that, many people (including several that worked on the FPC parser)
have warned you that such a beast, while more elegant on paper, might
actually be harder to maintain than two parsers.
You chose to ignore that.
More information about the Lazarus
mailing list