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
065f147a
Commit
065f147a
authored
10 years ago
by
Erwan Jahier
Browse files
Options
Downloads
Patches
Plain Diff
Change back some of the changes done in
716f0d5b
where I've removed the handling of polymorphism.
parent
f2b27b89
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/l2lRmPoly.ml
+2
-2
2 additions, 2 deletions
src/l2lRmPoly.ml
src/socPredef.ml
+9
-1
9 additions, 1 deletion
src/socPredef.ml
with
11 additions
and
3 deletions
src/l2lRmPoly.ml
+
2
−
2
View file @
065f147a
(* Time-stamp: <modified the 26/06/2014 (at 1
6
:59) by Erwan Jahier> *)
(* Time-stamp: <modified the 26/06/2014 (at 1
7
:59) by Erwan Jahier> *)
(*
(*
Source 2 source transformation :
Source 2 source transformation :
...
@@ -14,7 +14,7 @@ let dbg = (Verbose.get_flag "poly")
...
@@ -14,7 +14,7 @@ let dbg = (Verbose.get_flag "poly")
let
(
is_predef_overloaded
:
Lic
.
node_key
->
bool
)
=
let
(
is_predef_overloaded
:
Lic
.
node_key
->
bool
)
=
fun
nk
->
fun
nk
->
match
fst
nk
with
match
fst
nk
with
|
(
"Lustre"
,
(
"times"
|
"slash"
|
"uminus"
|
"minus"
|
"plus"
))
->
true
|
(
"Lustre"
,
(
"times"
|
"slash"
|
"uminus"
|
"minus"
|
"plus"
|
"lt"
|
"lte"
|
"gt"
|
"gte"
))
->
true
|
_
->
false
|
_
->
false
(** utile : on ne traite que les poly non externe *)
(** utile : on ne traite que les poly non externe *)
...
...
This diff is collapsed.
Click to expand it.
src/socPredef.ml
+
9
−
1
View file @
065f147a
(* Time-stamp: <modified the 26/06/2014 (at 17:
37
) by Erwan Jahier> *)
(* Time-stamp: <modified the 26/06/2014 (at 17:
58
) by Erwan Jahier> *)
(** Synchronous Object Code for Predefined operators. *)
(** Synchronous Object Code for Predefined operators. *)
...
@@ -140,6 +140,14 @@ let of_soc_key : Soc.key -> Soc.t =
...
@@ -140,6 +140,14 @@ let of_soc_key : Soc.key -> Soc.t =
|
"Lustre::gt"
->
(
make_soc
sk
(
sp
tl
)
[
step21
None
])
|
"Lustre::gt"
->
(
make_soc
sk
(
sp
tl
)
[
step21
None
])
|
"Lustre::lte"
->
(
make_soc
sk
(
sp
tl
)
[
step21
None
])
|
"Lustre::lte"
->
(
make_soc
sk
(
sp
tl
)
[
step21
None
])
|
"Lustre::gte"
->
(
make_soc
sk
(
sp
tl
)
[
step21
None
])
|
"Lustre::gte"
->
(
make_soc
sk
(
sp
tl
)
[
step21
None
])
|
"Lustre::ilt"
->
(
make_soc
sk
(
sp
tl
)
[
step21
None
])
|
"Lustre::igt"
->
(
make_soc
sk
(
sp
tl
)
[
step21
None
])
|
"Lustre::ilte"
->
(
make_soc
sk
(
sp
tl
)
[
step21
None
])
|
"Lustre::igte"
->
(
make_soc
sk
(
sp
tl
)
[
step21
None
])
|
"Lustre::rlt"
->
(
make_soc
sk
(
sp
tl
)
[
step21
None
])
|
"Lustre::rgt"
->
(
make_soc
sk
(
sp
tl
)
[
step21
None
])
|
"Lustre::rlte"
->
(
make_soc
sk
(
sp
tl
)
[
step21
None
])
|
"Lustre::rgte"
->
(
make_soc
sk
(
sp
tl
)
[
step21
None
])
|
"Lustre::and"
->
(
make_soc
sk
(
sp
tl
)
[
step21
None
])
|
"Lustre::and"
->
(
make_soc
sk
(
sp
tl
)
[
step21
None
])
|
"Lustre::eq"
->
(
make_soc
sk
(
sp
tl
)
[
step21
None
])
|
"Lustre::eq"
->
(
make_soc
sk
(
sp
tl
)
[
step21
None
])
...
...
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