Hi -
On 5/4/17, 5:24 AM, "Tomsy Paul" <[email protected]> wrote:
>Dear all,
>
>
>I am not sure this is a genuine question.
>
>
>What is the real use of ident_expr being a stmt_level_expr ?
Assuming I understand your question,
I can think of 2 reasons the parser is this way:
1) sync variables
// creates and "fills" a sync variable x$
var x$:sync int = 1;
// wait for x$ to be empty but do nothing with its value
x$;
2) parentheses-less methods
proc test {
writeln("Hello");
}
// call the parentheses-less function test
test;
Cheers,
-michael
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Chapel-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/chapel-developers