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
ce38fc99
Commit
ce38fc99
authored
Jan 15, 2015
by
POTTIER Francois
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Comment and TODO item.
parent
0a0f45f1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
TODO
TODO
+8
-0
src/IncrementalEngine.ml
src/IncrementalEngine.ml
+2
-1
No files found.
TODO
View file @
ce38fc99
* Check that the LR(0) items never have an empty left segment
(i.e. i > 0 always holds) and that their left segments are
comparable wrt to the suffix ordering.
* Define [print_result].
Define a printer that shows the states in the stack.
Try computing a set of expected symbols in the current state.
* Generate default printers for terminal and nonterminal.
* Generate default printers for terminal and nonterminal.
* IncrementalEngine: document [lr1state], [element], [view].
* IncrementalEngine: document [lr1state], [element], [view].
...
...
src/IncrementalEngine.ml
View file @
ce38fc99
...
@@ -183,7 +183,8 @@ module type INSPECTION = sig
...
@@ -183,7 +183,8 @@ module type INSPECTION = sig
val
rhs
:
production
->
xsymbol
list
val
rhs
:
production
->
xsymbol
list
(* [items s] is the set of the LR(0) items in the LR(0) core of the LR(1)
(* [items s] is the set of the LR(0) items in the LR(0) core of the LR(1)
state [s]. This set is presented as a list, in an arbitrary order. *)
state [s]. This set is not epsilon-closed. This set is presented as a
list, in an arbitrary order. *)
val
items
:
'
a
lr1state
->
item
list
val
items
:
'
a
lr1state
->
item
list
...
...
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