|Compiler for "own" parallel language? GoodIntentions@lycos.de (Matrim) (2005-10-27)|
|Re: Compiler for "own" parallel language? firstname.lastname@example.org (2005-10-29)|
|Re: Compiler for "own" parallel language? email@example.com (shrey) (2005-10-29)|
|From:||firstname.lastname@example.org (Nick Maclaren)|
|Date:||29 Oct 2005 21:26:09 -0400|
|Organization:||University of Cambridge, England|
|Posted-Date:||29 Oct 2005 21:26:09 EDT|
Matrim <GoodIntentions@lycos.de> wrote:
I'm about to implement a compiler a parallel language. More specific
>its a (small) subset of the Fortran-Language. In my studies I came
>across the compiler tool Eli.
>So now my question: Is it possible with Eli to achieve that goal
>(implementing a compiler for that a parallel language)? Any hints to
>do so? Or is there a even better way/tool to do so?
>[It sort of depends on what you mean by a parallel langugage, but in
>general the tools automate the front end of a compiler, and the bits
>specific to parallelism tend to reside in the back end. -John]
Yes. The extreme example of that is a language like those used in
engineering or statistics (think APL or Matlab, but there were and are
thousands), where the basic objects in the language may be matrices.
Compiling such a language is very routine, and the only specialist
part is writing the service functions.
The more interesting languages bring parallelism into the language
proper, but I am afraid the question shows that the poster may be
heading for trouble. Parsing such languages is trivial; even code
generating them is not hard; the killer is analysing the program to
Return to the
Search the comp.compilers archives again.