Files
scully/inc/AST/Type.h
2013-06-02 09:47:27 +02:00

19 lines
368 B
C++

/* The scully programming language.
*
* Copyright (c) Peter Dahlberg, Markus Hauschild and Florian Sattler, 2013.
* Licensed under the GNU GPL v2.
*/
#ifndef TYPE_H
#define TYPE_H
#include "llvm/Type.h"
#include <string>
enum class Type { BOOL, INT, STRING, VOID };
std::string typeToString(Type type);
llvm::Type* typeToLLVMType(Type type);
#endif // TYPE_H