Commit Graph

4 Commits

Author SHA1 Message Date
Paul Bone
326e5c640d Corrected a bug in moose whereby it failed to return a non-zero exit code when
Estimated hours taken: 1

Corrected a bug in moose whereby it failed to return a non-zero exit code when
a critical error occured.

Converted moose to modern syntax with regard to DCGs and State Variables and
module delimters such as '__' vs '.'.  Converted some indentation to four
spaces.

extras/moose/check.m:
extras/moose/grammar.m:
extras/moose/lalr.m:
extras/moose/mercury_syntax.m:
extras/moose/misc.m:
extras/moose/moose.m:
extras/moose/options.m:
extras/moose/tables.m:
	As above.

extras/moose/BUGS
	Noted a new bug.

extras/moose/TODO
	Corrected a spelling mistake.
2009-02-21 11:27:54 +00:00
Ralph Becket
ebc4eb0e3f I have changed moose to support user-specifiable parser state modes,
Estimated hours taken: 20
Branches: main

I have changed moose to support user-specifiable parser state modes,
rather than just in/out.  In particular, this means the parser state
can now include the IO state (this will be useful in conjunction with
lex).

I have also made some changes to the interface.

This change is not backwards compatible.

extras/moose/NEWS:
	Made a note of the fact that this change to moose is not
	backwards compatible.

extras/moose/README:
	Updated the documentation to reflect the new changes.

extras/moose/TODO:
	Removed this change from the TODO list.

extras/moose/grammar.m:
	Removed the unused EndToken argument from construct_grammar/5.

extras/moose/moose.m:
	Fairly extensive changes to support user-specifiable parser
	state modes.
	Changed the order of some arguments in .moo parse declarations.
	Changed the signature of action methods from preds to funcs.

extras/moose/samples/alpha.moo:
extras/moose/samples/expr.moo:
extras/moose/samples/cgram.moo:
extras/moose/samples/small.moo:
	Changed parse declarations to match new scheme.
	Changed the scan predicates in alpha.moo and expr.moo to be
	deterministic.

extras/moose/samples/try_alpha.m:
extras/moose/samples/try_expr.m:
	Changed to use the new interface.
2002-02-19 07:52:00 +00:00
Thomas Conway
73ea21304e Update the TODO list to reflect the current sources.
Estimated hours taken: 0.1

extras/moose/TODO:
	Update the TODO list to reflect the current sources.
2000-05-24 01:15:18 +00:00
Tyson Dowd
2a81aec951 Moose, the Mercury parser generator.
Estimated hours taken: 5 (+ unknown hours by Tom, + unknown hours by fjh)

Moose, the Mercury parser generator.

extras/moose/Mmakefile:
extras/moose/check.m:
extras/moose/grammar.m:
extras/moose/lalr.m:
extras/moose/mercury.m:
extras/moose/misc.m:
extras/moose/moose.m:
extras/moose/options.m:
extras/moose/tables.m:

extras/moose/BUGS:
	A list of known bugs.

extras/moose/TODO:
	Things that still need to be done.

extras/moose/README:
	Documentation for moose (thanks to fjh).

extras/moose/samples/Mmakefile:
extras/moose/samples/README:
extras/moose/samples/alpha.input:
extras/moose/samples/alpha.moo:
extras/moose/samples/cgram.moo:
extras/moose/samples/expr.input:
extras/moose/samples/expr.moo:
extras/moose/samples/small.moo:
extras/moose/samples/try_alpha.m:
extras/moose/samples/try_expr.m:
	Some samples.
2000-05-22 05:22:18 +00:00