I successfully use python -m mjotool -d 0-01-01.mjoto disassembled the mjo file to mjil file,but i can use the command python -m mjotool -a .\0-01-01.mjilto assemble.
Assembling: .\0-01-01.mjil
Traceback (most recent call last):
File "D:\Python3.7\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "D:\Python3.7\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "D:\Python3.7\lib\site-packages\mjotool\__main__.py", line 479, in <module>
exit(main())
File "D:\Python3.7\lib\site-packages\mjotool\__main__.py", line 468, in main
assembler.read()
File "D:\Python3.7\lib\site-packages\mjotool\assembler.py", line 1392, in read
self.parse_line()
File "D:\Python3.7\lib\site-packages\mjotool\assembler.py", line 997, in parse_line
token = self.next_token()
File "D:\Python3.7\lib\site-packages\mjotool\assembler.py", line 883, in next_token
parser(token) # extracts token value
File "D:\Python3.7\lib\site-packages\mjotool\assembler.py", line 293, in parse_keyword
raise Exception(f'unknown symbol or keyword {name!r}')
Exception: unknown symbol or keyword 'none'
I successfully use
python -m mjotool -d 0-01-01.mjo
to disassembled the mjo file to mjil file,but i can use the commandpython -m mjotool -a .\0-01-01.mjil
to assemble.