YAP version in c_interface.h

View: New views
3 Messages — Rating Filter:   Alert me  

YAP version in c_interface.h

by Roberto Bagnara :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message




Hi there,

would you please consider adding to c_interface.h the definition of
macros allowing to determine the YAP version at compile time?
I mean, like the macros

    SICSTUS_MAJOR_VERSION
    SICSTUS_MINOR_VERSION
    SICSTUS_REVISION_VERSION
    SICSTUS_BETA_VERSION

defined by sicstus.h, the macros

    CIAO_MAJOR_VERSION
    CIAO_MINOR_VERSION
    CIAO_PATCH_VERSION
    CIAO_SVNREV

defined by ciao_prolog.h, and the macro

    PLVERSION

defined by SWI-Prolog.h.
Thanks in advance,

     Roberto

--
Prof. Roberto Bagnara
Computer Science Group
Department of Mathematics, University of Parma, Italy
http://www.cs.unipr.it/~bagnara/
mailto:bagnara@...


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Yap-users mailing list
Yap-users@...
https://lists.sourceforge.net/lists/listinfo/yap-users

Re: YAP version in c_interface.h

by Vitor Santos Costa-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Roberto,

Took me long enough, but now I have YAPVERSION which will be supported
from 6.0.0, and should be SWI like. Now, if I knew how to generate
this from git, I'd be a happy camper :)

Cheers

Vitor

On Fri, Jul 31, 2009 at 3:18 PM, Roberto Bagnara <bagnara@...> wrote:

>
>
>
> Hi there,
>
> would you please consider adding to c_interface.h the definition of
> macros allowing to determine the YAP version at compile time?
> I mean, like the macros
>
>    SICSTUS_MAJOR_VERSION
>    SICSTUS_MINOR_VERSION
>    SICSTUS_REVISION_VERSION
>    SICSTUS_BETA_VERSION
>
> defined by sicstus.h, the macros
>
>    CIAO_MAJOR_VERSION
>    CIAO_MINOR_VERSION
>    CIAO_PATCH_VERSION
>    CIAO_SVNREV
>
> defined by ciao_prolog.h, and the macro
>
>    PLVERSION
>
> defined by SWI-Prolog.h.
> Thanks in advance,
>
>     Roberto
>
> --
> Prof. Roberto Bagnara
> Computer Science Group
> Department of Mathematics, University of Parma, Italy
> http://www.cs.unipr.it/~bagnara/
> mailto:bagnara@...
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Yap-users mailing list
> Yap-users@...
> https://lists.sourceforge.net/lists/listinfo/yap-users
>

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Yap-users mailing list
Yap-users@...
https://lists.sourceforge.net/lists/listinfo/yap-users

Re: YAP version in c_interface.h

by Roberto Bagnara :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Vitor Santos Costa wrote:
> Took me long enough, but now I have YAPVERSION which will be supported
> from 6.0.0, and should be SWI like. Now, if I knew how to generate
> this from git, I'd be a happy camper :)

Hi Vitor,

great news indeed, thanks!

Please, let me take the occasion to express my gratitude and admiration
for the work you and Jan are doing about the compatibility of SWI-Prolog
and YAP: as a Prolog user I value very much all this.
Cheers,

    Roberto

--
Prof. Roberto Bagnara
Computer Science Group
Department of Mathematics, University of Parma, Italy
http://www.cs.unipr.it/~bagnara/
mailto:bagnara@...

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Yap-users mailing list
Yap-users@...
https://lists.sourceforge.net/lists/listinfo/yap-users