C compiler with embedded metalanguage.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

28 lines
343 B

@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()