mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-01 09:49:24 +03:00
a76a1322eb
Written by Volkmar Frinken (@vfrinken). This is intended as a lightweight (i.e. minimal dependencies) code generator that can be ported to multiple platforms, especially those with memory constraints. It shouldn't be expected to be anywhere near as fast as the Scheme back end, for lots of reasons. The main goal is portability.
13 lines
291 B
C
13 lines
291 B
C
#ifndef __RUNTIME_H__
|
|
#define __RUNTIME_H__
|
|
|
|
#include "cBackend.h"
|
|
|
|
Value *apply_closure(Value *, Value *arg);
|
|
void push_Arglist(Value_Arglist *arglist, Value *arg);
|
|
|
|
int extractInt(Value *);
|
|
Value *trampoline(Value *closure);
|
|
Value *tailcall_apply_closure(Value *_clos, Value *arg);
|
|
#endif
|