Wendicka / Scyndi

Experimental programming language
GNU General Public License v3.0
0 stars 0 forks source link

SRO #78

Open Tricky1975 opened 5 years ago

Tricky1975 commented 5 years ago

SRO would be identifiers that Scyndi would handle as constants, but the target language can treat them as regular variables.

The idea is that these could be used most of all for interfacing with the target language properly, but protect non-purecode against manipulation causing funny effects. A kind of 'safemode'.

For Lua it won't matter as all constants are basically SRO, since Lua does not support constants (I don't count literals among constants), so there variables are used in stead, but in JavaScript conversion, this will matter, and in C++ (which I am not investigating) too.