07-01-2014, 08:02 AM
boriel Wrote:Sorry for the delay.Well, the good news is that I finally have version 1.4.0-s1876! The bad news is, it still fails to compile the example listing, with the following error:
Apparently I messed up the build script for the python version.
Can you check it now?
Please check the version.
zxb.py --version
should return:
zxb.py 1.4.0-s1876
Code:
Traceback (most recent call last):
File "../1.4.0/zxb.py", line 348, in <module>
sys.exit(main(sys.argv)) # Exit
File "../1.4.0/zxb.py", line 274, in main
translator.visit(zxbparser.ast)
File "/Users/MacMini/Dropbox/Boriel/1.4.0/ast_/ast.py", line 102, in visit
stack.append(last.send(last_result))
File "/Users/MacMini/Dropbox/Boriel/1.4.0/arch/zx48k/translator.py", line 542, in visit_ARRAYACCESS
self.emit('param' + self.TSUFFIX(gl.BOUND_TYPE), node.entry.bounds.count)
AttributeError: 'SymbolBOUNDLIST' object has no attribute 'count'
So, to summarise, here are the versions I have tried and the results:
1.3.0-s1771 - Out of Memory error
1.4.0s1864 - Out of Memory error
1.4.0alpha-s1769 - Fails to compile
1.4.0-s1876 - Fails to compile