You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That grammar description should be taken with a grain of salt; it omits some details and edge cases which are definitely in the real parser. In the case you point out, though, you are correct. Arthur's interpreter:
…AST node representing a quoted verb, and extend the prettyprinter/parser/evaluator to treat it properly. The tweak appears to work, but still may be missing certain cases.
… add a new AST node representing a quoted verb, and extend the prettyprinter/parser/evaluator to treat it properly. The tweak appears to work, but still may be missing certain cases.
According to k.txt a parenthesized expression always parses as a noun:
Therefore, I think the following should return
1
:The text was updated successfully, but these errors were encountered: