singnet / asmoses

Port of MOSES (https://github.com/opencog/moses) for the AtomSpace (https://github.com/opencog/atomspace)
Other
6 stars 5 forks source link

add api/commandline option to convert combo program to python #137

Open noskill opened 4 years ago

noskill commented 4 years ago

There is usecase to run programs printed to log file. I haven't found any way to do that.

ngeiswei commented 4 years ago

@noskill, there is an option --output-format in asmoses (see asmoses --help), also supported by ascombo-fmt-converter installed alongside asmoses, that can be used to output programs in python format.

I believe it should address your problem, let me know if it doesn't. And clearly this tool needs to be better documented.