GPPlexer contains a static method chaneGen which is used to convert a file containing the source of a solution built using the Groovy Parallel Patterns library (GPP). The source should contain all the required process and data definitions for the application but none of the communication channels should be specified. The data definitions should precede the process defintions which should be specified in the order they occur in the application data flow.
The source file name should have the suffix "_gpp.groovy". The output will be a file with the same root followed by ".groovy" and this will be a runnable file if there are no errors. If the transformation is not correct then the error(s) will be displayed in the output file.
Constructor and description |
---|
GPPlexer_old
() |
The chanGen method is used to undertake the transformation of the source file to the output file.
inFileName
- the full path and name of the file to be converted with the name fileName_gpp.groovyoutFileName
- the output file name which will be fileName.groovyGPPBuild for GPP - Groovy Parallel Patterns generated 16-05-2017 by Jon Kerridge, Edinburgh Napier University - j.kerridge@napier.ac.uk