Skip to content

TitouanT/clips-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

NodeJs wrapper around the CLIPS interpreter

The CLIPS interpreter lacks basic fonctionalities like historic and tab completion. This project provides:

  • historic
  • completion
    • common CLIPS words completion
    • "whatever you typed before" completion
    • clips files completion
  • no need for the first and last parenthesis (if you put them anyway its fine too)
  • you can stop the run command with ctrl+c
  • some macros and aliases:
    • init <filename> <=> (clear)\n(load "<filename>")\n(reset)
    • filename.clp <=> init filename.clp (notice the extension)
    • vim like quit :q<=> (exit)
    • runfast <=> (run) (you can't stop it, ctrl+c terminates the programm)

install

The simplest way is to add an alias somewhere in your config (~/.bashrc or ~/.zshrc for example)

alias clp="node ~/path/to/this/repos/clips_wrap.js"

Once you've done that it might not work yet because you need to have clips in your $PATH.

dependencies

You need NodeJs and CLIPS

About

A wrapper around the CLIPS interpreter for a better user experience

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published