[Gd-chatter] r11214 - trunk/documentation/gwydion/gdcore/text
agent at gwydiondylan.org
agent at gwydiondylan.org
Sun Feb 25 08:31:37 CET 2007
Author: agent
Date: Sun Feb 25 08:31:30 2007
New Revision: 11214
Added:
trunk/documentation/gwydion/gdcore/text/library.command-line-parser.txt
- copied, changed from r11204, trunk/documentation/gwydion/gdcore/text/library.getopt.txt
trunk/documentation/gwydion/gdcore/text/module.command-line-parser.command-line-parser.txt
- copied, changed from r11197, trunk/documentation/gwydion/gdcore/text/module.getopt.getopt.txt
trunk/documentation/gwydion/gdcore/text/module.option-parser-protocol.command-line-parser.txt
- copied, changed from r11197, trunk/documentation/gwydion/gdcore/text/module.option-parser-protocol.getopt.txt
Removed:
trunk/documentation/gwydion/gdcore/text/library.getopt.txt
trunk/documentation/gwydion/gdcore/text/module.getopt.getopt.txt
trunk/documentation/gwydion/gdcore/text/module.option-parser-protocol.getopt.txt
Modified:
trunk/documentation/gwydion/gdcore/text/name.Largument-list-parserR.txt
trunk/documentation/gwydion/gdcore/text/name.Lkeyed-option-parserR.txt
trunk/documentation/gwydion/gdcore/text/name.Loption-parserR.txt
trunk/documentation/gwydion/gdcore/text/name.Loptional-parameter-option-parserR.txt
trunk/documentation/gwydion/gdcore/text/name.Lparameter-option-parserR.txt
trunk/documentation/gwydion/gdcore/text/name.Lrepeated-parameter-option-parserR.txt
trunk/documentation/gwydion/gdcore/text/name.Lsimple-option-parserR.txt
trunk/documentation/gwydion/gdcore/text/name.add-option-parser-by-type.txt
trunk/documentation/gwydion/gdcore/text/name.add-option-parser.txt
trunk/documentation/gwydion/gdcore/text/name.argument-parser-definer.txt
trunk/documentation/gwydion/gdcore/text/name.defargparser-accessors.txt
trunk/documentation/gwydion/gdcore/text/name.defargparser-aux.txt
trunk/documentation/gwydion/gdcore/text/name.defargparser-class.txt
trunk/documentation/gwydion/gdcore/text/name.defargparser-init.txt
trunk/documentation/gwydion/gdcore/text/name.defargparser-rec.txt
trunk/documentation/gwydion/gdcore/text/name.defargparser-synopsis.txt
trunk/documentation/gwydion/gdcore/text/name.option-parser-by-long-name.txt
trunk/documentation/gwydion/gdcore/text/name.option-presentQ-by-long-name.txt
trunk/documentation/gwydion/gdcore/text/name.option-presentQ.txt
trunk/documentation/gwydion/gdcore/text/name.option-value-by-long-name.txt
trunk/documentation/gwydion/gdcore/text/name.option-value.txt
trunk/documentation/gwydion/gdcore/text/name.parse-arguments.txt
trunk/documentation/gwydion/gdcore/text/name.print-synopsis.txt
trunk/documentation/gwydion/gdcore/text/name.regular-arguments.txt
Log:
Bug: 7344
Renamed getopt to command-line-parser.
Copied: trunk/documentation/gwydion/gdcore/text/library.command-line-parser.txt (from r11204, trunk/documentation/gwydion/gdcore/text/library.getopt.txt)
==============================================================================
--- trunk/documentation/gwydion/gdcore/text/library.getopt.txt (original)
+++ trunk/documentation/gwydion/gdcore/text/library.command-line-parser.txt Sun Feb 25 08:31:30 2007
@@ -1,21 +1,21 @@
-Library: Library getopt
+Library: Library command-line-parser
==============================
-The getopt library provides a simple and flexible way to parse the
-command-line arguments of a Dylan program. It provides support for the most
-common types of command-line options, and can be extended to suit the needs of
-a particular application.
+The command-line-parser library provides a simple and flexible way to parse
+the command-line arguments of a Dylan program. It provides support for the
+most common types of command-line options, and can be extended to suit the
+needs of a particular application.
To parse a command-line, you create a new #<argument-list-parser>#, connect a
number of individual #<option-parser>#s, call #parse-arguments#, and use the
resulting information.
-Topic: getopt terminology
+Topic: command-line-parser terminology
------------------------------
-The getopt library uses a standard set of terminology for representing the
-tokens which might appear on a command line, for example
+The command-line-parser library uses a standard set of terminology for
+representing the tokens which might appear on a command line, for example
: $ sample-app -v --repeat -n=10 foo.txt -- bar.txt
@@ -50,25 +50,25 @@
even if they begin with a dash.
-Topic: A simple example of using getopt
+Topic: A simple example of using command-line-parser
---------------------------------------
-These listings demonstrate how to use the getopt library in a simple
-application.
+These listings demonstrate how to use the command-line-parser library in a
+simple application.
: Module: dylan-user
:
: define library sample-application
: use dylan;
: use format-out;
-: use getopt;
+: use command-line-parser;
: end library;
:
: define module sample-application
: use dylan;
: use extensions;
: use format-out;
-: use getopt;
+: use command-line-parser;
: end module;
: Module: sample-application
@@ -99,9 +99,9 @@
Any other arguments will be collected and placed in the variable
_parser.file-names_.
-The next listing shows how to use the getopt library without using the _define
-argument-parser_ macro. Here the various arguments are added manually, and
-accessed using the #option-value-by-long-name# method.
+The next listing shows how to use the command-line-parser library without
+using the _define argument-parser_ macro. Here the various arguments are added
+manually, and accessed using the #option-value-by-long-name# method.
: Module: sample-application
:
@@ -129,13 +129,13 @@
: end;
Using the _define argument-parser_ macro is the preferred way of using the
-getopt library. It is both more convenient and more readable. The manual way
-is documented for advanced users who wish to extend the functionality of the
-option parsers.
+command-line-parser library. It is both more convenient and more readable. The
+manual way is documented for advanced users who wish to extend the
+functionality of the option parsers.
-Topic: getopt modules
+Topic: command-line-parser modules
------------------------------
-- #Module getopt#
+- #Module command-line-parser#
- #Module option-parser-protocol#
Copied: trunk/documentation/gwydion/gdcore/text/module.command-line-parser.command-line-parser.txt (from r11197, trunk/documentation/gwydion/gdcore/text/module.getopt.getopt.txt)
==============================================================================
--- trunk/documentation/gwydion/gdcore/text/module.getopt.getopt.txt (original)
+++ trunk/documentation/gwydion/gdcore/text/module.command-line-parser.command-line-parser.txt Sun Feb 25 08:31:30 2007
@@ -1,15 +1,15 @@
-Module: Module getopt
+Module: Module command-line-parser
==============================
-The getopt module.
+The command-line-parser module.
Exported from:
------------------------------
-#Library getopt#
+#Library command-line-parser#
-Topic: getopt names
+Topic: command-line-parser names
------------------------------
- #<argument-list-parser>#
- #<keyed-option-parser>#
Copied: trunk/documentation/gwydion/gdcore/text/module.option-parser-protocol.command-line-parser.txt (from r11197, trunk/documentation/gwydion/gdcore/text/module.option-parser-protocol.getopt.txt)
==============================================================================
--- trunk/documentation/gwydion/gdcore/text/module.option-parser-protocol.getopt.txt (original)
+++ trunk/documentation/gwydion/gdcore/text/module.option-parser-protocol.command-line-parser.txt Sun Feb 25 08:31:30 2007
@@ -6,7 +6,7 @@
Exported from:
------------------------------
-#Library getopt#
+#Library command-line-parser#
Topic: option-parser-protocol names
Modified: trunk/documentation/gwydion/gdcore/text/name.Largument-list-parserR.txt
==============================================================================
--- trunk/documentation/gwydion/gdcore/text/name.Largument-list-parserR.txt (original)
+++ trunk/documentation/gwydion/gdcore/text/name.Largument-list-parserR.txt Sun Feb 25 08:31:30 2007
@@ -15,7 +15,7 @@
Exported from:
------------------------------
-- #Module getopt#
+- #Module command-line-parser#
Modifiers:
Modified: trunk/documentation/gwydion/gdcore/text/name.Lkeyed-option-parserR.txt
==============================================================================
--- trunk/documentation/gwydion/gdcore/text/name.Lkeyed-option-parserR.txt (original)
+++ trunk/documentation/gwydion/gdcore/text/name.Lkeyed-option-parserR.txt Sun Feb 25 08:31:30 2007
@@ -6,7 +6,7 @@
Exported from:
------------------------------
-- #Module getopt#
+- #Module command-line-parser#
Modifiers:
Modified: trunk/documentation/gwydion/gdcore/text/name.Loption-parserR.txt
==============================================================================
--- trunk/documentation/gwydion/gdcore/text/name.Loption-parserR.txt (original)
+++ trunk/documentation/gwydion/gdcore/text/name.Loption-parserR.txt Sun Feb 25 08:31:30 2007
@@ -10,7 +10,7 @@
Exported from:
------------------------------
-- #Module getopt#
+- #Module command-line-parser#
Modifiers:
Modified: trunk/documentation/gwydion/gdcore/text/name.Loptional-parameter-option-parserR.txt
==============================================================================
--- trunk/documentation/gwydion/gdcore/text/name.Loptional-parameter-option-parserR.txt (original)
+++ trunk/documentation/gwydion/gdcore/text/name.Loptional-parameter-option-parserR.txt Sun Feb 25 08:31:30 2007
@@ -6,7 +6,7 @@
Exported from:
------------------------------
-- #Module getopt#
+- #Module command-line-parser#
Modifiers:
Modified: trunk/documentation/gwydion/gdcore/text/name.Lparameter-option-parserR.txt
==============================================================================
--- trunk/documentation/gwydion/gdcore/text/name.Lparameter-option-parserR.txt (original)
+++ trunk/documentation/gwydion/gdcore/text/name.Lparameter-option-parserR.txt Sun Feb 25 08:31:30 2007
@@ -14,7 +14,7 @@
Exported from:
------------------------------
-- #Module getopt#
+- #Module command-line-parser#
Modifiers:
Modified: trunk/documentation/gwydion/gdcore/text/name.Lrepeated-parameter-option-parserR.txt
==============================================================================
--- trunk/documentation/gwydion/gdcore/text/name.Lrepeated-parameter-option-parserR.txt (original)
+++ trunk/documentation/gwydion/gdcore/text/name.Lrepeated-parameter-option-parserR.txt Sun Feb 25 08:31:30 2007
@@ -14,7 +14,7 @@
Exported from:
------------------------------
-- #Module getopt#
+- #Module command-line-parser#
Modifiers:
Modified: trunk/documentation/gwydion/gdcore/text/name.Lsimple-option-parserR.txt
==============================================================================
--- trunk/documentation/gwydion/gdcore/text/name.Lsimple-option-parserR.txt (original)
+++ trunk/documentation/gwydion/gdcore/text/name.Lsimple-option-parserR.txt Sun Feb 25 08:31:30 2007
@@ -20,7 +20,7 @@
Exported from:
------------------------------
-- #Module getopt#
+- #Module command-line-parser#
Modifiers:
Modified: trunk/documentation/gwydion/gdcore/text/name.add-option-parser-by-type.txt
==============================================================================
--- trunk/documentation/gwydion/gdcore/text/name.add-option-parser-by-type.txt (original)
+++ trunk/documentation/gwydion/gdcore/text/name.add-option-parser-by-type.txt Sun Feb 25 08:31:30 2007
@@ -13,7 +13,7 @@
Exported from:
------------------------------
-- #Module getopt#
+- #Module command-line-parser#
Arguments:
Modified: trunk/documentation/gwydion/gdcore/text/name.add-option-parser.txt
==============================================================================
--- trunk/documentation/gwydion/gdcore/text/name.add-option-parser.txt (original)
+++ trunk/documentation/gwydion/gdcore/text/name.add-option-parser.txt Sun Feb 25 08:31:30 2007
@@ -8,7 +8,7 @@
Exported from:
------------------------------
-- #Module getopt#
+- #Module command-line-parser#
Arguments:
Modified: trunk/documentation/gwydion/gdcore/text/name.argument-parser-definer.txt
==============================================================================
--- trunk/documentation/gwydion/gdcore/text/name.argument-parser-definer.txt (original)
+++ trunk/documentation/gwydion/gdcore/text/name.argument-parser-definer.txt Sun Feb 25 08:31:30 2007
@@ -6,7 +6,7 @@
Exported from:
------------------------------
-- #Module getopt#
+- #Module command-line-parser#
Definition:
Modified: trunk/documentation/gwydion/gdcore/text/name.defargparser-accessors.txt
==============================================================================
--- trunk/documentation/gwydion/gdcore/text/name.defargparser-accessors.txt (original)
+++ trunk/documentation/gwydion/gdcore/text/name.defargparser-accessors.txt Sun Feb 25 08:31:30 2007
@@ -6,7 +6,7 @@
Exported from:
------------------------------
-- #Module getopt#
+- #Module command-line-parser#
Definition:
Modified: trunk/documentation/gwydion/gdcore/text/name.defargparser-aux.txt
==============================================================================
--- trunk/documentation/gwydion/gdcore/text/name.defargparser-aux.txt (original)
+++ trunk/documentation/gwydion/gdcore/text/name.defargparser-aux.txt Sun Feb 25 08:31:30 2007
@@ -6,7 +6,7 @@
Exported from:
------------------------------
-- #Module getopt#
+- #Module command-line-parser#
Definition:
Modified: trunk/documentation/gwydion/gdcore/text/name.defargparser-class.txt
==============================================================================
--- trunk/documentation/gwydion/gdcore/text/name.defargparser-class.txt (original)
+++ trunk/documentation/gwydion/gdcore/text/name.defargparser-class.txt Sun Feb 25 08:31:30 2007
@@ -6,7 +6,7 @@
Exported from:
------------------------------
-- #Module getopt#
+- #Module command-line-parser#
Definition:
Modified: trunk/documentation/gwydion/gdcore/text/name.defargparser-init.txt
==============================================================================
--- trunk/documentation/gwydion/gdcore/text/name.defargparser-init.txt (original)
+++ trunk/documentation/gwydion/gdcore/text/name.defargparser-init.txt Sun Feb 25 08:31:30 2007
@@ -6,7 +6,7 @@
Exported from:
------------------------------
-- #Module getopt#
+- #Module command-line-parser#
Definition:
Modified: trunk/documentation/gwydion/gdcore/text/name.defargparser-rec.txt
==============================================================================
--- trunk/documentation/gwydion/gdcore/text/name.defargparser-rec.txt (original)
+++ trunk/documentation/gwydion/gdcore/text/name.defargparser-rec.txt Sun Feb 25 08:31:30 2007
@@ -6,7 +6,7 @@
Exported from:
------------------------------
-- #Module getopt#
+- #Module command-line-parser#
Definition:
Modified: trunk/documentation/gwydion/gdcore/text/name.defargparser-synopsis.txt
==============================================================================
--- trunk/documentation/gwydion/gdcore/text/name.defargparser-synopsis.txt (original)
+++ trunk/documentation/gwydion/gdcore/text/name.defargparser-synopsis.txt Sun Feb 25 08:31:30 2007
@@ -6,7 +6,7 @@
Exported from:
------------------------------
-- #Module getopt#
+- #Module command-line-parser#
Definition:
Modified: trunk/documentation/gwydion/gdcore/text/name.option-parser-by-long-name.txt
==============================================================================
--- trunk/documentation/gwydion/gdcore/text/name.option-parser-by-long-name.txt (original)
+++ trunk/documentation/gwydion/gdcore/text/name.option-parser-by-long-name.txt Sun Feb 25 08:31:30 2007
@@ -8,7 +8,7 @@
Exported from:
------------------------------
-- #Module getopt#
+- #Module command-line-parser#
Arguments:
Modified: trunk/documentation/gwydion/gdcore/text/name.option-presentQ-by-long-name.txt
==============================================================================
--- trunk/documentation/gwydion/gdcore/text/name.option-presentQ-by-long-name.txt (original)
+++ trunk/documentation/gwydion/gdcore/text/name.option-presentQ-by-long-name.txt Sun Feb 25 08:31:30 2007
@@ -10,7 +10,7 @@
Exported from:
------------------------------
-- #Module getopt#
+- #Module command-line-parser#
Arguments:
Modified: trunk/documentation/gwydion/gdcore/text/name.option-presentQ.txt
==============================================================================
--- trunk/documentation/gwydion/gdcore/text/name.option-presentQ.txt (original)
+++ trunk/documentation/gwydion/gdcore/text/name.option-presentQ.txt Sun Feb 25 08:31:30 2007
@@ -8,7 +8,7 @@
Exported from:
------------------------------
-- #Module getopt#
+- #Module command-line-parser#
Modifiers:
Modified: trunk/documentation/gwydion/gdcore/text/name.option-value-by-long-name.txt
==============================================================================
--- trunk/documentation/gwydion/gdcore/text/name.option-value-by-long-name.txt (original)
+++ trunk/documentation/gwydion/gdcore/text/name.option-value-by-long-name.txt Sun Feb 25 08:31:30 2007
@@ -11,7 +11,7 @@
Exported from:
------------------------------
-- #Module getopt#
+- #Module command-line-parser#
Arguments:
Modified: trunk/documentation/gwydion/gdcore/text/name.option-value.txt
==============================================================================
--- trunk/documentation/gwydion/gdcore/text/name.option-value.txt (original)
+++ trunk/documentation/gwydion/gdcore/text/name.option-value.txt Sun Feb 25 08:31:30 2007
@@ -10,7 +10,7 @@
Exported from:
------------------------------
-- #Module getopt#
+- #Module command-line-parser#
Modifiers:
Modified: trunk/documentation/gwydion/gdcore/text/name.parse-arguments.txt
==============================================================================
--- trunk/documentation/gwydion/gdcore/text/name.parse-arguments.txt (original)
+++ trunk/documentation/gwydion/gdcore/text/name.parse-arguments.txt Sun Feb 25 08:31:30 2007
@@ -2,7 +2,7 @@
==============================
Parses a list of command-line arguments. This routine does most of the work in
-the getopt library. It performs a number of different steps:
+the command-line-parser library. It performs a number of different steps:
1. Split the argument list. If the string "--" appears in the argument list,
discard it, and set aside everything to right for later processing.
@@ -30,7 +30,7 @@
Exported from:
------------------------------
-- #Module getopt#
+- #Module command-line-parser#
Arguments:
Modified: trunk/documentation/gwydion/gdcore/text/name.print-synopsis.txt
==============================================================================
--- trunk/documentation/gwydion/gdcore/text/name.print-synopsis.txt (original)
+++ trunk/documentation/gwydion/gdcore/text/name.print-synopsis.txt Sun Feb 25 08:31:30 2007
@@ -6,7 +6,7 @@
Exported from:
------------------------------
-- #Module getopt#
+- #Module command-line-parser#
Modifiers:
Modified: trunk/documentation/gwydion/gdcore/text/name.regular-arguments.txt
==============================================================================
--- trunk/documentation/gwydion/gdcore/text/name.regular-arguments.txt (original)
+++ trunk/documentation/gwydion/gdcore/text/name.regular-arguments.txt Sun Feb 25 08:31:30 2007
@@ -8,7 +8,7 @@
Exported from:
------------------------------
-- #Module getopt#
+- #Module command-line-parser#
Modifiers:
More information about the chatter
mailing list