[libmarpa-r2-perl] 10/14: Adding marpa_g_force_valued(): t+
Jonas Smedegaard
dr at jones.dk
Sat May 17 21:24:08 UTC 2014
This is an automated email from the git hooks/post-receive script.
js pushed a commit to annotated tag Marpa-R2-2.085_003
in repository libmarpa-r2-perl.
commit 1f0ff79cc3fbdb4847c757353b40cf9f67d55c44
Author: Jeffrey Kegler <JKEGL at cpan.org>
Date: Sun Apr 20 23:47:22 2014 -0700
Adding marpa_g_force_valued(): t+
---
cpan/libmarpa/dev/Makefile | 6 ++---
cpan/libmarpa/dev/api.texi | 55 +++++++++++++++++++++++++++++-----------------
2 files changed, 37 insertions(+), 24 deletions(-)
diff --git a/cpan/libmarpa/dev/Makefile b/cpan/libmarpa/dev/Makefile
index 18d321f..c9b043c 100644
--- a/cpan/libmarpa/dev/Makefile
+++ b/cpan/libmarpa/dev/Makefile
@@ -74,12 +74,10 @@ docs: marpa.pdf legacy.pdf
update_texi:
emacs -batch api.texi \
- -f texinfo-every-node-update \
- -f texinfo-all-menus-update \
+ -eval '(texinfo-master-menu 1)' \
-f save-buffer -kill
emacs -batch internal.texi \
- -f texinfo-every-node-update \
- -f texinfo-all-menus-update \
+ -eval '(texinfo-master-menu 1)' \
-f save-buffer -kill
CLEAN_FILES = marpa.c marpa.c.p10 marpa.c.p40 marpa.c.p50 \
diff --git a/cpan/libmarpa/dev/api.texi b/cpan/libmarpa/dev/api.texi
index 67ccb73..5045914 100644
--- a/cpan/libmarpa/dev/api.texi
+++ b/cpan/libmarpa/dev/api.texi
@@ -109,10 +109,6 @@ Earlemes
* The generalized model::
* General rules for the earleme variables::
-Semantics
-
-* How Libmarpa semantics work::
-
Introduction to the external interface
* About the overviews::
@@ -205,11 +201,18 @@ Work in Progress
Untested methods
+* Ranking methods::
+* Zero-width assertion methods::
* Methods for revising parses::
Deprecated techniques and methods
* Valued and unvalued symbols::
+
+Valued and unvalued symbols
+
+* What unvalued symbols were::
+* Grammar methods dealing with unvalued symbols::
* Registering semantics in the valuator::
@end detailmenu
@@ -985,13 +988,6 @@ parse evaluation.
@node Semantics, Threads, Input, Top
@chapter Semantics
- at menu
-* How Libmarpa semantics work::
- at end menu
-
- at node How Libmarpa semantics work, , Semantics, Semantics
- at section How the Libmarpa semantics work
-
Libmarpa handling of semantics is unusual.
Most semantics are left up to the application,
but Libmarpa guides them.
@@ -5128,6 +5124,15 @@ Their fate is uncertain.
Users should regard these methods
as unsupported.
+ at menu
+* Ranking methods::
+* Zero-width assertion methods::
+* Methods for revising parses::
+ at end menu
+
+ at node Ranking methods, Zero-width assertion methods, Untested methods, Untested methods
+ at subsection Ranking methods
+
@deftypefun Marpa_Rank marpa_g_default_rank ( @
Marpa_Grammar @var{g})
@deftypefunx Marpa_Rank marpa_g_default_rank_set ( @
@@ -5196,6 +5201,9 @@ The error code can be determined by using the
@end deftypefun
+ at node Zero-width assertion methods, Methods for revising parses, Ranking methods, Untested methods
+ at subsection Zero-width assertion methods
+
@deftypefun Marpa_Assertion_ID marpa_g_zwa_new ( @
Marpa_Grammar @var{g}, @
int @var{default_value})
@@ -5228,11 +5236,7 @@ On success, returns previous default value of the assertion.
Marpa_Grammar @var{g} )
@end deftypefun
- at menu
-* Methods for revising parses::
- at end menu
-
- at node Methods for revising parses, , Untested methods, Untested methods
+ at node Methods for revising parses, , Zero-width assertion methods, Untested methods
@subsection Methods for revising parses
Marpa allows an application to ``change its mind'' about a parse,
@@ -5250,12 +5254,20 @@ The methods in this section provide that capability.
@menu
* Valued and unvalued symbols::
-* Registering semantics in the valuator::
@end menu
- at node Valued and unvalued symbols, Registering semantics in the valuator, Deprecated techniques and methods, Deprecated techniques and methods
+ at node Valued and unvalued symbols, , Deprecated techniques and methods, Deprecated techniques and methods
@section Valued and unvalued symbols
+ at menu
+* What unvalued symbols were::
+* Grammar methods dealing with unvalued symbols::
+* Registering semantics in the valuator::
+ at end menu
+
+ at node What unvalued symbols were, Grammar methods dealing with unvalued symbols, Valued and unvalued symbols, Valued and unvalued symbols
+ at subsection What unvalued symbols were
+
Libmarpa symbols can have values,
which is the traditional way of doing semantics.
Libmarpa also allows symbols to be unvalued.
@@ -5311,6 +5323,9 @@ conflicts with its locked valued status.
Doing so usually saves the programmer
some tricky debugging further down the road.
+ at node Grammar methods dealing with unvalued symbols, Registering semantics in the valuator, What unvalued symbols were, Valued and unvalued symbols
+ at subsection Grammar methods dealing with unvalued symbols
+
@deftypefun int marpa_g_symbol_is_valued ( @
Marpa_Grammar @var{g}, @
Marpa_Symbol_ID @var{symbol_id})
@@ -5340,8 +5355,8 @@ or on other failure, @minus{}2.
@end deftypefun
- at node Registering semantics in the valuator, , Valued and unvalued symbols, Deprecated techniques and methods
- at section Registering semantics in the valuator
+ at node Registering semantics in the valuator, , Grammar methods dealing with unvalued symbols, Valued and unvalued symbols
+ at subsection Registering semantics in the valuator
By default, Libmarpa's valuator objects
assume that
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmarpa-r2-perl.git
More information about the Pkg-perl-cvs-commits
mailing list