Related articles |
---|
Imperative / Functional Compiling -- help! theobaam@email.uc.edu (Allen Theobald) (1997-02-07) |
Re: Imperative / Functional Compiling -- help! holtrf@destinyusa.com (1997-02-11) |
Re: Imperative / Functional Compiling -- help! wdonne@ibm.net (Werner Donne') (1997-02-11) |
From: | Allen Theobald <theobaam@email.uc.edu> |
Newsgroups: | comp.lang.functional,comp.compilers |
Date: | 7 Feb 1997 23:37:39 -0500 |
Organization: | Nova Engineering, Inc. |
Keywords: | functional, question |
Greetings!
Do the theory an techniques of compiler construction vary based on the
type of language being compiled? That is, what is different between
compiling imperative languages vs. compiling functional languages?
What are the similarities?
I have several books on parsing and compiler construction for
imperative languages ([Aho,Sethi,Ullman], [Hollub],
[Wilhelm,Maurer]). And for functional languages ([Jones], [Appel]).
All of these are excellent technical works, but none of them discuss
the high-level aspects of parsing such as which techniques are best
for a given language and a desired result. Any comments?
For example.
Compiler
/ \
/ \
Analysis Synthesis
\ /
\ /
Symbol Table
and
Atrribute Table
Analysis can further be refined to
Analysis
/ | \
/ | \
Scanning Parsing Static
Semantic
Checking
And Synthesis can fruther be refined to
Synthesis
/ | \
/ | \
Run-time Optimizing Code
Semantic Generation
Checking
What aspects of these drawings apply to imperative? Functional?
I ask these questions because I have the opportunity to work on a
compiler for a visual programming language that is functional in
nature. I am a compiler writer wannabe, but don't have all the clues.
Any help is greatly appreciated.
Regards,
Allen
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.