This fix works for valve.js, but if you port it to valve.py it still fails:
VisitError: Error trying to process rule "alias_0":
TypeError: Undefined and null dont have properties (tried getting property 'join')
This seems to be an issue that we need to fix in the parse.py script (like the fix in https://github.com/ontodev/valve.py/pull/28), but that doesn't work for auto-generating parse.py from valve_grammar.ne.
The closest I got to working with both JS and Python resulted in a value '""' when we just want ''.
This fix works for
valve.js
, but if you port it tovalve.py
it still fails:This seems to be an issue that we need to fix in the
parse.py
script (like the fix in https://github.com/ontodev/valve.py/pull/28), but that doesn't work for auto-generatingparse.py
fromvalve_grammar.ne
.The closest I got to working with both JS and Python resulted in a value
'""'
when we just want''
.