摘要: 二、类型管理 1、程序集与类型的管理 在Context初始化时便将AppDomain中的类型全部加载并交给TypeManager管理: public Context() { …… TypeManager = new TypeManager(); Assemblys = new Diction... 阅读全文
posted @ 2008-02-29 10:25 xiaotie 阅读(1399) 评论(3) 推荐(0)
摘要: 一、程序的基本结构 程序的控制核心是Context类,它持有: ·类型管理器TypeManager,管理该运用程序域加载的命名空间及类型的树,树结构如下: TypeDictionary(Root) |--TypeDictionary | |--TypeDictionary | |--TypeD... 阅读全文
posted @ 2008-02-29 10:14 xiaotie 阅读(1462) 评论(3) 推荐(0)
摘要: IDE总是笨重不堪,于是我们需要一个简单的控制台Shell去执行一些简单的语句,做一些简单的任务。就把它叫做 OrcShell。 实现简单的CSharpShell -- OrcShell (1) 基本结构 实现简单的CSharpShell -- OrcShell (2) 类型浏览、执行代码片断与其它 阅读全文
posted @ 2008-02-29 10:05 xiaotie 阅读(2844) 评论(5) 推荐(0)