2022-09-11 13:14:42 -04:00
|
|
|
#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;
|
|
|
|
}
|
|
|
|
|
2022-10-10 14:21:14 -04:00
|
|
|
std::unique_ptr<xsk::gsc::decompiler> decompiler()
|
|
|
|
{
|
|
|
|
return std::make_unique<xsk::gsc::h1::decompiler>();
|
|
|
|
}
|
|
|
|
|
2022-09-11 13:14:42 -04:00
|
|
|
std::unique_ptr<xsk::gsc::assembler> assembler()
|
|
|
|
{
|
|
|
|
return std::make_unique<xsk::gsc::h1::assembler>();
|
|
|
|
}
|
2022-10-10 14:21:14 -04:00
|
|
|
|
|
|
|
std::unique_ptr<xsk::gsc::disassembler> disassembler()
|
|
|
|
{
|
|
|
|
return std::make_unique<xsk::gsc::h1::disassembler>();
|
|
|
|
}
|
2022-09-11 13:14:42 -04:00
|
|
|
}
|