-- Node executor (to gate_checker and adversary): proposes a Python search-replace patch. -- NOTE: this specification has not been compiled with the GF toolchain in the authoring environment. abstract PythonExecutor = { cat Proposal ; Path ; Status ; fun Propose : Path -> Status -> Proposal ; FilePath : String -> Path ; PatchState : String -> Status ; } concrete PythonExecutorEng of PythonExecutor = { lincat Proposal, Path, Status = Str ; lin Propose p s = "patch" ++ p ++ "status" ++ s ; FilePath p = p.s ; PatchState s = s.s ; }