Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
OpenGEODE
Commits
ebe7b22f
Commit
ebe7b22f
authored
Jan 31, 2017
by
Maxime Perrotin
Browse files
Generate aliased context in Ada backend
parent
7c382840
Changes
3
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
ebe7b22f
...
...
@@ -142,6 +142,9 @@ The background pattern was downloaded from www.subtlepatterns.com
Changelog
=========
1.
5.25 (01/2017)
-
Ada backend generates aliased context (used for model checking)
1.
5.24 (01/2017)
-
PR file use better indentation for text areas (no line return)
...
...
opengeode/AdaGenerator.py
View file @
ebe7b22f
...
...
@@ -277,7 +277,8 @@ LD_LIBRARY_PATH=. opengeode-simulator
default
=
u
' := '
+
dstr
if
def_value
else
u
''
))
context_decl
.
append
(
'end record;'
)
context_decl
.
append
(
'{ctxt}: {ctxt}_Ty;'
.
format
(
ctxt
=
LPREFIX
))
# context is aliased so that the model checker can work with access type
context_decl
.
append
(
'{ctxt}: aliased {ctxt}_Ty;'
.
format
(
ctxt
=
LPREFIX
))
if
simu
:
# Export the context, so that it can be manipulated from outside
# (in practice used by the "properties" module.
...
...
opengeode/opengeode.py
View file @
ebe7b22f
...
...
@@ -138,7 +138,7 @@ except ImportError:
__all__
=
[
'opengeode'
,
'SDL_Scene'
,
'SDL_View'
,
'parse'
]
__version__
=
'1.5.2
4
'
__version__
=
'1.5.2
5
'
if
hasattr
(
sys
,
'frozen'
):
# Detect if we are running on Windows (py2exe-generated)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment