From a0ec4af1697cfa0bbdc641dda37503e3aad25605 Mon Sep 17 00:00:00 2001 From: Bobby Lucero Date: Sat, 27 May 2023 02:05:06 -0400 Subject: [PATCH] ASTPrinter now prints generated AST from parser --- .idea/misc.xml | 6 ++ headers/ASTPrinter.h | 16 ++-- headers/Parser.h | 24 +++++- headers/TypeWrapper.h | 4 +- source.bob | 17 +--- source/ASTPrinter.cpp | 28 +++---- source/Lexer.cpp | 8 +- source/Parser.cpp | 174 ++++++++++++++++++++++++++++++++++++++++- source/TypeWrapper.cpp | 18 +++++ source/bob.cpp | 28 ++++++- source/main.cpp | 65 +++++++-------- 11 files changed, 306 insertions(+), 82 deletions(-) create mode 100644 source/TypeWrapper.cpp diff --git a/.idea/misc.xml b/.idea/misc.xml index 53624c9..0cb754b 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,5 +1,11 @@ + + + + + +