Question: create/overload typesetting rule

i'm curious if exist any possibility to make a procedure like

myproc:=proc(x,y)
.
.
.
endproc

and then assign to it a typesseting rule which display statement

myproc(x,y)

to

x (some symbol) y

thx for any advice...
Please Wait...