5#include <llvm/IR/Instructions.h>
6#include <llvm/IR/LLVMContext.h>
7#include <llvm/IR/Type.h>
12namespace sammine_lang::AST {
15 llvm::LLVMContext &context;
18 llvm::Type *get_type(
Type t);
19 llvm::Type *get_return_type(
Type t);
20 llvm::CmpInst::Predicate get_cmp_func(
Type a,
Type b, TokenType tok);
22 TypeConverter(llvm::LLVMContext &context) : context(context) {}
Defines the token structure (TokenType, TokStream, TokenMap)
Defines the core Type system for Sammine.
Holds classes and functionalities for dealing with Error handling, source locations caching & indexin...