b2d21f0a8a
- Working on new algorithm. Some memory error can occur.
19 lines
427 B
C
19 lines
427 B
C
#ifndef COMPILER
|
|
#define COMPILER
|
|
|
|
#include "tac.h"
|
|
#include "role.h"
|
|
#include "system.h"
|
|
|
|
void compilerInit (const System sys);
|
|
void compilerDone (void);
|
|
|
|
void compile (Tac tc, int maxruns);
|
|
void preprocess (const System sys);
|
|
Term findGlobalConstant (const char *s);
|
|
Term makeGlobalConstant (const char *s);
|
|
Term makeGlobalVariable (const char *s);
|
|
void compute_role_variables (const System sys, Protocol p, Role r);
|
|
|
|
#endif
|