Scala吧~  - 讨论区

标题:Is There a way to parse scala code and then convert to runtime instances?

2011年06月14日 星期二 16:07


This is what I want to do : I write scala code as configuration file, with these kind of configuration files, I parse them and convert class or object definitions into runtime instances and use them directly, in this way, the configuration will be much easier, spring's xml files are similar to this, but with scala code as direct configuration, the idea is more consistent, I don't whether there has been any such solution?
EditEdit

 

http://www.quora.com/Is-There-a-way-to-parse-scala-code-and-then-convert-to-runtime-instances

如下红色区域有误,请重新填写。

    你的回复:

    请 登录 后回复。还没有在Zeuux哲思注册吗?现在 注册 !

    Zeuux © 2024

    京ICP备05028076号