2020-12-20 00:00:00 +00:00
|
|
|
#include <stdint.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
2020-12-29 00:00:00 +00:00
|
|
|
#include "./transpile.h"
|
2020-12-20 00:00:00 +00:00
|
|
|
#include "./tree.h"
|
|
|
|
|
|
|
|
int main(void) {
|
|
|
|
const uint8_t* zone = biner_tree_parse(stdin);
|
|
|
|
if (zone == NULL) return EXIT_FAILURE;
|
|
|
|
|
2020-12-29 00:00:00 +00:00
|
|
|
biner_transpile_c(&(biner_transpile_param_t) {
|
|
|
|
.zone = zone,
|
|
|
|
.dst = stdout,
|
|
|
|
});
|
2020-12-20 00:00:00 +00:00
|
|
|
return EXIT_SUCCESS;
|
|
|
|
}
|