3 #define SNOWBALL_VERSION "2.0.0" 5 typedef unsigned char byte;
11 #define MALLOC check_malloc 12 #define FREE check_free 14 #define NEW(type, p) struct type * p = (struct type *) MALLOC(sizeof(struct type)) 15 #define NEWVEC(type, p, n) struct type * p = (struct type *) MALLOC(sizeof(struct type) * (n)) 17 #define SIZE(p) ((int *)(p))[-1] 18 #define CAPACITY(p) ((int *)(p))[-2] 30 #define MOVE_TO_B(B, LIT) \ 31 move_to_b(B, sizeof(LIT) / sizeof(LIT[0]), LIT) 298 #ifndef DISABLE_PYTHON 307 #if !defined(DISABLE_JAVA) && !defined(DISABLE_JS) && !defined(DISABLE_PYTHON) && !defined(DISABLE_CSHARP) 345 enum { LANG_JAVA, LANG_C, LANG_CPLUSPLUS, LANG_CSHARP, LANG_PASCAL, LANG_PYTHON, LANG_JAVASCRIPT,
LANG_RUST, LANG_GO } make_lang;
373 const char * comment_start,
374 const char * comment_end);
387 #ifndef DISABLE_CSHARP 392 #ifndef DISABLE_PASCAL 396 #ifndef DISABLE_PYTHON
struct among * amongs_end
int declaration_line_number
struct include * includes
struct grouping * grouping
struct node * program_end
const char * variables_prefix
struct analyser * analyser
struct tokeniser * tokeniser
const char * parent_class_name
struct grouping * groupings
string str(int value)
Convert int to std::string.
const char * externals_prefix
struct include * includes
const char * string_class
const char * runtime_path
struct grouping * groupings_end
struct include * includes_end
struct literalstring * literalstrings
struct str * declarations
struct literalstring * next
const char * go_snowball_runtime