Re: [go-nuts] Problem with HINDI NAMES

2017-05-26 Thread Bakul Shah
On May 25, 2017, at 6:25 PM, Vikram Rawat wrote: > > Hello Bakul, > > I am just an R programmer(by which i mean i don't understand programming > much). I was looking for an alternative way to python. I really don't > understand what you said but i want to let you all know one thing. > > Engli

Re: [go-nuts] Problem with HINDI NAMES

2017-05-25 Thread Nathan Kerr
The Go team knows this a problem (see the issues listed by Rob Pike). The difficultly in fixing it is that the ecosystem surrounding Go relies on the current definition for identifiers. There is no way to add the characters you need without breaking other tools like syntax highlighters. It is a

Re: [go-nuts] Problem with HINDI NAMES

2017-05-25 Thread Vikram Rawat
Hello Bakul, I am just an R programmer(by which i mean i don't understand programming much). I was looking for an alternative way to python. I really don't understand what you said but i want to let you all know one thing. English hasonly 26 characters but those are not sufficient for languages l

Re: [go-nuts] Problem with HINDI NAMES

2017-05-25 Thread Bakul Shah
In my view, in the "worse is better" unix tradition, you can leave "canonicalization" out. Let the user worry about that (different ways of representing such chars can be checked and warned about by a lint program). Then the compiler only need to allow additional runes that pass unicode.IsMark(

Re: [go-nuts] Problem with HINDI NAMES

2017-05-25 Thread Rob Pike
This is https://github.com/golang/go/issues/5167. See also https://github.com/golang/go/issues/16033. -rob On Fri, May 26, 2017 at 1:15 AM, Bakul Shah wrote: > In other words, you should file a bug report (but technically it is a > language change). > > For Go purposes an identifier should st

Re: [go-nuts] Problem with HINDI NAMES

2017-05-25 Thread Bakul Shah
In other words, you should file a bug report (but technically it is a language change). For Go purposes an identifier should start with unicode letter or underscore as now but for the following Unicode chars the rule should be extended to include chars matching Unicode categories space combinin

Re: [go-nuts] Problem with HINDI NAMES

2017-05-25 Thread Jan Mercl
On Thu, May 25, 2017 at 4:25 PM Vikram Rawat wrote: It's working as specified: https://play.golang.org/p/yviuaufGDQ -- -j -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send

Re: [go-nuts] Problem with HINDI NAMES

2017-05-25 Thread Bakul Shah
As per the language ref technically this is not a bug as a vowel sign (U+094B 'ो') is a not Unicode letter but practically it is since you the majority of words in Indic languages need them. > On May 24, 2017, at 11:14 PM, Vikram Rawat wrote: > > package main > > import (p"fmt" > > ) > func

[go-nuts] Problem with HINDI NAMES

2017-05-25 Thread Vikram Rawat
package main import (p"fmt" ) func main(){ सोम(1,1,1,21323,2,2,32,1,) } func सोम (num ...int){ var total int for _, r:= range num{ total = total + r } p.Println("तुन्हारा जोड़ है ",total) } DOESN"T WORK But THIS DO