Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/arcj137442/opennars-158-dev

OpenNARS 1.5.8的中文笔记附注定制版 | Customized version of OpenNARS 1.5.8 with detailed personal annotations written in Chinese
https://github.com/arcj137442/opennars-158-dev

nars opennars

Last synced: about 5 hours ago
JSON representation

OpenNARS 1.5.8的中文笔记附注定制版 | Customized version of OpenNARS 1.5.8 with detailed personal annotations written in Chinese

Awesome Lists containing this project

README

        

OpenNARS Declarative Core
=========================

![OpenNARS_Declarative_Core_Logo](https://user-images.githubusercontent.com/8284677/53459976-6ee8bb80-3a33-11e9-8ae4-2325fc587565.png)

Intended for people wanting to implement NAL7/8 in a different way.
Users, better go to to enjoy a system that has full NAL1-8 implemented.

Source Code
-----------

In nars_core_java/ and nars_gui/ are the NARS core and the Swing GUI in Java. This came out of the code of Pei Wang in nars/ directory.

nars-dist/ contains a NARS distribution (executable, examples, web page with applet), that could be zipped for releases.

The test suite is nars_core/src/test/java/nars/main_nogui/TestReasoning0.java .

Build
-----

There are scripts for Linux and Windows to compile and create the executable jar:
build.sh and build.bat .

Test
----

The unit test suite is here. It ensures non-regression of the reasoner:
nars_core/src/test/java/nars/main_nogui/TestReasoning.java
It works classically: for each XX-in.txt in directory nars-dist/Examples, it runs NARBatch, and compares actual result with reference result XX-out.txt.
To create a new test input, add the NARS input as XX-in.txt in nars-dist/Examples , run the test suite, and move result file from temporary directory
/tmp/nars_test/XX-out.txt
into nars-dist/Example .
NOTE:
Due to the sensitivity of results regarding the implementation of the reasoner, it is difficult to write robust tests. But for pure non-regression tests, the test is usable.

Source Code status
------------------

See also
Current version has been fully tested for single capability at a time; there may still be bugs when combining capabilities.
Jean-Marc Vanel was working on this roadmap, mainly in GUI and software engineering tasks :

- reestablish a non-regression test suite
- make an independent syntax verifier based on a grammar parser : it will give the column & line of error (there is a Scala combinator grammar)
- separate NARS in 2 modules with a Maven build : nars_gui and nars_core_java