![]() |
Dataflow Software Stack
032db78
Master Thesis of Mathijs Saey at the VUB
|
DISc backend Selector. More...
Namespaces | |
| DVM | |
| DVM Backend. | |
Functions | |
| def | set |
| Select a backend to use. More... | |
| def | setUp |
| Set up the backend from the command line arguments. More... | |
| def | generate |
| Ask the backend to Generate the output language. More... | |
| def | toFile |
| Write the generated output to a file. More... | |
Variables | |
| tuple | log = logging.getLogger(__name__) |
| backEnd = None | |
| Store the current back end. More... | |
| path = None | |
| Path to the output file. More... | |
DISc backend Selector.
This module serves as an interface to any backend that the user may choose.
A backend only needs to define 2 elements.
| def backEnd.set | ( | name | ) |
Select a backend to use.
| name | A name that matches a package in the backend package. |
| def backEnd.setUp | ( | fileName, | |
| backEndFlag, | |||
| outputFlag | |||
| ) |
Set up the backend from the command line arguments.
| fileName | The name of the input file, without the extension. |
| backEndFlag | The value passed to the backend flag. |
| outputFlag | The value passed to the output flag. |
| def backEnd.generate | ( | ) |
Ask the backend to Generate the output language.
| def backEnd.toFile | ( | ) |
Write the generated output to a file.
| tuple backEnd.log = logging.getLogger(__name__) |
| backEnd.backEnd = None |
Store the current back end.
| backEnd.path = None |
Path to the output file.
1.8.8