Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Lustrec - public version
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LustreC
Lustrec - public version
Commits
44686ab5
Commit
44686ab5
authored
8 years ago
by
Pierre Loic Garoche
Browse files
Options
Downloads
Patches
Plain Diff
Missing file c_backend_lusic
parent
2fdbc781
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/backends/C/c_backend_lusic.ml
+18
-0
18 additions, 0 deletions
src/backends/C/c_backend_lusic.ml
with
18 additions
and
0 deletions
src/backends/C/c_backend_lusic.ml
0 → 100644
+
18
−
0
View file @
44686ab5
open
Lusic
let
print_lusic_to_h
basename
extension
=
let
module
HeaderMod
=
C_backend_header
.
EmptyMod
in
let
module
Header
=
C_backend_header
.
Main
(
HeaderMod
)
in
let
lusic
=
read_lusic
basename
extension
in
let
header_name
=
basename
^
".h"
in
let
h_out
=
open_out
header_name
in
let
h_fmt
=
Format
.
formatter_of_out_channel
h_out
in
begin
assert
(
not
lusic
.
obsolete
);
(*Format.eprintf "lusic to h: %i items.@." (List.length lusic.contents);*)
Typing
.
uneval_prog_generics
lusic
.
contents
;
Clock_calculus
.
uneval_prog_generics
lusic
.
contents
;
Header
.
print_header_from_header
h_fmt
(
Filename
.
basename
basename
)
lusic
.
contents
;
close_out
h_out
end
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