Web Development

General discussion


I wanna use Prolog in a Web application

By anloar ·
What is the easiest way to use Prolog in a Web application, I'm plannint to make a tow players game in a new web site I'm going to create.

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -


by Jay Eckles In reply to I wanna use Prolog in a W ...

If Prolog can read from STDIN, write to STDOUT, and has access to the system's environment variables, then you could write a CGI using Prolog.

If not, you could always write a CGI in some other language (Perl, C, whatever) that calls or interacts with the Prolog program. This is what CGI was originally for - interacting with programs on a system through the web. (that's the Gateway in Common Gateway Interface).

Good luck.


Related Discussions

Related Forums