-- Node gate_checker (to arbiter): runs Python syntax, static checks, and selected tests. -- NOTE: this specification has not been compiled with the GF toolchain in the authoring environment. abstract PythonGateChecker = { cat Report ; Gate ; Verdict ; fun Record : Gate -> Verdict -> Report ; Named : String -> Gate ; Confirmed : Verdict ; Rejected : Verdict ; Abstain : Verdict ; } concrete PythonGateCheckerEng of PythonGateChecker = { lincat Report, Gate, Verdict = Str ; lin Record g v = g ++ "=" ++ v ; Named s = s.s ; Confirmed = "CONFIRMED" ; Rejected = "REJECTED" ; Abstain = "ABSTAIN" ; }