Changes between Version 21 and Version 22 of Documentation/Reference/GPDL
- Timestamp:
- 07/08/13 19:33:54 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Documentation/Reference/GPDL
v21 v22 155 155 156 156 == Building == 157 The top layer contains the syntax description of GPDL. For each separate backend a separate ATG must be defined that is then translated with Coco-2 to generate a framework-specific GPDL compiler. So the top level must be build for each new version of the GPDL specification and for each backend. Coco-2 is available for many programming languages so on the top level we cancreate different GPDL compilers for different programming languages.157 The top layer contains the syntax description of GPDL. For each separate backend a separate ATG must be defined that is then translated with Coco-2 to generate a framework-specific GPDL compiler. So, at the top level a new GPDL compiler must be built for each new version of the GPDL specification and for each backend. Coco-2 is available for many programming languages, so can easily create different GPDL compilers for different programming languages. 158 158 159 159 160 In the second layer, the framework-specific GPDL compiler can then be used to compile problem descriptions in GPDL into source code for the targeted plattform (backend). This source code can be compiled to a solver that can be used to solve several different problem instances of the general problem (e.g., by reading different problemdata files).160 In the second layer, the framework-specific GPDL compiler can then be used to compile GPDL problem descriptions to source code for the targeted platform (backend). This source code can be compiled to a solver, that can be used to solve several different problem instances of the general problem (e.g., by using different data files). 161 161 162 162