I need to preface this by saying that if something doesn't work in the
parser I won't use it. :-)

We seem to have two broad options for procedure application: I'm not
entirely convinced that the second one works if we retain n-ary functions
and we decide to do mixfix:

Option 1:

   proc-name( arg ... arg)

Option 2:

  proc-name arg ... arg

While I personally like Option 2, the problem that I anticipate is that
things like:

  f 1 + f 2

will tend to require parenthesization. Same number of parens as in option 1,
but placed differently:

  (f 1) + (f 2)

I personally do not find this objectionable -- moving the parens to wrap the
call actually makes this a bit clearer for me.



Opinions, thoughts, and reactions?


shap
_______________________________________________
bitc-dev mailing list
[email protected]
http://www.coyotos.org/mailman/listinfo/bitc-dev

Reply via email to