Skip to content
Snippets Groups Projects
Commit e5b50ccf authored by Sven Gundlach's avatar Sven Gundlach
Browse files

TDD-DSL: Cleanup

parent 26c2d9ee
No related branches found
No related tags found
1 merge request!20Update of TDD DSL: Add Fortran fiel generator with merge function
Pipeline #13012 passed
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="fxtranCall" type="PythonConfigurationType" factoryName="Python" nameIsGenerated="true">
<module name="tdd-dsl" />
<option name="INTERPRETER_OPTIONS" value="" />
<option name="PARENT_ENVS" value="true" />
<envs>
<env name="PYTHONUNBUFFERED" value="1" />
</envs>
<option name="SDK_HOME" value="$PROJECT_DIR$/.venv/bin/python" />
<option name="SDK_NAME" value="Python 3.10 (python-oceandsls)" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/tdd-dsl/tddLSPServer/other" />
<option name="IS_MODULE_SDK" value="true" />
<option name="ADD_CONTENT_ROOTS" value="true" />
<option name="ADD_SOURCE_ROOTS" value="true" />
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/tdd-dsl/tddLSPServer/other/fxtranCall.py" />
<option name="PARAMETERS" value="" />
<option name="SHOW_COMMAND_LINE" value="false" />
<option name="EMULATE_TERMINAL" value="false" />
<option name="MODULE_MODE" value="false" />
<option name="REDIRECT_INPUT" value="false" />
<option name="INPUT_FILE" value="" />
<method v="2" />
</configuration>
</component>
\ No newline at end of file
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="fxtranG" type="PythonConfigurationType" factoryName="Python" nameIsGenerated="true">
<module name="tdd-dsl" />
<option name="INTERPRETER_OPTIONS" value="" />
<option name="PARENT_ENVS" value="true" />
<envs>
<env name="PYTHONUNBUFFERED" value="1" />
</envs>
<option name="SDK_HOME" value="$PROJECT_DIR$/.venv/bin/python" />
<option name="SDK_NAME" value="Python 3.10 (python-oceandsls)" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/tdd-dsl/tddLSPServer/other" />
<option name="IS_MODULE_SDK" value="true" />
<option name="ADD_CONTENT_ROOTS" value="true" />
<option name="ADD_SOURCE_ROOTS" value="true" />
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/tdd-dsl/tddLSPServer/other/fxtranG.py" />
<option name="PARAMETERS" value="" />
<option name="SHOW_COMMAND_LINE" value="false" />
<option name="EMULATE_TERMINAL" value="false" />
<option name="MODULE_MODE" value="false" />
<option name="REDIRECT_INPUT" value="false" />
<option name="INPUT_FILE" value="" />
<method v="2" />
</configuration>
</component>
\ No newline at end of file
{% if (op is undefined) and (inner is defined) %}( {{ inner }} ){% else %}{% if (left is defined) and (right is defined) %}{{ left }} {{ op }} {{ right }}{% else %}{% if (op is defined) and (inner is defined) %}{{ op }} {{ inner }}{% else %}{% if value is defined %}{{ value }}{% endif %}{% endif %}{% endif %}{% endif %}
\ No newline at end of file
{% if gen_comment is not none %}
{{ gen_comment }}
{% endif %}
MODULE {{ name }}
IMPLICIT NONE
PRIVATE{# private by default #}
PUBLIC :: {{ ops }}{# functions and methods #}
{# TODO INCLUDE #}
CONTAINS
{{ operations|join('\n') }}
END MODULE {{ name }}
\ No newline at end of file
{% if comment and integer %}
comment: {{comment}}
integer: {{integer}}
{%- elif comment %}
comment: {{comment}}
{%- elif integer %}
integer: {{integer}}
{%- else %}
default
{%- endif %}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment