On Oct 30, 2006, at 11:08 AM, P T Withington wrote:
Great stuff! 3 comments:
1. The compiler does not (yet) handle expressions in compile-time
conditionals. It only evaluates compile-time constants.
Good to know! I should have checked before I dove into that, but it
was too fun figuring out how to do three-value logic (true/false/
indeterminate) and I didn't want to stop when I got to and/or/not.
2. Most of the doc-comments in the LFC are bounded
by //--- ... //---, which should make your task of converting to /
** .. */ easier. There are some in-line doc comments that you
would have to fix, but those should easily be found by searching
for '//\s@'.
Right-o.
3. The goal of reducing the schema is noble. One way: look at
moving more of the LFC out to LZX components. This would have the
additional benefit of reducing the size of the LFC and applications
(since components are only loaded when used). Perhaps there aren't
any pieces we can move in this way, but it is worthwhile thinking
about.
I guess another way to do it would be to start generating schema
information directly from the LFC sources. Then the hand-built scheme
would just include "special forms" like <class>. I was intending to
try that tack first, but haven't investigated very deeply. Any
thoughts on why that wouldn't work?
Thanks,
jim