#include "ast/ast.hpp"
#include "compiler/compiler.hpp"
#include "compiler/vals.hpp"
#include "diagnostic/errors.hpp"
#include "diagnostic/visitor/dot_visitor.hpp"
#include "diagnostic/visitor/print_visitor.hpp"
#include "token.hpp"
#include "util.hpp"
#include <algorithm>
#include <cstdlib>
#include <exception>
#include <filesystem>
#include <fstream>
#include <iterator>
#include <llvm/ADT/StringRef.h>
#include <llvm/IR/Module.h>
#include <llvm/Support/ErrorOr.h>
#include <llvm/Support/MemoryBuffer.h>
#include <llvm/Support/PrettyStackTrace.h>
#include <llvm/Support/Signals.h>
#include <llvm/Support/raw_ostream.h>
#include <memory>
#include <span>
#include <string>
#include <string_view>
#include <utility>
#include <vector>
Go to the source code of this file.
◆ CompilerFlags
| Enumerator |
|---|
| None | |
| NoLink | |
| EmitLLVM | |
| EmitASM | |
| EmitDot | |
| EmitUntypedDot | |
| DumpAST | |
| NoPrelude | |
Definition at line 43 of file yumec.cpp.
◆ __ubsan_default_options()
| auto __ubsan_default_options |
( |
| ) |
-> const char* |
◆ compile()
| auto compile |
( |
const std::optional< std::string > & |
target_triple, |
|
|
std::vector< std::string > |
src_file_names, |
|
|
CompilerFlags |
flags |
|
) |
| -> int |
Definition at line 74 of file yumec.cpp.
References DumpAST, EmitASM, EmitDot, EmitLLVM, EmitUntypedDot, lib_dir(), NoLink, NoPrelude, yume::open_file(), yume::Compiler::run(), yume::diagnostic::PrintVisitor::visit(), and visitor.
Referenced by main().
◆ emit_version()
◆ lib_dir()
| auto lib_dir |
( |
| ) |
-> std::string |
◆ main()
| auto main |
( |
int |
argc, |
|
|
const char * |
argv[] |
|
) |
| -> int |
Definition at line 164 of file yumec.cpp.
References yume::backtrace(), compile(), DumpAST, emit_version(), EmitASM, EmitDot, EmitLLVM, EmitUntypedDot, NoLink, None, NoPrelude, and yume::print_exception().
◆ operator&()
◆ operator|()
◆ operator|=()
◆ operator~()