aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2016-08-08 08:53:46 +0300
committerSergey Poznyakoff <gray@gnu.org>2016-08-08 08:53:46 +0300
commitbd5b7c29986b8106595f35cbe303fc44cf8c4d0d (patch)
tree84b39cc6d228b3642f7105c48162193a05982882 /doc
parent102d1b9c1a94548dfa0c498845c77933db6a7738 (diff)
downloadgrecs-argot.tar.gz
grecs-argot.tar.bz2
Rename the projectargot
Diffstat (limited to 'doc')
-rw-r--r--doc/ARGOT_SETUP.3 (renamed from doc/GRECS_SETUP.3)38
-rw-r--r--doc/Makefile.am32
-rw-r--r--doc/argot-syntax.texi (renamed from doc/grecs-syntax.texi)8
-rw-r--r--doc/argot_asprintf.3 (renamed from doc/grecs_asprintf.3)28
-rw-r--r--doc/argot_config.5 (renamed from doc/grecs_config.5)20
-rw-r--r--doc/argot_error.3 (renamed from doc/grecs_error.3)48
-rw-r--r--doc/argot_format_locus.3 (renamed from doc/grecs_format_locus.3)32
-rw-r--r--doc/argot_format_node.3 (renamed from doc/grecs_format_node.3)56
-rw-r--r--doc/argot_format_node_path.3 (renamed from doc/grecs_format_node_path.3)36
-rw-r--r--doc/argot_format_value.3 (renamed from doc/grecs_format_value.3)30
-rw-r--r--doc/argot_include_path_setup.3 (renamed from doc/grecs_include_path_setup.3)26
-rw-r--r--doc/argot_malloc.3 (renamed from doc/grecs_malloc.3)72
-rw-r--r--doc/argot_node_free.3 (renamed from doc/grecs_node_free.3)20
-rw-r--r--doc/argot_parse.3 (renamed from doc/grecs_parse.3)92
-rw-r--r--doc/argot_stmt_path.5 (renamed from doc/grecs_stmt_path.5)12
-rw-r--r--doc/argot_strdup.3 (renamed from doc/grecs_strdup.3)24
-rw-r--r--doc/argot_tree_free.3 (renamed from doc/grecs_tree_free.3)20
-rw-r--r--doc/tmpl.310
-rw-r--r--doc/wordsplit.36
19 files changed, 305 insertions, 305 deletions
diff --git a/doc/GRECS_SETUP.3 b/doc/ARGOT_SETUP.3
index 8aa086a..3c18d1e 100644
--- a/doc/GRECS_SETUP.3
+++ b/doc/ARGOT_SETUP.3
@@ -1,2 +1,2 @@
-.\" This file is part of grecs -*- nroff -*-
+.\" This file is part of argot -*- nroff -*-
.\" Copyright (C) 2007-2016 Sergey Poznyakoff
@@ -16,10 +16,10 @@
.\"
-.TH GRECS_SETUP 3 "August 13, 2012" "GRECS" "Grecs User Reference"
+.TH ARGOT_SETUP 3 "August 13, 2012" "ARGOT" "Grecs User Reference"
.SH NAME
-GRECS_SETUP \- Initialize \fBgrecs\fR submodule.
+ARGOT_SETUP \- Initialize \fBargot\fR submodule.
.SH SYNOPSIS
-.BI "GRECS_SETUP(" "dir" ", " "options" ", " "pp-setup-file" )
+.BI "ARGOT_SETUP(" "dir" ", " "options" ", " "pp-setup-file" )
.SH DESCRIPTION
-The \fBGRECS_SETUP\fR macro is invoked from the host project's
-\fBconfigure.ac\fR. It initializes the \fBgrecs\fR submodule
+The \fBARGOT_SETUP\fR macro is invoked from the host project's
+\fBconfigure.ac\fR. It initializes the \fBargot\fR submodule
variables for compilation within that project.
@@ -31,11 +31,11 @@ The
argument specifies the directory, relative to the source tree top,
-where \fBgrecs\fR has been cloned. If omitted, \fBgrecs\fR is assumed.
+where \fBargot\fR has been cloned. If omitted, \fBargot\fR is assumed.
.sp
-For example, if \fBgrecs\fR was cloned using the following command:
+For example, if \fBargot\fR was cloned using the following command:
.sp
.nf
- git clone ssh://git.gnu.org.ua/gitroot/grecs.git lib/grecs
+ git clone ssh://git.gnu.org.ua/gitroot/argot.git lib/argot
.fi
.sp
-then the \fIdir\fR argument must be \fBlib/grecs\fR.
+then the \fIdir\fR argument must be \fBlib/argot\fR.
.PP
@@ -65,3 +65,3 @@ Disable the use of preprocessor.
.B install
-Create and install shared library \fBlibgrecs.so\fR. Install the
+Create and install shared library \fBlibargot.so\fR. Install the
documentation as well.
@@ -70,3 +70,3 @@ documentation as well.
Create a shared convenience library. By default, a static library is
-created. Use this option if you want to incorporate grecs into another
+created. Use this option if you want to incorporate argot into another
shared library.
@@ -77,3 +77,3 @@ with \fBshared\fR. Header files will be installed in
\fBpkgincludedir\fR. To select another installation directory, define
-the variable \fBGRECS_INCLUDE_DIR\fR to the name of that directory.
+the variable \fBARGOT_INCLUDE_DIR\fR to the name of that directory.
.TP
@@ -100,3 +100,3 @@ in \fIdir\fR/build-aux.
.B syntax-doc
-Add \fBdoc/grecs-syntax.texi\fR file to the distributed tarball. Use this
+Add \fBdoc/argot-syntax.texi\fR file to the distributed tarball. Use this
if your texinfo documentation includes that file.
@@ -119,3 +119,3 @@ parameter are supplied, no preprocessor setup file is installed.
.nf
-GRECS_SETUP
+ARGOT_SETUP
.fi
@@ -123,3 +123,3 @@ GRECS_SETUP
.SS "Complex setup"
-The library sources are in \fBlib/grecs\fR. Configure the testsuite
+The library sources are in \fBlib/argot\fR. Configure the testsuite
and add the \fBgetopt.m4\fR file to the distribution. Install
@@ -129,3 +129,3 @@ preprocessor setup file from \fBsrc/pp-setup\fR:
.nf
-GRECS_SETUP(lib/grecs, [tests getopt], [$(top_srcdir)/src/pp-setup])
+ARGOT_SETUP(lib/argot, [tests getopt], [$(top_srcdir)/src/pp-setup])
.RE
@@ -137,3 +137,3 @@ Sergey Poznyakoff
.SH "BUG REPORTS"
-Report bugs to <gray+grecs@gnu.org.ua>.
+Report bugs to <gray+argot@gnu.org.ua>.
.SH COLOPHON
@@ -141,3 +141,3 @@ The \fBGrecs\fR library is constantly changing, so this manual page
may be incorrect or out-of-date. For the latest copy of \fBGrecs\fR
-documentation, visit <http://www.gnu.org.ua/software/grecs>.
+documentation, visit <http://www.gnu.org.ua/software/argot>.
.SH COPYRIGHT
diff --git a/doc/Makefile.am b/doc/Makefile.am
index a646367..ac32a36 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -1,2 +1,2 @@
-# This file is part of grecs - Gray's Extensible Configuration System
+# This file is part of argot - Gray's Extensible Configuration System
# Copyright (C) 2007-2016 Sergey Poznyakoff
@@ -17,17 +17,17 @@
dist_man_MANS = \
- GRECS_SETUP.3\
- grecs_asprintf.3\
- grecs_config.5\
- grecs_error.3\
- grecs_format_locus.3\
- grecs_format_node_path.3\
- grecs_format_node.3\
- grecs_format_value.3\
- grecs_include_path_setup.3\
- grecs_malloc.3\
- grecs_node_free.3\
- grecs_parse.3\
- grecs_stmt_path.5\
- grecs_strdup.3\
- grecs_tree_free.3
+ ARGOT_SETUP.3\
+ argot_asprintf.3\
+ argot_config.5\
+ argot_error.3\
+ argot_format_locus.3\
+ argot_format_node_path.3\
+ argot_format_node.3\
+ argot_format_value.3\
+ argot_include_path_setup.3\
+ argot_malloc.3\
+ argot_node_free.3\
+ argot_parse.3\
+ argot_stmt_path.5\
+ argot_strdup.3\
+ argot_tree_free.3
diff --git a/doc/grecs-syntax.texi b/doc/argot-syntax.texi
index 2ddedea..db81133 100644
--- a/doc/grecs-syntax.texi
+++ b/doc/argot-syntax.texi
@@ -1,2 +1,2 @@
-@c This file is part of grecs - Gray's Extensible Configuration System
+@c This file is part of argot - Gray's Extensible Configuration System
@c Copyright (C) 2007-2016 Sergey Poznyakoff
@@ -22,3 +22,3 @@
@c @raisesections
-@c @include grecs-syntax.texi
+@c @include argot-syntax.texi
@c @lowersections
@@ -221,4 +221,4 @@ above, the backslash is ignored and a warning is issued.
-@c FIXME: If grecs_parser_options variable has
-@c FIXME: GRECS_OPTION_QUOTED_STRING_CONCAT bit set, then the
+@c FIXME: If argot_parser_options variable has
+@c FIXME: ARGOT_OPTION_QUOTED_STRING_CONCAT bit set, then the
@c FIXME: following holds:
diff --git a/doc/grecs_asprintf.3 b/doc/argot_asprintf.3
index 25279be..fa86190 100644
--- a/doc/grecs_asprintf.3
+++ b/doc/argot_asprintf.3
@@ -1,2 +1,2 @@
-.\" This file is part of grecs -*- nroff -*-
+.\" This file is part of argot -*- nroff -*-
.\" Copyright (C) 2007-2016 Sergey Poznyakoff
@@ -16,10 +16,10 @@
.\"
-.TH GRECS_ASPRINTF 3 "May 4, 2011" "GRECS" "Grecs User Reference"
+.TH ARGOT_ASPRINTF 3 "May 4, 2011" "ARGOT" "Grecs User Reference"
.SH NAME
-grecs_asprintf, grecs_vasprintf \- print to allocated string
+argot_asprintf, argot_vasprintf \- print to allocated string
.SH SYNOPSIS
.nf
-.B #include <grecs.h>
+.B #include <argot.h>
.sp
-.BI "int grecs_vasprintf(char " "**pbuf" ", size_t " "*psize" \
+.BI "int argot_vasprintf(char " "**pbuf" ", size_t " "*psize" \
", const char " "*format" ", "
@@ -28,3 +28,3 @@ grecs_asprintf, grecs_vasprintf \- print to allocated string
.br
-.BI "int grecs_asprintf(char " "**pbuf" ", size_t " "*psize" \
+.BI "int argot_asprintf(char " "**pbuf" ", size_t " "*psize" \
", const char *" "format" ", ...);"
@@ -32,5 +32,5 @@ grecs_asprintf, grecs_vasprintf \- print to allocated string
The functions
-.BI grecs_asprintf ()
+.BI argot_asprintf ()
and
-.BI grecs_vasprintf ()
+.BI argot_vasprintf ()
are analogs of
@@ -54,5 +54,5 @@ In both cases, if the buffer has been reallocated, on return
For initial allocation,
-.BR grecs_malloc (3)
+.BR argot_malloc (3)
is used. To reallocate memory, both functions use
-.BR grecs_realloc (3).
+.BR argot_realloc (3).
.SH RETURN VALUE
@@ -61,4 +61,4 @@ program is terminated.
.SH "SEE ALSO"
-.BR grecs_malloc (3),
-.BR grecs_realloc (3).
+.BR argot_malloc (3),
+.BR argot_realloc (3).
.SH AUTHORS
@@ -66,3 +66,3 @@ Sergey Poznyakoff
.SH "BUG REPORTS"
-Report bugs to <gray+grecs@gnu.org.ua>.
+Report bugs to <gray+argot@gnu.org.ua>.
.SH COLOPHON
@@ -70,3 +70,3 @@ The \fBGrecs\fR library is constantly changing, so this manual page
may be incorrect or out-of-date. For the latest copy of \fBGrecs\fR
-documentation, visit <http://www.gnu.org.ua/software/grecs>.
+documentation, visit <http://www.gnu.org.ua/software/argot>.
.SH COPYRIGHT
diff --git a/doc/grecs_config.5 b/doc/argot_config.5
index 5fdaed4..abd6420 100644
--- a/doc/grecs_config.5
+++ b/doc/argot_config.5
@@ -1,2 +1,2 @@
-.\" This file is part of grecs -*- nroff -*-
+.\" This file is part of argot -*- nroff -*-
.\" Copyright (C) 2007-2016 Sergey Poznyakoff
@@ -16,3 +16,3 @@
.\"
-.TH GRECS_CONFIG 3 "December 25, 2014" "GRECS" "Grecs User Reference"
+.TH ARGOT_CONFIG 3 "December 25, 2014" "ARGOT" "Grecs User Reference"
.SH NAME
@@ -96,7 +96,7 @@ its version number.
The include search path can be modified using the
-.BI grecs_include_path_setup ()
+.BI argot_include_path_setup ()
and
-.BI grecs_include_path_setup_v ()
+.BI argot_include_path_setup_v ()
functions. Refer to
-.BR grecs_include_path_setup (3),
+.BR argot_include_path_setup (3),
for a detailed discussion.
@@ -325,5 +325,5 @@ well.
.BR m4 (1),
-.BR grecs_parse (3),
-.BR grecs_include_path_setup (3),
-.BR grecs_tree_process (3).
+.BR argot_parse (3),
+.BR argot_include_path_setup (3),
+.BR argot_tree_process (3).
.SH AUTHORS
@@ -331,3 +331,3 @@ Sergey Poznyakoff
.SH "BUG REPORTS"
-Report bugs to <gray+grecs@gnu.org.ua>.
+Report bugs to <gray+argot@gnu.org.ua>.
.SH COLOPHON
@@ -335,3 +335,3 @@ The \fBGrecs\fR library is constantly changing, so this manual page
may be incorrect or out-of-date. For the latest copy of \fBGrecs\fR
-documentation, visit <http://www.gnu.org.ua/software/grecs>.
+documentation, visit <http://www.gnu.org.ua/software/argot>.
.SH COPYRIGHT
diff --git a/doc/grecs_error.3 b/doc/argot_error.3
index a020d36..ab623dc 100644
--- a/doc/grecs_error.3
+++ b/doc/argot_error.3
@@ -1,2 +1,2 @@
-.\" This file is part of grecs -*- nroff -*-
+.\" This file is part of argot -*- nroff -*-
.\" Copyright (C) 2007-2016 Sergey Poznyakoff
@@ -16,10 +16,10 @@
.\"
-.TH GRECS_ERROR 3 "July 1, 2011" "GRECS" "Grecs User Reference"
+.TH ARGOT_ERROR 3 "July 1, 2011" "ARGOT" "Grecs User Reference"
.SH NAME
-grecs_error, grecs_warning \- grecs error reporting functions
+argot_error, argot_warning \- argot error reporting functions
.SH SYNOPSIS
.nf
-.B #include <grecs.h>
+.B #include <argot.h>
.sp
-.BI "void grecs_error(grecs_locus_t " "*locus" ", int " "errnum" ", "
+.BI "void argot_error(argot_locus_t " "*locus" ", int " "errnum" ", "
.ti +17
@@ -27,3 +27,3 @@ grecs_error, grecs_warning \- grecs error reporting functions
.br
-.BI "void grecs_warning(grecs_locus_t " "*locus" ", int " "errnum" ", "
+.BI "void argot_warning(argot_locus_t " "*locus" ", int " "errnum" ", "
.ti +17
@@ -31,3 +31,3 @@ grecs_error, grecs_warning \- grecs error reporting functions
.sp
-.BI "void (*grecs_print_diag_fun)(grecs_locus_t " "*locus" ", "
+.BI "void (*argot_print_diag_fun)(argot_locus_t " "*locus" ", "
.ti +17
@@ -35,6 +35,6 @@ grecs_error, grecs_warning \- grecs error reporting functions
.sp
-.B extern int grecs_error_count;
+.B extern int argot_error_count;
.SH DESCRIPTION
-.BI grecs_error ()
-is a error reporting function for \fBgrecs\fR library. It flushes
+.BI argot_error ()
+is a error reporting function for \fBargot\fR library. It flushes
stdout, and outputs to stderr the file name and line number, as
@@ -54,10 +54,10 @@ printed.
Each call to
-.BI grecs_error ()
+.BI argot_error ()
increments the value of the
-.BI grecs_error_count
+.BI argot_error_count
global variable.
The
-.BI grecs_warning ()
+.BI argot_warning ()
function works the same as
-.BI grecs_error (),
+.BI argot_error (),
except that it outputs, before the formatted message and after the
@@ -65,3 +65,3 @@ file location, the word \fBwarning\fR, followed by a semicolon
and a space character. It does not modify the
-.BI grecs_error_count
+.BI argot_error_count
variable.
@@ -69,3 +69,3 @@ variable.
Calling program can modify the behavior of both functions by setting
-.BI grecs_print_diag_fun
+.BI argot_print_diag_fun
to the address of a custom error-reporting function. This function is
@@ -88,3 +88,3 @@ Formatted message.
.PP
-The \fBgrecs_locus_t\fR structure consists of two \fBpoints\fR, each
+The \fBargot_locus_t\fR structure consists of two \fBpoints\fR, each
point describing the beginning and the end of the input fragment in
@@ -94,3 +94,3 @@ question:
.in +5
-struct grecs_locus_point {
+struct argot_locus_point {
char *file;
@@ -100,5 +100,5 @@ struct grecs_locus_point {
typedef struct {
- struct grecs_locus_point beg;
- struct grecs_locus_point end;
-} grecs_locus_t;
+ struct argot_locus_point beg;
+ struct argot_locus_point end;
+} argot_locus_t;
.in
@@ -111,3 +111,3 @@ contains the column number. Both lines and columns are numbered from
.PP
-On output, the \fBgrecs_locus_t\fR structure is formatted as follows:
+On output, the \fBargot_locus_t\fR structure is formatted as follows:
.sp
@@ -162,3 +162,3 @@ Sergey Poznyakoff
.SH "BUG REPORTS"
-Report bugs to <gray+grecs@gnu.org.ua>.
+Report bugs to <gray+argot@gnu.org.ua>.
.SH COLOPHON
@@ -166,3 +166,3 @@ The \fBGrecs\fR library is constantly changing, so this manual page
may be incorrect or out-of-date. For the latest copy of \fBGrecs\fR
-documentation, visit <http://www.gnu.org.ua/software/grecs>.
+documentation, visit <http://www.gnu.org.ua/software/argot>.
.SH COPYRIGHT
diff --git a/doc/grecs_format_locus.3 b/doc/argot_format_locus.3
index 5ab3542..52bfc3d 100644
--- a/doc/grecs_format_locus.3
+++ b/doc/argot_format_locus.3
@@ -1,2 +1,2 @@
-.\" This file is part of grecs -*- nroff -*-
+.\" This file is part of argot -*- nroff -*-
.\" Copyright (C) 2007-2016 Sergey Poznyakoff
@@ -16,17 +16,17 @@
.\"
-.TH GRECS_FORMAT_LOCUS 3 "May 19, 2011" "GRECS" "Grecs User Reference"
+.TH ARGOT_FORMAT_LOCUS 3 "May 19, 2011" "ARGOT" "Grecs User Reference"
.SH NAME
-grecs_format_locus \- format and output source file location
+argot_format_locus \- format and output source file location
.SH SYNOPSIS
.nf
-.B #include <grecs.h>
+.B #include <argot.h>
.sp
-.BI "void grecs_format_locus(grecs_locus_t " "*locus" ","
+.BI "void argot_format_locus(argot_locus_t " "*locus" ","
.ti +17
-.BI "struct grecs_format_closure " "*clos" );
+.BI "struct argot_format_closure " "*clos" );
.sp
-.BI "void grecs_print_locus(grecs_locus_t " "*locus" ", FILE " "*fp" );
+.BI "void argot_print_locus(argot_locus_t " "*locus" ", FILE " "*fp" );
.SH DESCRIPTION
-\fBgrecs_print_locus\fR formats the location from \fIlocus\fR in the
+\fBargot_print_locus\fR formats the location from \fIlocus\fR in the
human-readable form and outputs it using the format closure
@@ -36,3 +36,3 @@ human-readable form and outputs it using the format closure
.in +5
-struct grecs_format_closure
+struct argot_format_closure
{
@@ -49,3 +49,3 @@ the string to be output as its first argument, and pointer to
.PP
-\fBgrecs_print_locus\fR is an alternative interface, which formats the
+\fBargot_print_locus\fR is an alternative interface, which formats the
location from \fIlocus\fR in the human-readable form and outputs it to
@@ -62,9 +62,9 @@ None.
This are auxiliary functions used by
-.BR grecs_format_node (3)
+.BR argot_format_node (3)
and
-.BR grecs_print_node (3),
+.BR argot_print_node (3),
correspondingly. They are is seldom needed in user programs.
.SH "SEE ALSO"
-.BR grecs_format_node (3),
-.BR grecs_print_node (3).
+.BR argot_format_node (3),
+.BR argot_print_node (3).
.SH AUTHORS
@@ -72,3 +72,3 @@ Sergey Poznyakoff
.SH "BUG REPORTS"
-Report bugs to <gray+grecs@gnu.org.ua>.
+Report bugs to <gray+argot@gnu.org.ua>.
.SH COLOPHON
@@ -76,3 +76,3 @@ The \fBGrecs\fR library is constantly changing, so this manual page
may be incorrect or out-of-date. For the latest copy of \fBGrecs\fR
-documentation, visit <http://www.gnu.org.ua/software/grecs>.
+documentation, visit <http://www.gnu.org.ua/software/argot>.
.SH COPYRIGHT
diff --git a/doc/grecs_format_node.3 b/doc/argot_format_node.3
index bf2b8db..3e0a9fb 100644
--- a/doc/grecs_format_node.3
+++ b/doc/argot_format_node.3
@@ -1,2 +1,2 @@
-.\" This file is part of grecs -*- nroff -*-
+.\" This file is part of argot -*- nroff -*-
.\" Copyright (C) 2007-2016 Sergey Poznyakoff
@@ -16,18 +16,18 @@
.\"
-.TH GRECS_FORMAT_NODE 3 "May 19, 2011" "GRECS" "Grecs User Reference"
+.TH ARGOT_FORMAT_NODE 3 "May 19, 2011" "ARGOT" "Grecs User Reference"
.SH NAME
-grecs_format_node \- format and print a single node from a syntax tree
+argot_format_node \- format and print a single node from a syntax tree
.SH SYNOPSIS
.nf
-.B #include <grecs.h>
+.B #include <argot.h>
.sp
-.BI "void grecs_format_node(struct grecs_node *" "node" ", int " \
+.BI "void argot_format_node(struct argot_node *" "node" ", int " \
"flags" ","
.ti +17
-.BI "struct grecs_format_closure " "*clos" );
+.BI "struct argot_format_closure " "*clos" );
.sp
-.BI "void grecs_print_node(struct grecs_node *" "node" ", int " \
+.BI "void argot_print_node(struct argot_node *" "node" ", int " \
"flags" ", FILE " "*fp" );
.SH DESCRIPTION
-\fBgrecs_format_node\fR formats the contents of a parse tree node
+\fBargot_format_node\fR formats the contents of a parse tree node
\fInode\fR, according to formatting options, given by \fIflags\fR. The
@@ -35,3 +35,3 @@ formatter closure \fIclos\fR is used for actual output.
.PP
-\fBgrecs_print_node\fR is an alternative entry point, which formats
+\fBargot_print_node\fR is an alternative entry point, which formats
the node to the given file.
@@ -45,3 +45,3 @@ of the default dot.
.TP
-.B GRECS_NODE_FLAG_LOCUS
+.B ARGOT_NODE_FLAG_LOCUS
Print the source location. The location is printed as the file name,
@@ -51,5 +51,5 @@ space character.
.TP
-.B GRECS_NODE_FLAG_PATH
+.B ARGOT_NODE_FLAG_PATH
Print the \fInode path\fR. See
-.BR grecs_stmt_path (5),
+.BR argot_stmt_path (5),
for a description. If printed, the path is separated from the
@@ -57,6 +57,6 @@ remaining output on its right by a semicolon and a space.
.TP
-.B GRECS_NODE_FLAG_VALUE
+.B ARGOT_NODE_FLAG_VALUE
Print the node value.
.TP
-.B GRECS_NODE_FLAG_QUOTE
+.B ARGOT_NODE_FLAG_QUOTE
Always quote the value. By default, the value will be quoted only
@@ -64,14 +64,14 @@ when necessary, i.e. if it contains white space, quotes or special
characters. This option is useful only together with
-\fBGRECS_NODE_FLAG_VALUE\fR.
+\fBARGOT_NODE_FLAG_VALUE\fR.
.TP
-.B GRECS_NODE_FLAG_NOQUOTE
-Never quote values. If both \fBGRECS_NODE_FLAG_QUOTE\fR and
-\fBGRECS_NODE_FLAG_NOQUOTE\fR are given, the former takes precedence
+.B ARGOT_NODE_FLAG_NOQUOTE
+Never quote values. If both \fBARGOT_NODE_FLAG_QUOTE\fR and
+\fBARGOT_NODE_FLAG_NOQUOTE\fR are given, the former takes precedence
over the latter.
.TP
-.B GRECS_NODE_FLAG_QUOTE_HEX
+.B ARGOT_NODE_FLAG_QUOTE_HEX
Print non-printable characters as C hex escapets. This option is
-ignored if \fBGRECS_NODE_FLAG_NOQUOTE\fR is set.
+ignored if \fBARGOT_NODE_FLAG_NOQUOTE\fR is set.
.TP
-.B GRECS_NODE_FLAG_DEFAULT
+.B ARGOT_NODE_FLAG_DEFAULT
Same as
@@ -79,5 +79,5 @@ Same as
.nf
-GRECS_NODE_FLAG_PATH|GRECS_NODE_FLAG_VALUE|GRECS_NODE_FLAG_QUOTE
+ARGOT_NODE_FLAG_PATH|ARGOT_NODE_FLAG_VALUE|ARGOT_NODE_FLAG_QUOTE
.PP
-If \fBflag\fR is 0, \fBGRECS_NODE_FLAG_DEFAULT\fR is assumed.
+If \fBflag\fR is 0, \fBARGOT_NODE_FLAG_DEFAULT\fR is assumed.
.SH CLOSURE
@@ -87,3 +87,3 @@ The format closure is defined as:
.in +5
-struct grecs_format_closure
+struct argot_format_closure
{
@@ -102,4 +102,4 @@ None.
.SH "SEE ALSO"
-.BR grecs_config (5),
-.BR grecs_stmt_path (5).
+.BR argot_config (5),
+.BR argot_stmt_path (5).
.SH AUTHORS
@@ -107,3 +107,3 @@ Sergey Poznyakoff
.SH "BUG REPORTS"
-Report bugs to <gray+grecs@gnu.org.ua>.
+Report bugs to <gray+argot@gnu.org.ua>.
.SH COLOPHON
@@ -111,3 +111,3 @@ The \fBGrecs\fR library is constantly changing, so this manual page
may be incorrect or out-of-date. For the latest copy of \fBGrecs\fR
-documentation, visit <http://www.gnu.org.ua/software/grecs>.
+documentation, visit <http://www.gnu.org.ua/software/argot>.
.SH COPYRIGHT
diff --git a/doc/grecs_format_node_path.3 b/doc/argot_format_node_path.3
index 0d4fa85..e85e2bb 100644
--- a/doc/grecs_format_node_path.3
+++ b/doc/argot_format_node_path.3
@@ -1,2 +1,2 @@
-.\" This file is part of grecs -*- nroff -*-
+.\" This file is part of argot -*- nroff -*-
.\" Copyright (C) 2007-2016 Sergey Poznyakoff
@@ -16,5 +16,5 @@
.\"
-.TH GRECS_FORMAT_NODE_PATH 3 "May 19, 2011" "GRECS" "Grecs User Reference"
+.TH ARGOT_FORMAT_NODE_PATH 3 "May 19, 2011" "ARGOT" "Grecs User Reference"
.SH NAME
-grecs_format_node_path \- format and output statement pathname for the
+argot_format_node_path \- format and output statement pathname for the
node
@@ -22,19 +22,19 @@ node
.nf
-.B #include <grecs.h>
+.B #include <argot.h>
.sp
-.BI "void grecs_format_node_path(struct grecs_node " "*node" ", int " \
+.BI "void argot_format_node_path(struct argot_node " "*node" ", int " \
"flag" ", "
.ti +17
-.BI "struct grecs_format_closure " "*clos" );
+.BI "struct argot_format_closure " "*clos" );
.sp
-.BI "void grecs_print_node_path(struct grecs_node " "*node" ", int " \
+.BI "void argot_print_node_path(struct argot_node " "*node" ", int " \
"flag" ", FILE " "*fp" );
.SH DESCRIPTION
-\fBgrecs_format_node_path\fR computes the \fIstatement pathname\fR for
+\fBargot_format_node_path\fR computes the \fIstatement pathname\fR for
the \fInode\fR, and outputs it using the closure \fIclos\fR. See
section \fBCLOSURE\fR in
-.BR grecs_format_node (3),
-for a description of struct grecs_format_closure.
+.BR argot_format_node (3),
+for a description of struct argot_format_closure.
.PP
-\fBgrecs_print_node_path\fR is an alternative interface that outputs
+\fBargot_print_node_path\fR is an alternative interface that outputs
the formatted data to the file.
@@ -44,3 +44,3 @@ component separator and how to format the statement tag, if \fInode\fR
refers to a block statement. See
-.BR grecs_format_node (3),
+.BR argot_format_node (3),
for a discussion of available flags.
@@ -50,9 +50,9 @@ None.
This are auxiliary functions used by
-.BR grecs_format_node (3)
+.BR argot_format_node (3)
and
-.BR grecs_print_node (3),
+.BR argot_print_node (3),
correspondingly. They are is seldom needed in user programs.
.SH "SEE ALSO"
-.BR grecs_format_node (3),
-.BR grecs_stmt_path (5).
+.BR argot_format_node (3),
+.BR argot_stmt_path (5).
.SH AUTHORS
@@ -60,3 +60,3 @@ Sergey Poznyakoff
.SH "BUG REPORTS"
-Report bugs to <gray+grecs@gnu.org.ua>.
+Report bugs to <gray+argot@gnu.org.ua>.
.SH COLOPHON
@@ -64,3 +64,3 @@ The \fBGrecs\fR library is constantly changing, so this manual page
may be incorrect or out-of-date. For the latest copy of \fBGrecs\fR
-documentation, visit <http://www.gnu.org.ua/software/grecs>.
+documentation, visit <http://www.gnu.org.ua/software/argot>.
.SH COPYRIGHT
diff --git a/doc/grecs_format_value.3 b/doc/argot_format_value.3
index bfd90a2..73a667c 100644
--- a/doc/grecs_format_value.3
+++ b/doc/argot_format_value.3
@@ -1,2 +1,2 @@
-.\" This file is part of grecs -*- nroff -*-
+.\" This file is part of argot -*- nroff -*-
.\" Copyright (C) 2007-2016 Sergey Poznyakoff
@@ -16,24 +16,24 @@
.\"
-.TH GRECS_FORMAT_VALUE 3 "May 19, 2011" "GRECS" "Grecs User Reference"
+.TH ARGOT_FORMAT_VALUE 3 "May 19, 2011" "ARGOT" "Grecs User Reference"
.SH NAME
-grecs_format_value \- format and output a configuration value
+argot_format_value \- format and output a configuration value
.SH SYNOPSIS
.nf
-.B #include <grecs.h>
+.B #include <argot.h>
.sp
-.BI "void grecs_format_value(struct grecs_value *" "val" ", int " \
+.BI "void argot_format_value(struct argot_value *" "val" ", int " \
"flags" ", "
.ti +17
-.BI "struct grecs_format_closure " "*clos" );
+.BI "struct argot_format_closure " "*clos" );
.sp
-.BI "void grecs_print_value(struct grecs_value *" "val" ", int " \
+.BI "void argot_print_value(struct argot_value *" "val" ", int " \
"flags" ", FILE " "*fp" );
.SH DESCRIPTION
-\fBgrecs_format_value\fR formats the value \fIval\fR and outputs it
+\fBargot_format_value\fR formats the value \fIval\fR and outputs it
using the formatting closure \fIclos\fR. The \fIflags\fR argument
describes how to format the value. See
-.BR grecs_format_node (3),
+.BR argot_format_node (3),
for a discussion of available flags.
.PP
-\fBgrecs_print_value\fR is an alternative interface that outputs the
+\fBargot_print_value\fR is an alternative interface that outputs the
formatted data to a file.
@@ -43,8 +43,8 @@ None.
This are auxiliary functions used by
-.BR grecs_format_node (3)
+.BR argot_format_node (3)
and
-.BR grecs_print_node (3),
+.BR argot_print_node (3),
correspondingly. They are is seldom needed in user programs.
.SH "SEE ALSO"
-.BR grecs_format_node (3).
+.BR argot_format_node (3).
.SH AUTHORS
@@ -52,3 +52,3 @@ Sergey Poznyakoff
.SH "BUG REPORTS"
-Report bugs to <gray+grecs@gnu.org.ua>.
+Report bugs to <gray+argot@gnu.org.ua>.
.SH COLOPHON
@@ -56,3 +56,3 @@ The \fBGrecs\fR library is constantly changing, so this manual page
may be incorrect or out-of-date. For the latest copy of \fBGrecs\fR
-documentation, visit <http://www.gnu.org.ua/software/grecs>.
+documentation, visit <http://www.gnu.org.ua/software/argot>.
.SH COPYRIGHT
diff --git a/doc/grecs_include_path_setup.3 b/doc/argot_include_path_setup.3
index 6e61ec9..49ce06f 100644
--- a/doc/grecs_include_path_setup.3
+++ b/doc/argot_include_path_setup.3
@@ -1,2 +1,2 @@
-.\" This file is part of grecs -*- nroff -*-
+.\" This file is part of argot -*- nroff -*-
.\" Copyright (C) 2007-2016 Sergey Poznyakoff
@@ -16,18 +16,18 @@
.\"
-.TH GRECS_INCLUDE_PATH_SETUP 3 "May 4, 2011" "GRECS" "Grecs User Reference"
+.TH ARGOT_INCLUDE_PATH_SETUP 3 "May 4, 2011" "ARGOT" "Grecs User Reference"
.SH NAME
-grecs_include_path_setup, grecs_include_path_setup_v \- add
-directories to the \fBgrecs\fR preprocessor include path
+argot_include_path_setup, argot_include_path_setup_v \- add
+directories to the \fBargot\fR preprocessor include path
.SH SYNOPSIS
.nf
-.B #include <grecs.h>
+.B #include <argot.h>
.sp
-.BI "void grecs_include_path_setup(const char *" "dir" ", ...);"
+.BI "void argot_include_path_setup(const char *" "dir" ", ...);"
.br
-.BI "void grecs_include_path_setup_v(char **" "dirs" );
+.BI "void argot_include_path_setup_v(char **" "dirs" );
.SH DESCRIPTION
These functions add directories to the end of the include search path
-used by the \fBgrecs\fR preprocessor.
+used by the \fBargot\fR preprocessor.
.PP
-\fBgrecs_include_path_setup\fR takes arbitrary number of
+\fBargot_include_path_setup\fR takes arbitrary number of
arguments. Each argument must be pointer to a directory name. The
@@ -35,3 +35,3 @@ argument list must terminate with a \fBNULL\fR argument.
.PP
-\fBgrecs_include_path_setup_v\fR takes directory names from a
+\fBargot_include_path_setup_v\fR takes directory names from a
\fBNULL\fR-terminated array of character pointers.
@@ -40,3 +40,3 @@ None.
.SH "SEE ALSO"
-.BR grecs_config (5).
+.BR argot_config (5).
.SH AUTHORS
@@ -44,3 +44,3 @@ Sergey Poznyakoff
.SH "BUG REPORTS"
-Report bugs to <gray+grecs@gnu.org.ua>.
+Report bugs to <gray+argot@gnu.org.ua>.
.SH COLOPHON
@@ -48,3 +48,3 @@ The \fBGrecs\fR library is constantly changing, so this manual page
may be incorrect or out-of-date. For the latest copy of \fBGrecs\fR
-documentation, visit <http://www.gnu.org.ua/software/grecs>.
+documentation, visit <http://www.gnu.org.ua/software/argot>.
.SH COPYRIGHT
diff --git a/doc/grecs_malloc.3 b/doc/argot_malloc.3
index 97d4273..0059bbb 100644
--- a/doc/grecs_malloc.3
+++ b/doc/argot_malloc.3
@@ -1,2 +1,2 @@
-.\" This file is part of grecs -*- nroff -*-
+.\" This file is part of argot -*- nroff -*-
.\" Copyright (C) 2007-2016 Sergey Poznyakoff
@@ -16,5 +16,5 @@
.\"
-.TH GRECS_MALLOC 3 "May 7, 2011" "GRECS" "Grecs User Reference"
+.TH ARGOT_MALLOC 3 "May 7, 2011" "ARGOT" "Grecs User Reference"
.SH NAME
-grecs_malloc, grecs_zalloc, grecs_calloc, grecs_realloc \- Allocate
+argot_malloc, argot_zalloc, argot_calloc, argot_realloc \- Allocate
dynamic memory for \fBGrecs\fR.
@@ -22,31 +22,31 @@ dynamic memory for \fBGrecs\fR.
.nf
-.B #include <grecs.h>
+.B #include <argot.h>
.sp
-.BI "void *grecs_malloc(size_t " "size" );
+.BI "void *argot_malloc(size_t " "size" );
.br
-.BI "void *grecs_zalloc(size_t " "size" );
+.BI "void *argot_zalloc(size_t " "size" );
.br
-.BI "void *grecs_calloc(size_t " "nmemb" ", size_t " "size" );
+.BI "void *argot_calloc(size_t " "nmemb" ", size_t " "size" );
.br
-.BI "void *grecs_realloc(void " "*ptr" ", size_t " "size" );
+.BI "void *argot_realloc(void " "*ptr" ", size_t " "size" );
.br
-.BI "void grecs_free(void " "*ptr" );
+.BI "void argot_free(void " "*ptr" );
.br
-.BI "void grecs_alloc_die(void);"
+.BI "void argot_alloc_die(void);"
.sp
-.BI "void *(*grecs_malloc_fun)(size_t " "size" );
+.BI "void *(*argot_malloc_fun)(size_t " "size" );
.br
-.BI "void *(*grecs_realloc_fun)(void " "*ptr" ", size_t " "size" );
+.BI "void *(*argot_realloc_fun)(void " "*ptr" ", size_t " "size" );
.br
-.BI "void (*grecs_free_fun)(void " "*ptr" );
+.BI "void (*argot_free_fun)(void " "*ptr" );
.br
-.BI "void (*grecs_alloc_die_fun)(void);"
+.BI "void (*argot_alloc_die_fun)(void);"
.SH DESCRIPTION
.PP
-The \fBgrecs_malloc\fR, \fBgrecs_calloc\fR and \fBgrecs_realloc\fR
+The \fBargot_malloc\fR, \fBargot_calloc\fR and \fBargot_realloc\fR
functions work exactly as they \fIlibc\fR counterparts do, except that
if unable to allocate memory they terminate the program, by calling
-\fBgrecs_alloc_die\fR function.
+\fBargot_alloc_die\fR function.
.PP
-.BR grecs_calloc ()
+.BR argot_calloc ()
allocates memory for an array of
@@ -58,3 +58,3 @@ The memory is set to zero.
.PP
-.BR grecs_malloc ()
+.BR argot_malloc ()
allocates
@@ -64,3 +64,3 @@ The memory is not cleared.
.PP
-.BR grecs_realloc ()
+.BR argot_realloc ()
changes the size of the memory block pointed to by
@@ -74,3 +74,3 @@ newly allocated memory will be uninitialized.
.PP
-.BR grecs_zalloc ()
+.BR argot_zalloc ()
allocates
@@ -80,3 +80,3 @@ set to zero.
.PP
-.BR grecs_free ()
+.BR argot_free ()
frees the memory space pointed to by \fBptr\fR, which must have been
@@ -85,4 +85,4 @@ discussed above.
.PP
-The \fBgrecs_malloc_fun\fR hook is used \fBgrecs_malloc\fR,
-\fBgrecs_calloc\fR and \fBgrecs_zalloc\fR to allocate new memory
+The \fBargot_malloc_fun\fR hook is used \fBargot_malloc\fR,
+\fBargot_calloc\fR and \fBargot_zalloc\fR to allocate new memory
chunk. By default it points to
@@ -90,8 +90,8 @@ chunk. By default it points to
.PP
-Similarly, the \fBgrecs_realloc_fun\fR, is used by
-\fBgrecs_realloc\fR function. By default it points to
+Similarly, the \fBargot_realloc_fun\fR, is used by
+\fBargot_realloc\fR function. By default it points to
.BR realloc (3).
.PP
-The \fBgrecs_free_fun\fR is used by
-.BR grecs_free ().
+The \fBargot_free_fun\fR is used by
+.BR argot_free ().
By default it points to
@@ -102,6 +102,6 @@ memory allocation routines.
.PP
-.BR grecs_alloc_die ()
+.BR argot_alloc_die ()
This function is called when memory allocation fails. It prints
-appropriate diagnostics using \fBgrecs_error(3)\fR and aborts the
-program. If \fBgrecs_alloc_die_fun\fR, it is called prior to
+appropriate diagnostics using \fBargot_error(3)\fR and aborts the
+program. If \fBargot_alloc_die_fun\fR, it is called prior to
outputting the diagnostics.
@@ -109,9 +109,9 @@ outputting the diagnostics.
.SH "RETURN VALUE"
-For \fBgrecs_malloc\fR, \fBgrecs_calloc\fR, \fBgrecs_zalloc\fR and
-\fBgrecs_realloc\fR return a pointer to the allocated memory, which is