Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
POTTIER Francois
menhir
Commits
ce38cd7d
Commit
ce38cd7d
authored
Jul 03, 2015
by
POTTIER Francois
Browse files
Published [minimal_symbol].
parent
b0775274
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/grammar.ml
View file @
ce38cd7d
...
...
@@ -1254,6 +1254,7 @@ module Analysis = struct
let
follow
=
follow
let
minimal_symbol
=
MINIMAL
.
symbol
let
minimal_prod
=
MINIMAL
.
production
end
...
...
src/grammar.mli
View file @
ce38cd7d
...
...
@@ -401,8 +401,13 @@ module Analysis : sig
val
follow
:
Nonterminal
.
t
->
TerminalSet
.
t
(* [minimal_symbol sym] is the minimal length of a word generated by
the symbol [sym]. *)
val
minimal_symbol
:
Symbol
.
t
->
Terminal
.
t
CompletedNatWitness
.
t
(* [minimal_prod prod i] is the minimal length of a word generated
by
by
[prod/i], i.e., the suffix of production [prod] defined by
by [prod/i], i.e., the suffix of production [prod] defined by
offset [i]. *)
val
minimal_prod
:
Production
.
index
->
int
->
Terminal
.
t
CompletedNatWitness
.
t
...
...
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