[mercury-users] A thought on state variables and the library

Julian Fondren ayrnieu at gmail.com
Tue Feb 20 21:19:57 AEDT 2007

On 2/19/07, Peter Schachte <schachte at csse.unimelb.edu.au> wrote:
> doug.auclair at logicaltypes.com wrote:
> > "Use state variables; do not use DCGs (except for scanners/parsers)"
> Don't forget output generation; DCGs are very good for that, too.

And compiler/bytecode.m -- DCGs are very good for that, too.

(So far, I think 'go with state variables' a good bias, which seems
to lead to less hassle and redecision-due-to-unacceptable-ugliness
when it comes time to add more complexity to a clause.)

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

More information about the users mailing list