Hi,
Is there a way to get an externally defined operator, the same way there are externally defined function with “mac#”?
This may be possible indirectly with the C target, with “mac#<some-name>” referring to a C macro itself assigned to an expression using an operator, ex. “#define ADD(a,b) (a + b)” the using “mac#” for an “extern” function which will later overload an operator (at least, I guess it may be possible). There are no macro with most other targets, including JavaScript, thus the question.
The reason for this question, is another different question, with a case like this:
which gets compiled by atscc2js into this:
statmp3 = ats2jspre_eq_int1_int1(0, 0);
statmp2 = ats2jspre_neg_bool1(statmp3);
which I would like to avoid, if feasible.