> 3. Handwritten
> Question: Need some references other than Jack Crenshaw's book
> Pros: Easier to maintain (someone said, but no prove)
> Cons: I don't have any practical background on this
I have written a very simple Pascal to Java-bytecode compiler. It
compiles a very simplified Pascal.
> Start by renaming the duplicate unit names (at least crt and probably crc
too) to something else.
Thanks, Marco. Just as I thought, that would be the problem. It compiles
fine now.
But shouldn't the compiler message be more informative? I usually get
"duplicate unit found" or something, which I
In our previous episode, leledumbo said:
>
> I decided to go with Coco/R Delphi (http://tetzel.com/CocoR/). Has anyone
> managed to compile it with FP? There's a weird bug in StringTools.pas unit,
> which I think is a bug of FP.
Start by renaming the duplicate unit names (at least crt and probabl
I decided to go with Coco/R Delphi (http://tetzel.com/CocoR/). Has anyone
managed to compile it with FP? There's a weird bug in StringTools.pas unit,
which I think is a bug of FP.
There's only one unit in the uses clause, which is Graphics. After
converting the source with Lazarus, compilation gi
On Mon, Jan 5, 2009 at 11:43 AM, Frank Peelo wrote:
> There's also "Compiler Construction" by Prof. Wirth, Addison-Wesley, 1996,
> ISBN 0-201-40353-6. It describes a subset of Oberon, rather than Pascal, but
> it does have the advantage that he seems to have released it (or rather, a
> revised 3rd
Frank Peelo wrote:
...
There's also "Compiler Construction" by Prof. Wirth, Addison-Wesley,
1996, ISBN 0-201-40353-6. It describes a subset of Oberon, rather than
Pascal, but it does have the advantage that he seems to have released it
(or rather, a revised 3rd edition) as a PDF.
This is pro
Gerard N/A wrote:
Hi,
On Mon, Jan 5, 2009 at 6:50 AM, leledumbo wrote:
I just finished taking compiler techniques class this semester and I'd like
to write my own based on the one used in the class. The class uses Java with
JLex and JavaCUP, but I don't really like Java and I want to rewrite
Hi,
On Mon, Jan 5, 2009 at 6:50 AM, leledumbo wrote:
>
> I just finished taking compiler techniques class this semester and I'd like
> to write my own based on the one used in the class. The class uses Java with
> JLex and JavaCUP, but I don't really like Java and I want to rewrite it in
> FP. Ho
I just finished taking compiler techniques class this semester and I'd like
to write my own based on the one used in the class. The class uses Java with
JLex and JavaCUP, but I don't really like Java and I want to rewrite it in
FP. However, there are some choices for writing the scanner and parser