Article

From:
To:
Moritz Beutel
Subject:
Re: Delphi Project X Cross GUI
Newsgroup:
embarcadero.public.delphi.non-technical

Re: Delphi Project X Cross GUI

> Hello,
>
> DCC features a hand-written lexer and parser and does not rely on a
> generator. Read Barry's comments here:
>
> http://stackoverflow.com/questions/199627/converting-c-source-to-c/201922#201922

Interesting. I wonder what parts of the grammar are not LALR(1) or a LR(1) 
compatible though. I can understand the argument that using a hand-written 
compiler will allow you to more easily extend the language, since it avoids 
the problem of maintaining consistent shift/reduce tables. In my own 
implementation, the non-terminals of the AST are represented as separate 
classes, which makes it very easy to perform any kind of recursive 
processing.

Mattias
FYI: Phrase searches are enclosed in either single or double quotes
 
 
Originally created by
Tamarack Associates
Mon, 25 Nov 2024 11:26:20 UTC
Copyright © 2009-2024
HREF Tools Corp.