[nem-en] Going forward
Kamil Skalski
kamil.skalski at gmail.com
Wed Nov 22 09:52:10 CET 2006
On 11/22/06, Igor Tkachev <it at rsdn.ru> wrote:
> Michal, Kamil
>
> Thanks for your fixes and changes!
>
> One of really annoying, hard to catch, difficult to reproduce bug has
> magically disappeared. Compiler is much stable now.
>
> Thanks to Kamil, IsGenerated method rocks! :) We were able to
> eliminate some of our dirty hacks.
>
> But we still have a couple of issues.
>
> 1. First one needs to be done for colorizer to colorize user types.
> I have env at my context and I need a method to tell me if the
> string provided is a type or not. For example, it should return
> true for the 'List' string if System.Collections namespace is open.
> For the System.Collections.List it should return true in any case.
> It's OK if we get two methods for short and full names.
You should use LookupType from
http://nemerle.org/svn/nemerle/trunk/ncc/hierarchy/GlobalEnv.n
- you can pass null as "from : TypeBuilder" if this is outside any
type (otherwise you pass TypeBuilder of current type to filter
inaccessible types)
- you can pass -1 as argc if you do not care about amount of generic
type parameters
>
> Actually this one is only colonizing functionality which is missing
> right now comparing to C#.
>
> 2. Group location. Many of brackets have wrong locations. For example,
> if local function header does not include return value and there is
> at least one parameter, the location of the header ends at the last
> parameter, not at the closing bracket position.
Maybe we could create a little test framework, so we can pass various
sources to parser and then test locations on it. I guess all these
places should just be tracked and fixed (as I have seen you have done
many times... :) )
>
> Good news in the end. I hope in a week or two we will be able to
> release very first, just trial, not really ready for production,
> pre-alpha version for everybody to test it.
This is great. I think we should also prepare to release new version
of compiler. I think we should relesease 0.9.4RC/Beta with Integration
included.
--
Kamil Skalski
http://nazgul.omega.pl
More information about the devel-en
mailing list