1. Introducing: a Prolog like library for Euphoria
------=_NextPart_000_001B_01BFE0BD.0CEC0B60
charset="iso-8859-1"
Its been quite a while, but here's the latest of what I'm cooking, and its
finished. It's done and working this time. (it seems)
What does it offer ? A library for context-sentive information management
very much like Prolog, just as powerfull, a bit more tolerant. Well.
honestly, I don't have that much experience with Prolog, so I might be in
the wrong about this.
Included in the small zipfile (7, 22 kb) is the library offering an Euphoria
based interface, an sort of readme file and the DOCKER Shell. Say, a shell
to experiment with the library. It allows you to alter, add, lookup
concepts.
For those who are still wondering. Yes, it backtracks. Yes, you can define
the powerful, "if I was called by"- exception (the context). Anyway. I would
love some feedback.
I suppose it can be quite helpful, in things like RPG's, grammer checker or
as basic framework for an interface. (It would be perfect as the basic
framework for a win32 interface) .. But i'm no Win32 wizard. So i'm leaving
it up to ya'all.
Greetings,
Ralf N.
nieuwen at xs4all.nl
PS. Yes, I am planning to clean up the homepage thingie soon, now vacation
has started. Also concerning vacation, if any one has any (simple?)
programming jobs or perhaps a bit more complex. I like programming anyway,
so any paid programming, in what kind of small form (and wages) .. would be
pleasant, at the least.
------=_NextPart_000_001B_01BFE0BD.0CEC0B60
name="Docker.zip"
2. Re: Introducing: a Prolog like library for Euphoria
- Posted by Kat <gertie at PELL.NET>
Jun 27, 2000
-
Last edited Jun 28, 2000
On 28 Jun 2000, at 4:55, Fam. Nieuwenhuijsen wrote:
> Its been quite a while, but here's the latest of what I'm cooking, and its
> finished. It's done and working this time. (it seems)
>
> What does it offer ? A library for context-sentive information management
> very much like Prolog, just as powerfull, a bit more tolerant. Well.
> honestly, I don't have that much experience with Prolog, so I might be in
> the wrong about this.
>
> Included in the small zipfile (7, 22 kb) is the library offering an Euphoria
> based interface, an sort of readme file and the DOCKER Shell. Say, a shell
> to experiment with the library. It allows you to alter, add, lookup
> concepts.
>
> For those who are still wondering. Yes, it backtracks. Yes, you can define
> the powerful, "if I was called by"- exception (the context). Anyway. I would
> love some feedback.
>
> I suppose it can be quite helpful, in things like RPG's, grammer checker or
> as basic framework for an interface. (It would be perfect as the basic
> framework for a win32 interface) .. But i'm no Win32 wizard. So i'm leaving
> it up to ya'all.
Well, it sounds nice, but when i type "list", it replies: "Try using a command I
*do*
know! duh!", what am i doing wrong?
Kat
3. Re: Introducing: a Prolog like library for Euphoria
> Well, it sounds nice, but when i type "list", it replies: "Try using a
command I *do*
> know! duh!", what am i doing wrong?
Its case sensitive
Try List rather than list.
Greetings,
Ralf N.
nieuwen at xs4all.nl
4. Re: Introducing: a Prolog like library for Euphoria
- Posted by Kat <gertie at PELL.NET>
Jun 27, 2000
-
Last edited Jun 28, 2000
On 28 Jun 2000, at 5:37, Fam. Nieuwenhuijsen wrote:
> > Well, it sounds nice, but when i type "list", it replies: "Try using a
> command I *do*
> > know! duh!", what am i doing wrong?
>
> Its case sensitive
> Try List rather than list.
That works
Kat
5. Re: Introducing: a Prolog like library for Euphoria
Ralf wrote:
<SNIP>
> I suppose it can be quite helpful, in things like RPG's,
> grammer checker or
> as basic framework for an interface. (It would be perfect as the basic
> framework for a win32 interface) .. But i'm no Win32 wizard.
> So i'm leaving
> it up to ya'all.
Pretty neat. I've never really worked with prolog, but you might take a
look at CLIPS, which is an expert system development language created by
NASA. You can get it here:
http://www.ghgcorp.com/clips/CLIPS.html
It's written in C, but someone has compiled it into a DLL that can be used
with Euphoria.
<PLUG>I used it for a project, and wrote the AI for a poker game for it.
You can take a look here:
</PLUG>
If you have any questions about getting it to work with Euphoria (there are
some tricks involved), I'd be happy to help out.
The AI stuff is in plain text. It's basically a bunch of rules that fire
whenever specified conditions are met. Your lib could probably be extended
somewhat easily to do this.
Anyway, it might give you some ideas. I like what you have so far.
Matt Lewis
6. Re: Introducing: a Prolog like library for Euphoria
- Posted by "Fam. Nieuwenhuijsen" <nieuwen at XS4ALL.NL>
Jun 28, 2000
-
Last edited Jun 29, 2000
From: Matthew Lewis <MatthewL at KAPCOUSA.COM>
> Pretty neat. I've never really worked with prolog, but you might take a
> look at CLIPS, which is an expert system development language created by
> NASA. You can get it here:
>
> http://www.ghgcorp.com/clips/CLIPS.html
Thanks for the link, indeed, an expert system is what I intended to create,
and after reading their definition of expert sytems, I feel a little bit
dissapointed. As always, you think you have something with a lot of
potential, and again, you're exploring already covered ground. Oh well,
maybe I'll find something or do it in such a neat way, that it does add
something. That seems to be a frequent thing in the Euphoria community. To
recreate a much rounder wheel
I've downloaded Clips and all associated utilities, to have a look and feel
around, but unfortunately it seems that your poker implementation ends up in
a 404 .. ( xoom always messes up ) ... could you otherwise sent it ?
> The AI stuff is in plain text. It's basically a bunch of rules that fire
> whenever specified conditions are met. Your lib could probably be
extended
> somewhat easily to do this.
Might just be the finishing idea from a database system to a programming
language, or more concrete, an environemnt with dynamic content.
> Anyway, it might give you some ideas. I like what you have so far.
All ideas are welcome, if any one out there knows of any other expert
systems, or have ideas of their own ... i'm still not certain about how I
want to create the dynamic envirnoment (a sort of platform?) out of this
database functionality that I already have.
Currently, my best bet, is a way simerlar as to how I've created the DOCKER
Shell (example) .. which initiates all the activity based upon attributes
within some context. Wait, I'll explain.
In the shell, I went for the concept 'RoutineToCall' .. I asked what the
chosen command's "vision" about the RoutineToCall actually was. More
concrete, I looked up the value of RoutineToCall within the context of the
chosen command. To create the kind of environment I'm aiming for, I should
work with concepts such as "input" and "output" to initiate activity.
One choice I at least already made is to reprogram the whole system within
itself. Oh well, thinking takes time, so I should too.
> Matt Lewis
Ralf N.
nieuwen at xs4all.nl