Goose  Artifact [746920f10c]

Artifact 746920f10c8f98d14479e6f8b494e17f643709e1add301cd592946c174698f7a:

  • File bs/builtins/builtins.h — part of check-in [8be0ff932c] at 2021-11-24 19:45:36 on branch trunk — Propositions are now parsed like regular statement sequences, but using the proposition list under construction as the current builder (user: zlodo size: 708)

#ifndef GOOSE_BUILTINS_H
#define GOOSE_BUILTINS_H

#include "eir/eir.h"
#include "cir/cir.h"
#include "sema/sema.h"
#include "diagnostics/diagnostics.h"

namespace goose::builtins
{
    using namespace eir;
    using namespace sema;
    using namespace diagnostics;

    extern const Term& RootG0Identity();
}

#include "codegen/codegen.h"

#include "helpers.h"
#include "builders/codebuilder.h"
#include "types/types.h"
#include "operators/operators.h"
#include "statements/statements.h"
#include "exprhelpers.h"

namespace goose::builtins
{
    extern void SetupCodeBuilderInterface( Env& e );
    extern void SetupPropositionsBuilderInterface( Env& e );
    extern void SetupBuiltins( Env& e );
}

#endif