Fabien, * Fabien COELHO (coe...@cri.ensmp.fr) wrote: > >That's not really true. You can't really add abs(x) or hash(x) right > >now because the current code only supports this syntax: > > > >\set varname operand1 [ operator operand2 ] > > > >There's no way to add support for a unary operator with that syntax. > > Hmmm. If you accept a postfix syntax, there is:-) > > But this is not convincing. Adding a unary function with a clean > syntax indeed requires doing something with the parser.
Based on the discussion so far, it sounds like you're coming around to agree with Robert (as I'm leaning towards also) that we'd be better off building a real syntax here instead. If so, do you anticipate having a patch to do so in the next few days, or...? Thanks! Stephen
signature.asc
Description: Digital signature