User Activity

  • Posted a comment on discussion Help on CLIPS Rule Based Programming Language

    Section 8 of the Advanced Programming Guide has ten examples of adding UDFs. Here's the first one: 8.4.1 Euler’s Number This example demonstrates returning a mathematical constant, Euler’s number, from a user defined function. The AddUDF function call required in UserFunctions specifies that the CLIPS function name is e; the return value type is a float; the UDF does not expect any arguments; and the C implementation of the UDF is the function EulersNumber. void UserFunctions( Environment *env) {...

  • Committed [r973] on Code

    70x BPG updates

  • Committed [r972] on Code

    70x Do, iff, and other updates

  • Committed [r971] on Code

    70x Added factorial example

  • Committed [r970] on Code

    70x Defmodule bsave initialization fix

  • Posted a comment on discussion Help on CLIPS Rule Based Programming Language

    The linker handles references differently between files compiled as C and files compiled as C++. If you're using the make file that came with CLIPS, create the library using "make release_cpp". That will create the library using the g++ compiler. core % make . . . core % gcc -Wall -o main main.c -L. -lclips -lm core % g++ -Wall -o main main.c -L. -lclips -lm clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] Undefined symbols for architecture...

  • Posted a comment on discussion Open Discussion on CLIPS Rule Based Programming Language

    It's in the SVN repository for this project under the code tab: https://sourceforge.net/p/clipsrules/code/HEAD/tree/branches/70x/

  • Posted a comment on discussion Open Discussion on CLIPS Rule Based Programming Language

    If you're willing to compile the exectuables yourself and deal with some incomplete documentation, you can consider it to be a beta release. There's enough new functionality that I'm working on a companion book for it when I eventually do release it. The automatic goal generation doesn't support backtracking like Prolog (which I last used 40 years ago),, so I'm still exploring what can be done with it. It's really quite useful for systems that need to ask questions,, but I want to fully explore other...

View All

Personal Data

Username:
garyriley
Joined:
2008-01-21 21:20:18

Projects

This is a list of open source software projects that Gary Riley is associated with:

Personal Tools

MongoDB Logo MongoDB