Re: [m-users.] Correct use of solutions.

Volker Wysk <[email protected]>
Newsgroups gmane.comp.lang.mercury.general
Message-ID <[email protected]>
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

_______________________________________________
users mailing list
[email protected]
https://lists.mercurylang.org/listinfo/users
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEE6QXGh82Ov3+2nrxp+K4ydFOsHoUFAmTHhGcACgkQ+K4ydFOs
HoVSxQ//R+CrhiLU3rbVIDp7A+MaIgPnI2xxuJ7PX9NIw9iLKSU93EpfH7gElbfS
xTV200+wcpdcmSC6P4ywdmuKer/pH0oagml4ciSX8rQli+DrudRm4o4WFQttaDZT
b7ZH085soreOS0HYWUa3WUhxrU+krwyJe8XWL/K/0Hv0/6eRS9TpgzOZ+hvH4PyC
QdcQYGMQJNpcdw0lIqtSrZp/jfI1cUCV/SYJTQw2sni70PKCIcrSKYjudPc6mpvZ
uUwT0iLSHv0xjXQR3X51gT/jMC9DC8UOa8STjIKuBorPWfSs1CTrk5Sg353SHYYd
2Y0vYUYEmQynuTQkUZULXs2O50W/ADAvm0D3bXzjoEE2GuIF9SFAkYa5eCvSiHvK
JmI01zEsxH55bVFwXS/4XyedO5+dupKwSuBSRdiBh1PSdJaEmqh1DD7vuqs+cflI
Yv5gO6HkCkbqduTdJM8xqOa3EoW5LukgVph6Ha6HE5bL0R9q702KgKvXCthW/rnF
XFCYb5W1amx8+3RKCspWAAFB1zMstE0P53IBAiXzHntsx96l//lDH2c0djd0STVS
vpsvmdJfUoC4SEIzWGWW8xk0wjLGLh6QnqZIp7ZcgQNqAd1T6iUk1RJXYsb10Zle
uT7iyIwYbuvER9X8Bff0J6Pf90QONTHraMVHkRgV3JBeNRFG4/0=
=qK3s
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.