print + build partially tested

This commit is contained in:
ProgramSnail 2023-04-02 15:10:32 +03:00
parent 0d62ae0814
commit 15e36c203a
22 changed files with 179 additions and 116 deletions

View file

@ -10,9 +10,7 @@
#include "node.hpp"
namespace interpreter {
namespace tokens {
namespace interpreter::tokens {
// ----------------- Declarations -----------------
@ -30,7 +28,7 @@ using TypeclassIdentifier = std::string;
struct SourceFile;
struct Sources;
// Namespaces, partittions -----------------
// Namespaces, partitions -----------------
struct Partition;
struct Namespace;
@ -101,7 +99,7 @@ struct Block;
//
struct NameExpression;
struct NameSuperExpression;
struct ScopedStatement;
enum class LoopControlExpression {
@ -110,7 +108,7 @@ enum class LoopControlExpression {
};
using SubExpressionToken = std::variant<
std::unique_ptr<NameExpression>,
std::unique_ptr<NameSuperExpression>,
std::unique_ptr<ScopedStatement>>;
//
@ -576,6 +574,4 @@ struct CharLiteral : public Node {
char value;
};
} // namespace tokens
} // namespace interpereter
} // namespace interpereter::tokens