Activity for CLIPS Rule Based Programming Language

  • Gary Riley Gary Riley committed [r971] on Code

    70x Added factorial example

  • Gary Riley Gary Riley committed [r970] on Code

    70x Defmodule bsave initialization fix

  • Sergey Piskunov Sergey Piskunov posted a comment on discussion Help

    Thank you, Gary

  • Gary Riley Gary Riley posted a comment on discussion Help

    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...

  • Sergey Piskunov Sergey Piskunov posted a comment on discussion Help

    Hello. I'm trying to compile my small program #include "./CLIPS/clips.h" int main() { Environment *env = CreateEnvironment(); Load(env, "hello.clp"); Reset(env); Run(env, -1); DestroyEnvironment(env); return 0; } $ ls CLIPS libclips.a main.c main.cpp hello.clp When I'm using gcc everything good gcc -Wall -o main main.c -L. -lclips -lm When I'm using g++ I get errors g++ -Wall -o main main.c -L. -lclips -lm /usr/bin/ld: /tmp/ccXICXAv.o: in function main': main.c:(.text+0xd): undefined reference toCreateEnvironment()'...

  • John Sarabacha John Sarabacha posted a comment on discussion Open Discussion

    The build for CLIPS V7 looks good, the only real problem I ran into was a missing jni.h file. Which doesn't impact what I am doing, since I am focusing on generating forth code sequences based on rules and not using a java interface at this point. Haven't tried the new features yet but won't be there for a while. John S On Fri, Feb 27, 2026 at 1:30 PM John Sarabacha dcs-js@users.sourceforge.net wrote: Correction Visual Studio 2026 On Fri, Feb 27, 2026 at 1:23 PM John Sarabacha dcs-js@users.sourceforge.net...

  • John Sarabacha John Sarabacha posted a comment on discussion Open Discussion

    Correction Visual Studio 2026 On Fri, Feb 27, 2026 at 1:23 PM John Sarabacha dcs-js@users.sourceforge.net wrote: A test build of CLIPS V7 using Visual Studio 2016 PS H:\Dev\ClipsV7-Build\windows\MVS\CLIPSDOS\Executables\Win32\Debug> ./CLIPSDOS32.exe CLIPS (Forge Alpha 11/12/25) CLIPS> (+ 3 4) 7 CLIPS> On Wed, Feb 25, 2026 at 1:40 PM John Sarabacha dcs-js@users.sourceforge.net wrote: Thank you On Wed, Feb 25, 2026 at 1:31 PM Gary Riley garyriley@users.sourceforge.net wrote: It's in the SVN repository...

  • John Sarabacha John Sarabacha posted a comment on discussion Open Discussion

    A test build of CLIPS V7 using Visual Studio 2016 PS H:\Dev\ClipsV7-Build\windows\MVS\CLIPSDOS\Executables\Win32\Debug> ./CLIPSDOS32.exe CLIPS (Forge Alpha 11/12/25) CLIPS> (+ 3 4) 7 CLIPS> On Wed, Feb 25, 2026 at 1:40 PM John Sarabacha dcs-js@users.sourceforge.net wrote: Thank you On Wed, Feb 25, 2026 at 1:31 PM Gary Riley garyriley@users.sourceforge.net wrote: It's in the SVN repository for this project under the code tab: https://sourceforge.net/p/clipsrules/code/HEAD/tree/branches/70x/ Major...

  • John Sarabacha John Sarabacha posted a comment on discussion Open Discussion

    Thank you On Wed, Feb 25, 2026 at 1:31 PM Gary Riley garyriley@users.sourceforge.net wrote: It's in the SVN repository for this project under the code tab: https://sourceforge.net/p/clipsrules/code/HEAD/tree/branches/70x/ Major version ? https://sourceforge.net/p/clipsrules/discussion/776945/thread/bc40209181/?limit=25#787d/a22a/85e7/d328 Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/clipsrules/discussion/776945/ To unsubscribe from further messages, please...

  • Gary Riley Gary Riley posted a comment on discussion Open Discussion

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

  • John Sarabacha John Sarabacha posted a comment on discussion Open Discussion

    Hi Gary, Can I also get a copy of the source to compile for an R&D project I am working on? Thanks John S On Wed, Feb 25, 2026 at 12:27 AM Gary Riley garyriley@users.sourceforge.net wrote: 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...

  • John Sarabacha John Sarabacha posted a comment on discussion Open Discussion

    For your reference the project is GLANN dedicatedcomputer.ca On Wed, Feb 25, 2026 at 3:25 AM John Sarabacha jsarabacha@gmail.com wrote: Hi Gary, Can I also get a copy of the source to compile for an R&D project I am working on? Thanks John S On Wed, Feb 25, 2026 at 12:27 AM Gary Riley garyriley@users.sourceforge.net wrote: 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...

  • Gary Riley Gary Riley posted a comment on discussion Open Discussion

    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...

  • Gary Riley Gary Riley committed [r969] on Code

    70x Fix for goal generation

  • Gary Riley Gary Riley posted a comment on ticket #12

    1) There's already a function called clear-window that you can enter to clear the scrollback. 4) My vision changed in the last few years and I switched over to dark mode with apps that supported it. The macOS IDE supports dark mode. All it required was a recompile of the source code with the newer SDK and there was a single custom widget that needed to be swapped out with the appropriate system widget. I spent a week or so trying to get dark mode working with the Windows IDE. It was a nightmare with...

  • Nick Main Nick Main posted a comment on discussion Open Discussion

    The new v7 features look amazing. Especially the backward chaining. I was about to start hacking on some native predicates for SWI Prolog to query CLIPS facts but deferring to built-in CLIPS functionality would be much better for my use cases. How usable is the v7 branch at the moment? Without pressure, do you have a timeline for the v7 release?

  • vlad vlad posted a comment on discussion Help

    Hello, Since the feature request section doesn't get much traffic, it may be possible to miss entries present there. So, I'm creating this ticket as an fyi of 4 existing entries there, of which the following 2 are mine: https://sourceforge.net/p/clipsrules/feature-requests/11/ https://sourceforge.net/p/clipsrules/feature-requests/12/ Thanks

  • Gary Riley Gary Riley committed [r968] on Code

    v7.0 Test case updates

  • Gary Riley Gary Riley modified ticket #34

    problems getting the clips iOS download to start the interpreter

  • Gary Riley Gary Riley modified ticket #76

    CLIPS crashes when global variable modified

  • Gary Riley Gary Riley modified ticket #20

    Bypass allowed-values in RHS of Rule

  • Gary Riley Gary Riley modified a comment on ticket #20

    This is caused by the difference between dynamic and static constraint checking. Dynamic constraint checking is off by default. Static constraint checking occurs when constructs or commands are parsed. Dynamic constraint checking occurs when a program is executing. Because you can override the put- handlers for a class, assigning literal values to instances does not trigger static constraint checking because the init or put- handlers for a class could change the value assigned to an instance during...

  • Gary Riley Gary Riley posted a comment on ticket #20

    This is caused by the difference between dynamic and static constraint checking. Dynamic constraint checking is off by default. Static constraint checking occurs when constructs or commands are parsed. Dynamic constraint checking occurs when a program is executing. Because you can override the put- handlers for a class, assigning literal values to instances does not trigger static constraint checking because the init or put- handlers for an class could change the value assigned to an instance during...

  • Gary Riley Gary Riley modified ticket #14

    defmodule defrule run does not initially println to stdout

  • Gary Riley Gary Riley modified ticket #21

    FindInstance is NULL in UDF for instances with name

  • Gary Riley Gary Riley posted a comment on ticket #21

    Fixed check into SVN repository.

  • Gary Riley Gary Riley committed [r967] on Code

    64x 70x Fix for FindInstanceBug

  • Gary Riley Gary Riley committed [r966] on Code

    64x Changed BLOCK_MEMORY back to default setting of 0.

  • Gary Riley Gary Riley committed [r965] on Code

    64x 70x Flush function didn't work for stdout/stderr

  • Sergey Piskunov Sergey Piskunov posted a comment on discussion Help

    Thank you, Gary

  • Gary Riley Gary Riley posted a comment on discussion Help

    I checked in a fix to the sourceforge svn repository under the code tab. The existing implementation for random uses the C library function rand. The IDE runs CLIPS commands on a separate thread from the GUI and on windows the seed gets reset each time you create one. I replaced use of the rand library call with a splitmix64 algorithm that will produce the same result across platforms.

  • Gary Riley Gary Riley committed [r964] on Code

    64x 70x Replaced rand function calls with cross platform splitmix64 algorithm.

  • Felipe Tonello Felipe Tonello posted a comment on ticket #22

    Thank you Gary. I will backport this fix to my local copy.

  • Gary Riley Gary Riley modified ticket #22

    CLIPS 6.42 fails to build for RUN_TIME=1

  • Gary Riley Gary Riley posted a comment on ticket #22

    Fixed the issue and checking in a fix to the SourceForge svn repository.

  • Gary Riley Gary Riley committed [r963] on Code

    64x Fixed DEFTEMPLATE_CONSTRUCT compile issue when other binary file features disabled.

  • Gary Riley Gary Riley committed [r962] on Code

    63x 64x Restored BLOCK_MEMORY functionality

  • Sergey Piskunov Sergey Piskunov posted a comment on discussion Help

    Hello. In CLIPSIDE.jar (random) function doesn't work, always return 41 number CLIPS (6.4.2 1/14/25) CLIPS> (random) 41 CLIPS> (random) 41 CLIPS> (random) 41 CLIPS> (random) 41 CLIPS> (random) 41 CLIPS> (random) 41 CLIPS> (seed 5555) CLIPS> (seed 5555) CLIPS> (random) 41 CLIPS> (random) 41 CLIPS> (random) 41 CLIPS> (random) 41 CLIPS> (random) 41 CLIPS> (random 1 10) 2 CLIPS> (random 1 10) 2 CLIPS> (random 1 10) 2 CLIPS> (random 1 10) 2 CLIPS> (random 1 10) 2 CLIPS> In CLIPSJNI.jar (random) function...

  • Felipe Tonello Felipe Tonello created ticket #22

    CLIPS 6.42 fails to build for RUN_TIME=1

  • Gary Riley Gary Riley posted a comment on discussion Help

    What I'd suggest doing is to create a module containing all of the deftemplates and defclasses that are part of your saved state. Import that module into MAIN and export everything from MAIN for your other modules to import. Declare deftemplates and defclasses locally in modules only for things that don't require persistence. This will allow you to more easily export all of the facts that are needed for the saved state. CLIPS 6.4 has bsave-facts/bload-facts functions. CLIPS 7.0, whenever I get that...

  • Arya Arya posted a comment on discussion Help

    Message: Hello, I’m integrating CLIPS with a .NET application and have encountered an issue when trying to save and reload the environment state. When I use the original save-facts command, CLIPS doesn’t seem to take into account the module of each fact. As a result, when I later call load-facts, it throws errors because the facts are being loaded into the wrong (or default) module context. Initially, I tried using bsave and bload to persist the environment, but I ran into the error: “Cannot save...

  • Gary Riley Gary Riley modified ticket #9

    Extend / function to allow a single parameter

  • Gary Riley Gary Riley posted a comment on ticket #9

    Implemented in version 7.0

  • Gary Riley Gary Riley modified ticket #10

    Extend the - function to accept a single argument

  • Gary Riley Gary Riley posted a comment on ticket #10

    Implemented in version 7.0

  • Gary Riley Gary Riley committed [r961] on Code

    70x Modified +, -, *, and / to behavior similarly to common LISP for 0 and 1 arguments.

  • Ryan Johnston Ryan Johnston created ticket #21

    FindInstance is NULL in UDF for instances with name

  • Gary Riley Gary Riley committed [r960] on Code

    70x Added goal browser to Windows IDE

  • Gary Riley Gary Riley committed [r959] on Code

    64x 70x Fixed NULL pointer reference issue in GetNextConstructItem calls. Not an issue in 63x.

  • Gary Riley Gary Riley committed [r958] on Code

    70x Updates for goal browser and CLIPSJNI

  • Gary Riley Gary Riley committed [r957] on Code

    70x macOS IDE: Added goal browser and changed naming of Agenda Browser to Focus Stack Browser.

  • Ryan Johnston Ryan Johnston created ticket #20

    Bypass allowed-values in RHS of Rule

  • Gary Riley Gary Riley committed [r956] on Code

    63x Backported return value constraint bug fix to 6.3 branch

  • Gary Riley Gary Riley modified ticket #19

    Segfault creating defrule matching on instance-name

  • Gary Riley Gary Riley posted a comment on ticket #19

    Checked in a fix to the 64x svn repository.

  • Gary Riley Gary Riley committed [r955] on Code

    64x 70 Fix for return value constraint crash (SourceForge Bug Ticket #19)

  • Gary Riley Gary Riley modified ticket #15

    defmodule focus stack corruption

  • Ryan Johnston Ryan Johnston posted a comment on ticket #15

    This was a misunderstanding on my part. This ticket can be closed

  • Ryan Johnston Ryan Johnston created ticket #19

    Segfault creating defrule matching on instance-name

  • Gary Riley Gary Riley committed [r954] on Code

    64x Added Windows DLLs to library folder

  • Tim Wendt Tim Wendt posted a comment on discussion Open Discussion

    I understand the usefulness of allowing rule redefinition when working interactively with the CLIPS CLI. However, when loading a file using the BatchStart function, it would be helpful to have a flag that causes execution to fail on rule redefinition. In this context, redefinition is often unintentional and may indicate that a rule name was accidentally reused. Thank you for your great work!

  • Tobias Tobias posted a comment on discussion Help

    I missed fact-existp - that does what I need

  • Tobias Tobias posted a comment on discussion Help

    Hello, I see that in v6.4 fact-relation was changed to generate errors when used with retracted facts. I want to check whether a fact-address in a slot has been retracted, and fact-relation seems like the best way to do that. Is there any problem with ignoring the error? I assume the retracted fact is still retained by the reference from the fact-address slot. Thank you

  • Gary Riley Gary Riley posted a comment on discussion Help

    The source code is here: https://github.com/garydriley/FuzzyCLIPS64/tree/master On most systems, you can usually create an executable with one command. For unix, it's: Source % gcc -o fzclips *.c Source % ./fzclips FuzzyCLIPS (6.4 2/9/21) FuzzyCLIPS>

  • Briam Sebastian Ramos Guevara Briam Sebastian Ramos Guevara posted a comment on discussion Help

    Hi, I require to add FuzzyCLIPS to CLIPS 6.4.2 for deffuzzy commands. It's so annoying there is no executable for this. Thanks so much!

  • Gary Riley Gary Riley committed [r953] on Code

    70x table-columns and table-row-count functions, documentation updates

  • Gary Riley Gary Riley committed [r952] on Code

    70x Support for global variables and function calls within deftables

  • Gary Riley Gary Riley created a blog post

    CLIPS 6.42 Binaries for Nvidia Jetson

  • Gary Riley Gary Riley committed [r951] on Code

    70x Replaced genstrncpy calls with genstrncat

  • Gary Riley Gary Riley committed [r950] on Code

    70x macOS IDE updates

  • Gary Riley Gary Riley committed [r949] on Code

    70x macOS IDE updates

  • Gary Riley Gary Riley committed [r948] on Code

    70x macOS IDE updates

  • Gary Riley Gary Riley committed [r947] on Code

    70x macOS GUI folder updates

  • vlad vlad created ticket #18

    Sometimes, entries don't show up in the agenda

  • vlad vlad created ticket #12

    Version 7 wishlist: IDE

  • vlad vlad created ticket #11

    Version 7 wishlist: Language

  • Gary Riley Gary Riley committed [r946] on Code

    70x Removed gensprintf and gensnprintf functions.

  • Gary Riley Gary Riley committed [r945] on Code

    642 Final CLIPSJNI Jars and Libraries

  • Gary Riley Gary Riley modified ticket #7

    Provide find-indexed-fact function

  • Gary Riley Gary Riley posted a comment on ticket #7

    Added a function called fact-index-to-fact to the 6.4.2 release.

  • Gary Riley Gary Riley posted a comment on discussion Open Discussion

    Bug fixes and project updates for CLIPS 6.4.2 are available for download. New Functions and Commands: • str-byte-length • with-open-file • try • fact-index-to-fact Command and Function Changes • printout, print, and println - The symbols cr and lf and be used to print carriage returns and line feeds. • format – Updated to appropriately handle width and precison for UTF-8 multibyte characters. • External Text Manipulation – Removed the restriction on the maximum length for file and topic names.

  • Gary Riley Gary Riley posted a comment on discussion Open Discussion

    Bug fixes and project updates for CLIPS 6.4.2 are available for download. New Functions and Commands: • str-byte-length • with-open-file • try • fact-index-to-fact Command and Function Changes • printout, print, and println - The symbols cr and lf and be used to print carriage returns and line feeds. • format – Updated to appropriately handle width and precison for UTF-8 multibyte characters. • External Text Manipulation – Removed the restriction on the maximum length for file and topic names.

  • Gary Riley Gary Riley created a blog post

    CLIPS 6.4.2 Released

  • CLIPS Rule Based Programming Language CLIPS Rule Based Programming Language released /CLIPS/6.4.2/ReadMe642.md

  • CLIPS Rule Based Programming Language CLIPS Rule Based Programming Language released /CLIPS/6.4.2/clips_windows_projects_642.zip

  • CLIPS Rule Based Programming Language CLIPS Rule Based Programming Language released /CLIPS/6.4.2/clips_windows_64_bit_installer_642.msi

  • CLIPS Rule Based Programming Language CLIPS Rule Based Programming Language released /CLIPS/6.4.2/clips_windows_32_bit_installer_642.msi

  • CLIPS Rule Based Programming Language CLIPS Rule Based Programming Language released /CLIPS/6.4.2/clips_macos_project_642.dmg

  • CLIPS Rule Based Programming Language CLIPS Rule Based Programming Language released /CLIPS/6.4.2/clips_macos_executable_642.dmg

  • CLIPS Rule Based Programming Language CLIPS Rule Based Programming Language released /CLIPS/6.4.2/clips_jni_642.zip

  • CLIPS Rule Based Programming Language CLIPS Rule Based Programming Language released /CLIPS/6.4.2/clips_jni_642.tar.gz

  • CLIPS Rule Based Programming Language CLIPS Rule Based Programming Language released /CLIPS/6.4.2/clips_ios_642.dmg

  • CLIPS Rule Based Programming Language CLIPS Rule Based Programming Language released /CLIPS/6.4.2/clips_feature_tests_642.zip

  • CLIPS Rule Based Programming Language CLIPS Rule Based Programming Language released /CLIPS/6.4.2/clips_feature_tests_642.tar.gz

  • CLIPS Rule Based Programming Language CLIPS Rule Based Programming Language released /CLIPS/6.4.2/clips_documentation_642.zip

  • CLIPS Rule Based Programming Language CLIPS Rule Based Programming Language released /CLIPS/6.4.2/clips_examples_642.zip

  • CLIPS Rule Based Programming Language CLIPS Rule Based Programming Language released /CLIPS/6.4.2/clips_examples_642.tar.gz

  • CLIPS Rule Based Programming Language CLIPS Rule Based Programming Language released /CLIPS/6.4.2/clips_documentation_642.tar.gz

  • CLIPS Rule Based Programming Language CLIPS Rule Based Programming Language released /CLIPS/6.4.2/clips_core_source_642.tar.gz

  • CLIPS Rule Based Programming Language CLIPS Rule Based Programming Language released /CLIPS/6.4.2/clips_core_source_642.zip

1 >
MongoDB Logo MongoDB