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: | "Werner Donne'" <wdonne@ibm.net> |
Newsgroups: | comp.lang.functional,comp.compilers |
Date: | 11 Feb 1997 22:49:43 -0500 |
Organization: | Re |
References: | 97-02-044 |
Keywords: | parse, functional |
> 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?
Allen,
What is important for the parser is the nature of the grammar of the
language. The grammar class determines the kind of parser you have to
build. This is orthogonal to the paradigms a language offers. The
latter define the semantics of a language. They will influence the way
you build certain data structures while parsing and how you use these
during verification, optimization and code generation. The parser as
such doesn't need to know if a language is imperative, functional,
applicative, etc. It must only build a parse tree.
Werner.
--
Werner Donne'
Re BVBA
Leuvenselaan 172b
B-3300 Tienen
Tel: (+32) 16 810203
Fax: (+32) 16 820826
E-mail: wdonne@ibm.net
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.