small C-like programming language targeting the Uxn virtual computer
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.

18 lines
356 B

11 months ago
#ifndef UASM_H
#define UASM_H
#include "uxncle.h"
#include "uparse.h"
11 months ago
/* default heap space to hold temporary values */
#define HEAP_SPACE 0x1800
#define SIZE_INT 2
#define SIZE_CHAR 1
#include <stdio.h>
/* takes a syntax tree and spits out the generated asm into the provided file stream */
void UA_genTal(UASTRootNode *tree, FILE *out);
11 months ago