+++ /dev/null
-#include <stdlib.h>
-#include <stdio.h>
-
-#include "ast.h"
-#include "y.tab.h"
-extern int yylex_destroy(void);
-
-int main()
-{
- struct ast *result;
- int r = yyparse(&result);
- if (r != 0)
- return 1;
- yylex_destroy();
- ast_print(result, stdout);
- ast_free(result);
- return 0;
-}