using System; using System.Collections.Generic; using System.IO; using System.Text; namespace BytecodeTranslator { public class Prelude { public static void Emit(Microsoft.Boogie.TokenTextWriter wr) { wr.Write(@"// Copyright (c) 2010, Microsoft Corp. // Bytecode Translator prelude type Ref; const null: Ref; type Field alpha; type HeapType = [Ref, Field alpha]alpha; function IsGoodHeap(HeapType): bool; var $Heap: HeapType where IsGoodHeap($Heap); "); } } }