As an exercise at this stage, if I add the following to chapel.lex

        ":="              return processToken(yyscanner, TASSIGN);
        "::"              return processToken(yyscanner, TBY);

will that possibly allow me to use

        :=

instead of = in most non declarative assignments, i.e. anywhere a "+=" would be legal?

Similarly, can I then play with using "::" instead of "by"?

I can then point my testing compiler at whatever code I can find in the examples to guage the level of my ignorance/stupidity by seeing what I can break, or not.

Regards - Damian

Pacific Engineering Systems International, 277-279 Broadway, Glebe NSW 2037
Ph:+61-2-8571-0847 .. Fx:+61-2-9692-9623 | unsolicited email not wanted here
Views & opinions here are mine and not those of any past or present employer


_______________________________________________
Chapel-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/chapel-developers

Reply via email to