[go-nuts] IDN support for Go, project announcement (go-idn)

133 views
Skip to first unread message

hannson

unread,
Apr 8, 2010, 7:32:08 PM4/8/10
to golang-nuts
Hi there,

I'm not sure if an announcement belongs in this group but I cannot
find a better place to post it. I'm looking for contributors who have
signed the Google individual/corporate license agreement (http://
golang.org/doc/contribute.html#copyright) because I'd like to get my
project into Go's standard libarry.

I've been working on a Go library called go-idn for several days. Its
goal is to become THE idn implementation for Go, maybe become a part
of the standard library for Go and to be feature compatible with
libidn.

Go-idn is hosted at http://code.google.com/p/go-idn.

Go-idn includes:
* Punycode codec
* Stringprep
* IDNA
* Unicode normalization (as of this writing it's buggy at best)
* TLD

The current status of the project is 75% until feature freeze. It's
mostly hanging on proper unicode normalization support and nothing has
been written for TLD (which is a long term goal) but anything else is
mostly working.

Punycode is ready - passes all unit-tests when case-insensitive but
fails a single test when case-insensitive
Stringprep is nearing completion - it's mostly waiting for the
normalization support
IDNA has been written - but is waiting for stringprep
TLD hasn't begun - it's only a long-term goal to support it.

Unicode normalization passes some unit tests but is not complete at
all.

Go-idn is hosted at http://code.google.com/p/go-idn.


--
Subscription settings: http://groups.google.com/group/golang-nuts/subscribe?hl=en

Andrew Gerrand

unread,
Apr 8, 2010, 8:53:28 PM4/8/10
to hannson, golang-nuts
This looks like an excellent project. Well done!

On 9 April 2010 09:32, hannson <han...@gmail.com> wrote:
> Hi there,
>
> I'm not sure if an announcement belongs in this group but I cannot
> find a better place to post it.

This is exactly the right place to post it. :-)

> I'm looking for contributors who have
> signed the Google individual/corporate license agreement (http://
> golang.org/doc/contribute.html#copyright) because I'd like to get my
> project into Go's standard libarry.

I'm not sure that this belongs in the standard library; we are
resisting being overly inclusive. It would be better if Go users had
access to high-quality 3rd-party libraries when they needed them.

On that note, I've noticed that go-idn doesn't work with the goinstall
tool. This is because it is a collection of packages that refer to
each other, but not by the full repository name. You'd have to change
each of the import paths in the code, eg:

"punycode" becomes "go-idn.googlecode.com/hg/src/punycode"
"stringprep" becomes "go-idn.googlecode.com/hg/src/stringprep"

That way a potential user can just run:

goinstall go-idn.googlecode.com/hg/src/idna

to pull in the idna package and its dependancies automatically.

> I've been working on a Go library called go-idn for several days. Its
> goal is to become THE idn implementation for Go, maybe become a part
> of the standard library for Go and to be feature compatible with
> libidn.
>
> Go-idn is hosted at http://code.google.com/p/go-idn.
>
> Go-idn includes:
>  * Punycode codec
>  * Stringprep
>  * IDNA
>  * Unicode normalization (as of this writing it's buggy at best)
>  * TLD
>
> The current status of the project is 75% until feature freeze. It's
> mostly hanging on proper unicode normalization support and nothing has
> been written for TLD (which is a long term goal) but anything else is
> mostly working.
>
> Punycode is ready - passes all unit-tests when case-insensitive but
> fails a single test when case-insensitive
> Stringprep is nearing completion - it's mostly waiting for the
> normalization support
> IDNA has been written - but is waiting for stringprep
> TLD hasn't begun - it's only a long-term goal to support it.
>
> Unicode normalization passes some unit tests but is not complete at
> all.
>
> Go-idn is hosted at http://code.google.com/p/go-idn.

Cheers,
Andrew

hannson

unread,
Apr 9, 2010, 3:09:04 AM4/9/10
to golang-nuts
Thanks for the tips!

On Apr 9, 12:53 am, Andrew Gerrand <a...@golang.org> wrote:
> This looks like an excellent project. Well done!
>

> > Go-idn is hosted athttp://code.google.com/p/go-idn.

Reply all
Reply to author
Forward
0 new messages