aboutsummaryrefslogtreecommitdiff
path: root/src/as_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/as_main.c')
-rw-r--r--src/as_main.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/as_main.c b/src/as_main.c
index 8585fa1..eb5de20 100644
--- a/src/as_main.c
+++ b/src/as_main.c
@@ -2,16 +2,6 @@
#include "as_tokenizer.h"
-// AST
-// ===
-//
-// <prog> ::= <stmts>
-// <stmts> ::= <stmt> <newline> | <stmt> <stmts> <newline>
-// <stmt> ::= <tag> <instr> | <instr> | <tag>
-// <instr> ::= <op> | <op> <arg> | <op> <label>
-// <tag> ::= <label> :
-// <op> ::= add | sub | mul | div | mod | eq
-
int main(int argc, char** argv) {
if (argc != 2) {
fprintf(stderr, "Usage: fvm-as <inputfile>\n");