Compiling generic mathematical tool descriptions into Fortran
By: Martin Erwig and Zhe Fu.
Contributors: Fu, Zhe.; Oregon State University. Dept. of Computer Science.
Series: Technical report -- TR02-60-11.; Technical report (Oregon State University. Dept. of Computer Science) -- 02-60-11.
Publisher: Oregon State University, Dept. of Computer Science
Published: 2002
Place of publication: [Corvallis, OR
Language: eng
Number of pages: 13
Subjects: Oceanography -- Computer simulation.; FORTRAN (Computer program language); Embedded computer systems -- Programming.
Description: We describe the design of a domain-specific language (DSL) for the specification of generic ocean modeling tools, and we describe the implementation of its compiler. The goal of the DSL is to allow the specification of widely usable tools for ocean modeling once, and to allow its translation into different Fortran programs for individual ocean models depending on particular model parameters. A particular challenge is to balance the need for high flexibility in the tool specifications against the declarative nature and high-level expression of the specification language.  This has been achieved through the design of a domain-specific embedded language (DSEL) where the tool description DSL is embedded into an environment that allows the use of Haskell functions in tool specifications. This setting facilitates the smooth evolution of tool specifications as well as extensibility of the available functions.
Notes: Caption title.

"October 2002."

Includes bibliographical references (leaf 12).

Also available on the World Wide Web.