#include "oberon.h" #include static const char source[] = "MODULE Test;" "VAR" " k : INTEGER;" " i : INTEGER;" " b : BOOLEAN;" "BEGIN" " k := -10 + 1;" " i := k;" " b := ~TRUE OR FALSE;" "END Test." ; static oberon_context_t * ctx; static oberon_module_t * mod; int main(int argc, char ** argv) { ctx = oberon_create_context(); mod = oberon_compile_module(ctx, source); oberon_destroy_context(ctx); return 0; }