Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lustre-v6
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
verimag
synchrone
lustre-v6
Commits
cf9efb1c
Commit
cf9efb1c
authored
6 years ago
by
Erwan Jahier
Browse files
Options
Downloads
Patches
Plain Diff
use Lv6util.entete instead of LicDump.dump_entete
parent
b67f74c0
No related branches found
No related tags found
No related merge requests found
Pipeline
#12801
passed
6 years ago
Stage: build
Stage: test
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/genOcamlGlue.ml
+2
-2
2 additions, 2 deletions
src/genOcamlGlue.ml
src/main.ml
+3
-3
3 additions, 3 deletions
src/main.ml
src/socExec.ml
+2
-2
2 additions, 2 deletions
src/socExec.ml
with
7 additions
and
7 deletions
src/genOcamlGlue.ml
+
2
−
2
View file @
cf9efb1c
(* Time-stamp: <modified the
28
/0
3
/2018 (at 1
1:0
2) by Erwan Jahier> *)
(* Time-stamp: <modified the
10
/0
7
/2018 (at 1
0:4
2) by Erwan Jahier> *)
(* generate ocaml glue code that makes it possible to call lus2lic
from ocaml with the current set of arguments (with Lv6Run.make).
...
...
@@ -20,7 +20,7 @@ let (f: string array -> Lv6MainArgs.t -> unit) =
in
let
args_str
=
"
\"
"
^
(
String
.
concat
"
\"
;
\"
"
args
)
^
"
\"
"
in
let
oc
=
open_out
(
outfile
)
in
L
icDump
.
dump_entete
oc
;
L
v6util
.
entete
oc
"(*"
"*)"
;
Printf
.
fprintf
oc
"
let plugin =
let args = Array.of_list [%s] in
...
...
This diff is collapsed.
Click to expand it.
src/main.ml
+
3
−
3
View file @
cf9efb1c
(* Time-stamp: <modified the 0
3
/07/2018 (at 1
5:28
) by Erwan Jahier> *)
(* Time-stamp: <modified the
1
0/07/2018 (at 1
0:43
) by Erwan Jahier> *)
open
Lv6Verbose
open
AstV6
...
...
@@ -134,7 +134,7 @@ let (gen_autotest_files : LicPrg.t -> Lv6Id.idref option -> Lv6MainArgs.t -> uni
let
name
=
main_node
.
Lv6Id
.
id_id
in
let
lutin_file_name
=
(
"_"
^
name
^
"_env.lut"
)
in
let
oc
=
open_out
lutin_file_name
in
L
icDump
.
dump_entete
oc
;
L
v6util
.
entete
oc
"--"
""
;
output_string
oc
(
"node "
^
(
name
)
^
"_env("
^
(
String
.
concat
";"
outvars_str
)
^
") returns("
^
(
String
.
concat
";"
invars_str
)
^
") =
\n
"
^
assertion_cstr
^
"
\n
"
);
...
...
@@ -232,7 +232,7 @@ let
res = if r_abs(x)>1.0 then r_abs(1.0-(y/x)) < seuil else r_abs(x-y) < seuil;
tel
"
in
L
icDump
.
dump_entete
oc
;
L
v6util
.
entete
oc
"--"
""
;
output_string
oc
prg
;
flush
oc
;
close_out
oc
;
...
...
This diff is collapsed.
Click to expand it.
src/socExec.ml
+
2
−
2
View file @
cf9efb1c
(* Time-stamp: <modified the 0
6
/07/2018 (at 10:
32
) by Erwan Jahier> *)
(* Time-stamp: <modified the
1
0/07/2018 (at 10:
41
) by Erwan Jahier> *)
open
Soc
open
Data
...
...
@@ -290,7 +290,7 @@ let (f : Lv6MainArgs.t -> Soc.tbl -> Soc.key -> unit) =
in
open_out
rif_file
in
L
icDump
.
dump_
entete
oc
;
L
v6util
.
entete
oc
"#"
""
;
RifIO
.
write_interface
oc
exp_vntl_i
exp_vntl_o
None
None
;
RifIO
.
flush
oc
;
try
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment