diff options
| author | Tom Harley | 2020-01-11 20:12:20 +0000 |
|---|---|---|
| committer | Tom Harley | 2020-01-11 20:12:20 +0000 |
| commit | c52a6bedb06d83adca8e5a89ec23d77967ae4cce (patch) | |
| tree | d715d04b03084074d29cf00b5dca07eb21d39491 /sinter.h | |
| parent | Tidying up (diff) | |
| download | sinter-c52a6bedb06d83adca8e5a89ec23d77967ae4cce.tar.gz sinter-c52a6bedb06d83adca8e5a89ec23d77967ae4cce.zip | |
Rename compiler to sinc
Diffstat (limited to 'sinter.h')
| -rw-r--r-- | sinter.h | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/sinter.h b/sinter.h deleted file mode 100644 index 0288887..0000000 --- a/sinter.h +++ /dev/null @@ -1,31 +0,0 @@ -#ifndef SINTER_H -#define SINTER_H - -#include <stdio.h> - -#include "sexpr.h" -#include "parse.h" - -typedef enum { - BITCODE, - LLVM_INTERMEDIATE, - INTERPRET, - GRAPHVIZ, - SINTER -} format_t; - -typedef struct node node; -typedef union contents contents; - -sexpr *new_int(int num, lloc_t lloc); -sexpr *new_float(double num, lloc_t lloc); -sexpr *new_id(char *id, lloc_t lloc); -sexpr *new_node(sexpr *l, sexpr *r, lloc_t lloc); -sexpr *new_str(char *str, lloc_t lloc); - -void print_sexpr(sexpr *se); -void fprint_sexpr(FILE *f, sexpr *se); - -void handle(sexpr *se); - -#endif /* SINTER_H */ |
