C compiler with embedded metalanguage.
Non puoi selezionare più di 25 argomenti
Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
|
@import("parsimonyLibrary/fake-static-classes.mc")
|
|
|
|
typedef long long int_t;
|
|
typedef long double flt_t;
|
|
|
|
@beginObject(typeName:"typeName", objectName:"objectName")
|
|
|
|
struct Integer {
|
|
int_t i;
|
|
};
|
|
|
|
struct Float {
|
|
flt_t _value;
|
|
};
|
|
|
|
struct String {
|
|
char *value;
|
|
};
|
|
|
|
struct Symbol {
|
|
char *name;
|
|
};
|
|
|
|
struct foo {
|
|
char *name;
|
|
};
|
|
|
|
@endObject
|