-
Notifications
You must be signed in to change notification settings - Fork 11
Starting the system
Assuming the system was downloaded from http://opennars.github.io/opennars/ the
Binary release can be started by extracting it and then executing either startscript.bat (Windows) or startscript.sh (Linux/Mac)
Source release (normal startup):
- Execute "lein run" in source-tree.
Source release (REPL): By starting the system from the REPL we can interact with the system with Clojure while it is running, which is the better option for custom code as well as system analysis and other development and testing-related purposes, and this is how it is achieved:
- Execute "lein repl" in the source-tree.
- enter (load-file "src/gui/lense.clj")
- enter (gui.lense/-main)
Source release (Gorilla-REPL): By using Gorilla-REPL it is possible to work with the system in a notebook-style interface. This is very convenient for writing system analysis code, and also allows creating plots like we use to track concept priority over time. TODO FINISH SECTION
Pong and Jump&Run Example The Pong example can be started by replacing gui.lense with examples.simplepong in the startscript file, for the jump&run it is examples.simplenario. E:\jdk1.8.0_92\bin\java -javaagent:quasar-core-0.7.5.jar -cp narjure-0.1.0-SNAPSHOT-standalone.jar clojure.main -m examples.simplepong