bowen-xu / PyNARS

MIT License
26 stars 8 forks source link

refactor narsese module #93

Closed bowen-xu closed 6 months ago

bowen-xu commented 6 months ago

I move Config.py, Global.py, and config.json into Narsese submodule, so that one can use Narsese without depending on pynars. The demo of Narsese module can be run by python -m Narsese.demo (suppose the root directory is ./pynars)

image

It should be noted that the current treatment is tentative. For example, all configurable parameters lie in ./pynars/Narsese/Config.py, but maybe it is more suitable to make Narsese related parameters to be there, and move NAL and NARS related parameters into ./pynars/Config.py. The same thing for ./pynars/Narsese/config.json

github-actions[bot] commented 6 months ago

dev.txt - DEV BRANCH: FAILED (errors=10) pr.txt - PR BRANCH: FAILED (errors=10)

bowen-xu commented 6 months ago

Just found that there are some conflicts with other branches.