summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/vm.h
blob: ba666dc64d56fc1249c8646546463d2db5da5ffe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*****
 * vm.h
 * Tom Prince 2005/06/17
 * 
 * Interface to the virtual machine.
 *****/

#ifndef VM_H
#define VM_H

#include "errormsg.h"

namespace vm {

class lambda; class stack;
typedef void (*bltin)(stack *s);

void run(lambda *l);
position getPos();
void errornothrow(const char* message);
void error(const char* message);
void error(const ostringstream& message);

} // namespace vm

#endif // VM_H