equal
deleted
inserted
replaced
26 /* main actor */ |
26 /* main actor */ |
27 |
27 |
28 private case class Start(args: List[String]) |
28 private case class Start(args: List[String]) |
29 private case object Stop |
29 private case object Stop |
30 |
30 |
31 @volatile private var _keywords = new Outer_Keyword(system.symbols) |
31 @volatile private var _syntax = new Outer_Syntax(system.symbols) |
32 def keywords(): Outer_Keyword = _keywords |
32 def syntax(): Outer_Syntax = _syntax |
33 |
33 |
34 private var prover: Isabelle_Process with Isar_Document = null |
34 private var prover: Isabelle_Process with Isar_Document = null |
35 private var prover_ready = false |
35 private var prover_ready = false |
36 |
36 |
37 private val session_actor = actor { |
37 private val session_actor = actor { |
161 case None => |
161 case None => |
162 } |
162 } |
163 |
163 |
164 // command and keyword declarations |
164 // command and keyword declarations |
165 case XML.Elem(Markup.COMMAND_DECL, (Markup.NAME, name) :: (Markup.KIND, kind) :: _, _) => |
165 case XML.Elem(Markup.COMMAND_DECL, (Markup.NAME, name) :: (Markup.KIND, kind) :: _, _) => |
166 _keywords += (name, kind) |
166 _syntax += (name, kind) |
167 case XML.Elem(Markup.KEYWORD_DECL, (Markup.NAME, name) :: _, _) => |
167 case XML.Elem(Markup.KEYWORD_DECL, (Markup.NAME, name) :: _, _) => |
168 _keywords += name |
168 _syntax += name |
169 |
169 |
170 // process ready (after initialization) |
170 // process ready (after initialization) |
171 case XML.Elem(Markup.READY, _, _) => prover_ready = true |
171 case XML.Elem(Markup.READY, _, _) => prover_ready = true |
172 |
172 |
173 case _ => |
173 case _ => |