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 like hindi, bengali, gurumukhi, malyalam and many other phonetic languages. So we use entire keyboard to type letters. In the above example सोम is a proper word with a meaning we just simply can't ignore ो or letters like that at all. Please tell me what to do. I really want to write program in my language because there arenone written yet. Thanks for any reply you give me Regards from India, Vikram singh Rawat On 26-May-2017 5:44 am, "Bakul Shah" <ba...@bitblocks.com> wrote: 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() for all but the first rune of an identifier. [Would be nice if we didn't have to wait for the mythical 2.0 for this!] As for exporting symbols, prepending _ for making symbols private means most likely more symbols will get accidentally exported. Once leaked they are harder to unleak! The default should be to keep things private. Why not instead allow an explicit "export" section? On May 25, 2017, at 12:37 PM, Rob Pike <r...@golang.org> wrote: 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 <ba...@bitblocks.com> wrote: > 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 combining (Mc) > and nonspacing (Mn) mark. > > On May 25, 2017, at 7:47 AM, Bakul Shah <ba...@bitblocks.com> wrote: > > 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 <vikramrawa...@gmail.com> > wrote: > > 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) > } > > -- > 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 an > email to golang-nuts+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > > -- > 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 an > email to golang-nuts+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- 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 an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.