[m-rev.] For review: parsing_utils.m

Julien Fischer juliensf at csse.unimelb.edu.au
Wed Jan 28 17:39:31 AEDT 2009


On Wed, 28 Jan 2009, Ralph Becket wrote:

> Add parsing_utils.m to the library, providing support for recursive descent
> parsers.
>
> NEWS:
> 	Report the addition of parsing_utils.m to the library.

The NEWS file should also mention the changes to the behaviour of the
predicates in the string module.

>
> library/library.m:
> 	Include parsing_utils.m.
>
> library/parsing_utils.m:
> 	Added.
>
> library/string.m:
> 	Make string.to_int fail on overflow.  Amend comments to reflect this.
>
> tests/general/Mmakefile:
> tests/general/test_parsing_utils.exp:
> tests/general/test_parsing_utils.m:
> 	Test case for parsing_utils.m.

...

> Index: library/library.m
> ===================================================================
> RCS file: /home/mercury1/repository/mercury/library/library.m,v
> retrieving revision 1.120
> diff -u -r1.120 library.m
> --- library/library.m	9 Mar 2008 09:39:24 -0000	1.120
> +++ library/library.m	27 Jan 2009 23:44:31 -0000
> @@ -89,6 +89,7 @@
> :- import_module ops.
> :- import_module pair.
> :- import_module parser.
> +:- import_module parsing_utils.
> :- import_module pprint.
> :- import_module pqueue.
> :- import_module pretty_printer.

You also need to update mercury_std_library_module/1.

The rest looks okay.

Julien.
--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list