Add the ability to overload functions and operators. #4

Closed
opened 2018-03-16 06:57:50 +00:00 by DanilaFe · 1 comment
Owner

Operator overloading (defining multiple operators that use the same text) is necessary for unary minus. Function overloading, although not necessary, would be very nice.

Operator overloading (defining multiple operators that use the same text) is necessary for unary minus. Function overloading, although not necessary, would be very nice.
DanilaFe added the enhancement label 2018-03-16 06:58:03 +00:00
Author
Owner

This works now.

-1-3

Parses to the correct tree, if, of course, - is registered both as a unary and a prefix operator.

This works now. ``` -1-3 ``` Parses to the correct tree, if, of course, - is registered both as a unary and a prefix operator.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Experiments/libabacus#4