Skip to content

Ada bindings for the CLIPS rule-based programming language

License

Notifications You must be signed in to change notification settings

zrhoffman/AdaCLIPS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AdaCLIPS

What is this?

This repo contains Ada bindings for the CLIPS rule-based programming language and is a fork of Ted Dennison's AdaCLIPS work. It is unrelated to the Open Channel Foundation's CLIPS/Ada, an Ada implementation of CLIPS that costs $400.

Setup

  1. In order to build the example, you will need gprbuild. You can also download the entire GNAT Programming Studio, which includes gprbuild.

  2. Copy clips.ads and clips.adb into the example directory.

  3. Download the latest stable CLIPS core sources (clips_core_source_631.tar.gz or clips_core_source_631.zip) and extract them to a directory inside the example directory named clips.

  4. Find the patch named setup.h.patch in the allow_globals directory and apply it to setup.h (part of the CLIPS core):

    <../../allow_globals/setup.h.patch patch setup.h;
  5. In the example directory, run gprbuild. If it compiles successfully, you will have an executable named hello_world. Running it should generate the following output (from hello_world.clp):

    Hello world!
    

About

Ada bindings for the CLIPS rule-based programming language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages