[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] statement syntax



Could you provide a concrete example? Just 'cause I can't think of one.

<x-tad-smaller>{ a = 1+1; b = 2 }</x-tad-smaller>

vs

<x-tad-smaller>{ a = 1+1; b = 2; }</x-tad-smaller>

Both compile perfectly well.

Where exactly does sc refuse a terminating semicolon? I can't think of a single instance.
hjh

On Sep 30, 2005, at 6:17 AM, Manfred Brockhaus wrote:

I'm wondering if it would be possible to modify/extend the SC language to accept C/Java statement syntax. The main difference is the role of semicolon (;). SC uses it as general statement *separator* (Pascal style), while C/Java use it as statement *terminator* for simple statements. This difference is quite inconvenient for people like me who are programming also in C/Java and derived modern languages like eg. Processing. In particular I think that new generations of programmers being familiar with C/Java would be happy to use the same statement syntax in SC.

-mb

_______________________________________________
sc-users mailing list
sc-users@xxxxxxxxxxxxxxx
http://www.create.ucsb.edu/mailman/listinfo/sc-users



: H. James Harkins
: jamshark70@xxxxxxxxxxxxxxxxx
: http://www.dewdrop-world.net
.::!:.:.......:.::........:..!.::.::...:..:...:.:.:.:..:

"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal." -- Whitman