Exemple #1
0
		public static void Main (string[] args)
		{
			var context = new GlobalContext(agoraFactory());
			SemanticContext currentContext = context;
			while (!context.End) {
				_prompt(currentContext);
				var text = _readCommand ();
				currentContext = currentContext.Process (text);
				_writeResult (currentContext.Result);
			}
		}
		public NamespaceContext(GlobalContext parentContext, string nsName) {
			this.nsName = nsName;
			this.parentContext = parentContext;
		}