Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
menhir
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
12
Issues
12
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
POTTIER Francois
menhir
Commits
a3ce6eee
Commit
a3ce6eee
authored
Jan 10, 2015
by
POTTIER Francois
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reorganization.
parent
e23d60da
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
18 deletions
+29
-18
src/interface.ml
src/interface.ml
+22
-12
src/tableBackend.ml
src/tableBackend.ml
+7
-6
No files found.
src/interface.ml
View file @
a3ce6eee
...
...
@@ -100,19 +100,16 @@ let monolithic_api grammar =
(* The incremental API. *)
let
incremental_api
grammar
()
=
let
incremental_engine
()
:
module_type
=
with_types
WKDestructive
"MenhirLib.IncrementalEngine.INCREMENTAL_ENGINE"
[
[]
,
"token"
,
(* NOT [tctoken], which is qualified if [--external-tokens] is used *)
TokenType
.
ttoken
]
IIComment
"The incremental API."
::
IIModule
(
interpreter
,
with_types
WKDestructive
"MenhirLib.IncrementalEngine.INCREMENTAL_ENGINE"
[
[]
,
"token"
,
(* NOT [tctoken], which is qualified if [--external-tokens] is used *)
TokenType
.
ttoken
]
)
::
let
incremental_entry_points
grammar
:
interface
=
IIComment
"The entry point(s) to the incremental API."
::
IIModule
(
incremental
,
MTSigEnd
[
...
...
@@ -125,6 +122,19 @@ let incremental_api grammar () =
[]
let
incremental_api
grammar
()
:
interface
=
IIModule
(
interpreter
,
MTSigEnd
(
IIComment
"The incremental API."
::
IIInclude
(
incremental_engine
()
)
::
[]
)
)
::
incremental_entry_points
grammar
(* -------------------------------------------------------------------------- *)
(* The inspection API. *)
...
...
src/tableBackend.ml
View file @
a3ce6eee
...
...
@@ -963,12 +963,6 @@ let program =
MApp
(
MVar
make
,
MVar
tables
)
)
::
SIValDefs
(
false
,
monolithic_api
)
::
SIModuleDef
(
incremental
,
MStruct
[
SIValDefs
(
false
,
incremental_api
)
])
::
listiflazy
Settings
.
inspection
(
fun
()
->
[
SIModuleDef
(
inspection
,
MStruct
(
...
...
@@ -1015,8 +1009,15 @@ let program =
[]
))
])
@
SIValDefs
(
false
,
monolithic_api
)
::
SIModuleDef
(
incremental
,
MStruct
[
SIValDefs
(
false
,
incremental_api
)
])
::
SIStretch
grammar
.
postludes
::
[]
)]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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