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;
|
|
|
|
@object()
|
|
|
|
struct Integer {
|
|
int_t i;
|
|
};
|
|
@addObject()
|
|
|
|
// struct Float {
|
|
// flt_t _value;
|
|
// };
|
|
// @addObject()
|
|
|
|
struct String {
|
|
char *value;
|
|
};
|
|
@addObject()
|
|
|
|
// struct Symbol {
|
|
// char *name;
|
|
// };
|
|
// @addObject()
|
|
|
|
@endObject()
|