GithubHelp home page GithubHelp logo

isabella232 / contrib-swiplcs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from swi-prolog/contrib-swiplcs

0.0 0.0 0.0 3.2 MB

Interface from C# to SWI-Prolog

Home Page: http://www.lesta.de/Prolog/SwiPlCs/Generated/Index.html

JavaScript 12.82% C++ 0.84% Smalltalk 5.99% ASP 0.22% C# 66.92% F# 0.44% CSS 8.98% HTML 3.45% Batchfile 0.33%

contrib-swiplcs's Introduction

WHAT'S NEW
==========
 
 - SwiPICs updated to support SWI-Prolog Version 8.0.3-1 32bit and 64bit

------------------------------------------------------------------------------

			An interface from .Net languages to SWI-Prolog

This library is a .Net (CSharp) interface to SWI-Prolog. The described  
interface provides a layer around the C-interface for natural programming from C#. 
The interface deals with automatic type-conversion to and from Prolog, mapping of
exceptions and making queries to Prolog in an easy way. There is a call-back from 
Prolog to C#. 

AUTHOR
======
		
		Uwe Lesta
		SBS-Softwaresysteme GmbH
		Jasperalleee 13
		D -38102 Braunschweig 

		E-mail:  [email protected] 

		With contributions from:
		- Arne Skjærholt    first 64-Bit version
		- Batu Akan         Linux support with Mono
		- Foutelet Joel     F# sample
		- Robert Czerny     Bug reports
		- others

WEB-HOME
========

		The documantation is at
		http://www.lesta.de/prolog/swiplcs/Generated/Index.aspx

		The binaries are available at 
		http://www.lesta.de/prolog/swiplcs/download/index.htm
------------------------------------------------------------------------------

If you want to compile SwiplCs only the project SwiPlCs is needed.

To work with Visual Studio install 'Visual Studio Tools for Git' 
in the Tools - 'Extensions and Updates' menu and connect to 
https://github.com/SWI-Prolog/contrib-swiplcs

Add the following lines to .git\info\exlude if you like to commit something
	*.sdf
	*.opensdf

SWI_HOME_DIR has to be set as an environment variable to the SWI-Prolog installation Path.

PATH the bin directory of SWI-Prolog has to be added to the PATH environment variable.


Compiler switches
-----------------

The following compiler switches are in the sources:

- _PL_X64        Maintained by the project files (.csproj). If defined a 64-bit version 
                 is compiled
- _LINUX         Not maintained!
- _DEBUG         in SWI-cs-PlQuery.cs. Write an Exception to the Console / trace window. 
                 The release version throw the Exception.
- USE_PRINT_MESSAGE debugging purpose in exceptions.cs


Build binaries
--------------
To Build the binaries the batch script build_bin_package.bat in the project SwiPlCs-Documentation can be used.
Therefor  winrar must be installed at c:\programme\winrar\winrar and the Sandcastle Help File Builder (shfb) must be installed.


64-Bit
------
To run the test on a 64-Bit environment got to the Test menu 
- 'Test settings' - 'Default Processor Architecture' - chose X64



Known BUGs
----------

64-Bit:

- test cases for Prolog call back with war args (t_varargs_single, t_varargs) are *not* running
  see remarks on DelegateParameterVarArgs in SWI-cs.cs

contrib-swiplcs's People

Contributors

abaffa avatar uwelesta avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.