feature: some kind of syntax for quarks
in javascript docs, @@
is used for writing well known symbols:
In MDN and other sources, well-known symbol values are stylized by prefixing @@. For example, Symbol.hasInstance is written as @@hasInstance. This is because symbols don't have actual literal formats, but using Symbol.hasInstance does not reflect the ability of using other aliases to refer to the same symbol. This is like the difference between Function.name and "Function".
so i'm proposing something like this:
var quark1 = @@example;
var quark2 = @@"another example";
compiling to something like:
static GQuark __static_quark1_quark = 0;
if (__static_quark1_quark == 0) __static_quark1_quark = g_quark_from_static_string("example");
GQuark quark1 = __static_quark1_quark;
static GQuark __static_quark2_quark = 0;
if (__static_quark2_quark == 0) __static_quark2_quark = g_quark_from_static_string("another example");
GQuark quark2 = __static_quark2_quark;