h1-mod/deps/extra/gsc-tool/interface.cpp
m 28f50ffbcc GSC support (#247)
Co-authored-by: Federico Cecchetto <fedecek3@gmail.com>
2022-09-11 12:40:27 -05:00

21 lines
377 B
C++

#include "stdafx.hpp"
#include <xsk/h1.hpp>
#include "interface.hpp"
namespace gsc
{
std::unique_ptr<xsk::gsc::compiler> compiler()
{
auto compiler = std::make_unique<xsk::gsc::h1::compiler>();
compiler->mode(xsk::gsc::build::prod);
return compiler;
}
std::unique_ptr<xsk::gsc::assembler> assembler()
{
return std::make_unique<xsk::gsc::h1::assembler>();
}
}