lean4-htt/src/library/compiler/ir_interpreter.h
Sebastian Ullrich 948b0bf1f1 fix: interpreter::call_boxed: support over-application
MetaHasEval instances were not fully eta-expanded
2019-12-05 13:21:08 +01:00

19 lines
573 B
C++

/*
Copyright (c) 2019 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Sebastian Ullrich
*/
#pragma once
#include "kernel/environment.h"
#include "runtime/object.h"
namespace lean {
namespace ir {
/** \brief Run `n` using the "boxed" ABI, i.e. with all-owned parameters. */
object * run_boxed(environment const & env, name const & fn, unsigned n, object **args);
uint32 run_main(environment const & env, int argv, char * argc[]);
}
void initialize_ir_interpreter();
void finalize_ir_interpreter();
}