summaryrefslogtreecommitdiff
path: root/parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'parser.c')
-rw-r--r--parser.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/parser.c b/parser.c
index dc1e9a9..0e9a90b 100644
--- a/parser.c
+++ b/parser.c
@@ -179,21 +179,3 @@ parse_line(char *line) {
return 0;
}
-int main(void) {
- char buf[4096];
- FILE *fd = stdin;
-
- while (NULL != fgets(buf, sizeof(buf), fd)) {
- buf[strcspn(buf, "\r\n")] = '\0';
- if (parse_line(buf)) {
- return 1;
- }
- }
-
- gate_set_input("a", LOGIC_LOW);
- gate_set_input("b", LOGIC_LOW);
- gate_update();
- gate_dump();
-
- return 0;
-}