Welcome

BPjs is a library for executing behavioral programs written in Javascript. It can be used from the commandline, or embedded in a Java application.

BPjs is an open source project, maintained by a research group in Ben-Gurion University of the Negev, Israel. The code is available on GitHub. This project, as well as the concepts behind it, were presented at Devoxx Belgium 2018.

Here you can learn about writing and executing BPjs programs, embedding BPjs programs in larger Java systems (or any JVM-based systems, really), and extending and modifying BPjs’ behavior.

What’s Here

  • Learn Behavioral Programming: If you are new to Behavioral Programming (that’s alright, it’s a fairly new concept), you’re invited to read the quick intro.
  • Use BPjs from a console/commandline: see Running BPjs from the Commandline.
  • Use BPjs as a library in a software system: If you’re using maven, just add BPjs as a dependency. Otherwise, you can download a .jar file.
  • Verify BPjs Programs/Models see Verification.
  • Learn more about how to use, embed, and extend BPjs: Read below.
  • How to Cite If you use BPjs in an academic work, please consider citing it as mentioned here.