General discussion

Locked

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.

1 total post (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

CGI

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.

Jay

Back to Web Development Forum
1 total post (Page 1 of 1)  

Related Discussions

Related Forums