[m-users.] Correct use of solutions.
Volker Wysk
post at volker-wysk.de
Mon Jul 31 19:52:39 AEST 2023
Am Montag, dem 31.07.2023 um 11:58 +1000 schrieb Mark Brown:
> In all seriousness, I think SWI Prolog is an excellent system with
> which to implement a compiler. Even if intending to build a compiler
> in Mercury in the long term, rapidly prototyping (parts of) it in
> Prolog is often an excellent approach to take in my opinion.
I thought that, too. But when I rapidly prototyped my command line parser in
Prolog, I found that I missed types, determinism categories, modes...
Declarative IO is something like this, too, but wasn'tĀ important for that
command line parser. Things thatĀ help to get your head straight. I came to
the conclusion that doing it "right" from the beginning is better.
(That parser turned out to be much more involved than I thought.)
But it's a matter of taste, I guess.
Bye
Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.mercurylang.org/archives/users/attachments/20230731/da62e108/attachment.sig>
More information about the users
mailing list