终于真的开始有进展了

2010-09-09 18:47:49
经过长时间的摸索,我充分的相信我已经站在程序语言设计的最前沿,现在已经确定了合适的工具,确定了进展的方向,确定了各个阶段的目标,剩下的,是具体的编码工作。

希望能在今年内完成第一阶段的目标:
自定义语言的通用解释器和编辑器,具体的功能是,在具有智能感知的编辑器中,通过模板定义方式定义新语法和语义,同时生成新语法的解释器。具体的应用包括:定义c语言模板,生成c语言的解释器;定义xml的模板;生成xml的解释器,定义java语言模板;可以生成java语言的解释器,... ... ,定义新语言的模板,生成新语言的解释器。include某个语言的模板,编辑器就成为这门语言的代码编辑器,具有完善的智能感知功能。(听起来像emacs,emacs是个伟大的编辑器,但相信我,它应该比emacs要直观简单得多)

再用一次这个家伙给我的评论虚荣的鼓励一下自己:

It's a very good idea. In a twisted way it reminds of "Subtext" - the computer is *there* so why isn't it helping more with the automatable parts of writing a program? Why are we still using dumb text editors, for the most part?

It's different from subtext in that the "PSI-"-style templating and the implied kind of "interactive type inference" is original (except that somebody, somewhere has probably tried something somewhat similar before :-)
-t
update: p.s.: it's a very subversive idea, too, in that it suggests a completely different approach to problem that ever-more-sophisticated type-theory-inspired systems are coming up with. A much simpler and yet plausibly more powerful approach.
::...
免责声明:
当前网页内容, 由 大妈 ZoomQuiet 使用工具: ScrapBook :: Firefox Extension 人工从互联网中收集并分享;
内容版权归原作者所有;
本人对内容的有效性/合法性不承担任何强制性责任.
若有不妥, 欢迎评注提醒:

或是邮件反馈可也:
askdama[AT]googlegroups.com


点击注册~> 获得 100$ 体验券: DigitalOcean Referral Badge

订阅 substack 体验古早写作:


关注公众号, 持续获得相关各种嗯哼:
zoomquiet


自怼圈/年度番新

DU22.4
关于 ~ DebugUself with DAMA ;-)
粤ICP备18025058号-1
公安备案号: 44049002000656 ...::