Summary Files Commits Branches @commit @diff @stats
path: root / Year 2 / Implementation of Programming Languages / Transpiler / src / main.cpp
blob: 738f18bb064a623af827f6e6cd697a758d5b247b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#include <iostream>
#include <deque>
#include "LLVMVisitor/LLVMVisitor.h"

int main() {
	LLVMVisitor visitor("testout.ll");
	std::deque<Value*> nodes = { new Integer(123) };
	for (Value* n : nodes) {
		n->Visit(visitor);
	}
}