Castor v1.0, Feb 11th 2008 : 

Copyright (C) 2008 Roshan Naik

License
============================
Distributed under The MIT License (http://www.opensource.org/licenses/mit-license.php)
See LICENSE.txt for details.

Visit http://www.mpprogramming.com for the most recent version of the library and
documentation.


About Castor
============================
Castor is a pure C++ library that enables the Logic paradigm in C++.
Since it is a pure header library there is no need to build Castor separately 
into a shared to static library. Also Castor does not depend on any library other 
than the standard C++ library.

Extract files from the archive and add the "castor" directory to your compiler's include 
path. To make the library's facilities available to your application #include <castor.h>.
All facilites provided by Castor are part of the "castor" namespace.

The following is a trivial hello world program that uses Castor.

#include<castor.h>
using namespace castor;

int main() {
  relation r = write("hello world\n");
  r();
  return 0;
}


Documentation
========================
Please refer to the castor\docs directory for the following:

  - Tutorial on Logic paradigm and Castor: CastorTutorial.pdf

  - Castor Reference Manual: CastorReference.pdf

  - Design and implementation of Castor: CastorDesign.pdf



Supported compilers:
========================
Microsoft Visual C++ 2005 and 2008 on Windows
Borland C++ Builder 2007 on Windows
GCC 4.1.0 and 4.1.1 on Unix
HP aCC, A.06.15 (Mar 28 2007) on HP-UX



Compiling Castor test suite:
============================

First cd to castor/test directory.


Microsoft C++ (on Windows)
--------------------------------------
  To compile:   cl /I..\ /EHsc  test_castor.cpp
  To Run    :   test_castor.exe


Borland C++ (on Windows)
--------------------------------------
  To compile:   bcc32 -I..\ test_castor.cpp
  To Run    :   test_castor.exe


GCC  (on Unix)
--------------------------------------
  To compile:   g++ -I../ test_castor.cpp -o test_castor
  To Run    :   ./test_castor


aCC  (on HP-UX)
--------------------------------------
  To compile:   aCC -I../ test_castor.cpp -o test_castor
  To Run    :   ./test_castor

