Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Prolog as scripting language?

Name: Anonymous 2006-12-11 19:27

I know using Prolog as a glue/extension/scripting language is possible and has been done (ie using it the way Lua is used), but can anyone recommend a specific Prolog implementation for this?

Name: Anonymous 2006-12-11 20:39

Why would you want to do that?

Name: Anonymous 2006-12-11 22:11

I've found Prolog can be used as a sort of cheap yet powerful and efficient "poor man's SQL".  It can greatly simplify manipulating large tables of data, as opposed to writing database-like containers in C/C++ (why reinvent the wheel?).

Um anyway I found SWI Prolog has a glue-language shared library included in all its installations (libpl.dll on Windows, libpl.a in Linux, etc) so I can now do what I want.

Name: Anonymous 2006-12-12 7:12

Can you interface it with an SQL database for such effect?

Name: Anonymous 2006-12-12 10:26

please give us some examples of what prolog can be used for

Name: Anonymous 2006-12-12 14:49

>>5
something like:
Prolog is a "piece of shit"
OK

What are you?
a "piece of shit"

You're smart but fucking useless
of course, I am Prolog...

Name: Anonymous 2006-12-13 6:42

something like:
DESU DESU DESU DESU DESU DESU DESU
Hmm...

za warudo
Methinks you're a weeaboo.

Name: Anonymous 2009-01-14 12:50

LISP

Name: Anonymous 2009-01-14 12:50

AHAHAH KAWAII DESU

Name: Sgt.Kabu㭉kiman▔좑 2012-05-28 21:13

Bringing /prog/ back to its people
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy

Don't change these.
Name: Email:
Entire Thread Thread List