Jump to content

Compiler/syntax analyzer: Difference between revisions

J: bugfix: no right associative operators (previous implementation: all binary operators were right associative)
m (J: bugfix -- remove dangling assert)
(J: bugfix: no right associative operators (previous implementation: all binary operators were right associative))
Line 3,444:
end.
while.(2=tok_valence)*y<:tok_precedence do.
q=. 1+tok_precedence [ op=. node_display NB. no right associative operators
gettok''
e=. op make_node e expr q
6,962

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.