|Coding a translator between languages with high abstraction levels email@example.com (Alfonso Acosta) (2006-11-08)|
|Re: Coding a translator between languages with high abstraction levels DrDiettrich1@aol.com (Hans-Peter Diettrich) (2006-11-08)|
|Re: Coding a translator between languages with high abstraction levels firstname.lastname@example.org (Peter Ludemann) (2006-11-10)|
|Re: Coding a translator between languages with high abstraction levels email@example.com (Christopher Diggins) (2006-11-10)|
|From:||Peter Ludemann <firstname.lastname@example.org>|
|Date:||10 Nov 2006 00:14:53 -0500|
|Posted-Date:||10 Nov 2006 00:14:53 EST|
On 11/7/2006 9:18 PM, Alfonso Acosta wrote:
> I'm a computer science engineering student, writing his masters thesis
> about a VHDL translator for ForSyDe
> (http://www.imit.kth.se/info/FOFU/ForSyDe/ , a Hardware Description
> Language embedded in Haskell, http://www.haskell.org/ ).
> I don't have much experience in compiler design and development apart
> from a toy Pascal compiler I had to code for an undergraduate compiler
Peter Reinjtes wrote a VHDL parser and pretty-printer in Prolog some
years ago (it also produced images using PostScript, IIRC). A quick
websearch found this:
"The original VHDL-87 parser was developed in conjunction with
software components for schematic entry, logic synthesis, and a
universal hardware description language translator." By taking
advantage of Prolog's conciseness, it is "between one tenth and one
fifth the size of other VHDL implementations."
There's a related article here ("PREDITOR: A Prolog-Based VLSI
Because Prolog is declarative (if written carefully), the VHDL
translator can work either VHDL->target or target->VHDL.
Return to the
Search the comp.compilers archives again.