For Programmers: Free Programming Magazines  


Home > Archive > Prolog > March 2005 > prolog to C#









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author prolog to C#
Gregor Rot

2005-03-30, 3:58 pm

Hi to everybody,

my "quest" is very simple: is there a way to enable a Prolog program to
run in C#? (some utility that "converts" Prolog code to C# or a way to
call Prolog from C#).

tnx,
Gregor
Björn Lindström

2005-03-30, 3:58 pm

Gregor Rot <gregor@dontmailme.org> writes:

> my "quest" is very simple: is there a way to enable a Prolog program
> to run in C#? (some utility that "converts" Prolog code to C# or a way
> to call Prolog from C#).


http://www.dcs.ed.ac.uk/home/stg/Psharp/

That is exactly what you're asking for, a compiler to C#.

To me it seems more sensible to compile to the CLR directly, and that's
what

http://lia.deis.unibo.it/research/tuprolog/

does. However, that doesn't work with Mono, and probably never will.

--
Björn Lindström <bkhl@stp.ling.uu.se>
Student of computational linguistics, Uppsala University, Sweden
Takuon Soho

2005-03-31, 3:59 pm

Wow!

Did not know that this existed.

Thanks
Tak


""Björn Lindström"" <bkhl@stp.ling.uu.se> wrote in message
news:87br91hu5y.fsf@lucien.dreaming...
> Gregor Rot <gregor@dontmailme.org> writes:
>
>
> http://www.dcs.ed.ac.uk/home/stg/Psharp/
>
> That is exactly what you're asking for, a compiler to C#.
>
> To me it seems more sensible to compile to the CLR directly, and that's
> what
>
> http://lia.deis.unibo.it/research/tuprolog/
>
> does. However, that doesn't work with Mono, and probably never will.
>
> --
> Björn Lindström <bkhl@stp.ling.uu.se>
> Student of computational linguistics, Uppsala University, Sweden



Mats

2005-03-31, 3:59 pm

Gregor Rot wrote:
> Hi to everybody,
>
> my "quest" is very simple: is there a way to enable a Prolog program

to
> run in C#? (some utility that "converts" Prolog code to C# or a way

to
> call Prolog from C#).


SICStus Prolog provides a way to call Prolog from C# as of lately. See:

http://www.sics.se/sicstus

or specifically:

http://www.sics.se/sicstus/docs/lat...rologBeans.html

--Mats

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com