Roger Hui wrote: > Something else to do in these forums, even more so > than getting the tense correct, is to apologize less often. ;-) > > I could have predicted that 零 (zero) would be less > used in ancient times, if used at all, without knowing > anything about ancient Chinese texts, zero being a > relatively modern concept. > > > > ----- Original Message ----- > From: emptist <[email protected]> > Date: Wednesday, August 26, 2009 14:23 > Subject: Re: [Jchat] Is it possible to use Chinese for variable/function > names? > To: [email protected] > > >> Sorry, here I have made a mistake. >> >> In typing " In fact 零 *is* less used in comparing with 又" I >> really mean 零 >> *was* less used in ancient times and is almost always used now. >> >> There's no tense in Chinese so care have to be taken to avoid >> such mistakes >> in English for me as a native Chinese speaker. >> >> Sorry to Roger and all who read my previous post. >> >> >> emptist wrote: >> >>> Hi, Roger, >>> >>> I read the article you pointed to. Thanks. >>> And in ancient documents the 零 may also be found omitted, and >>> >> in other >> >>> cases 又 was used instead, as in 10035 萬又卅五,where 卅 equals to >>> >> 三十. In fact 零 >> >>> is less used in comparing with 又. >>> >>> As to approaches to make learning J easier, I've got a new >>> >> idea and I'll >> >>> keep it a secret. >>> >>> Oh, well I'm joking. In fact, the idea is, Asian people use >>> >> IME for >> >>> entering Unicode chars and some IME provide support for >>> >> customizing and >> >>> define user phrases. For example, I type 自行 and in Sougou >>> >> pinyin I would >> >>> be able to get this: >>> >>> -------- __@ >>> >> __@ __@ __@ __~@ >> >>> ----- _`\<,_ >>> >> _`\<,_ _`\<,_ >> _`\<,_ _`\<,_ >> >>> ---- (*)/ (*) (*)/ (*) (*)/ (*) (*)/ >>> >> (*) (*)/ (*) >> >>> So, the next to do is simple: just define all the primitives >>> >> and as much >> >>> as those idioms and type the name to input the codes. >>> >>> It will be interesting and encouraging for learners and even English >>> speakers can define and use a J specified IME :) >>> >>> Now only if someone will do the hard work and make it freely >>> >> available. >> >>> Thanks. >>> >>> Best Regards, >>> >>> Empt >>> >>> Roger Hui wrote: >>> >>>> A divertissement from >>>> http://www.jsoftware.com/jwiki/Essays/Number%20in%20Words#Chinese >>>> >>>> zh 123456789 >>>> 一億二千三百四十五萬六千七百八十九 >>>> >>>> 2^53x >>>> 9007199254740992 >>>> zh 2^53x >>>> 九千零七兆一千九百九十二億五千四百七十四萬零九百九十二 >>>> >>>> >>>> >>>> ----- Original Message ----- >>>> From: emptist <[email protected]> >>>> Date: Tuesday, August 25, 2009 22:10 >>>> Subject: Re: [Jchat] Is it possible to use Chinese for >>>> >> variable/function>> names? >> >>>> To: [email protected] >>>> >>>> >>>>> Hi, >>>>> >>>>> The first easy thing I thought of was to write a shell >>>>> >> script to >> >>>>> parse the >>>>> Chinese code into standard J. But that's not fun :) and I >>>>> >> would >> >>>>> prefer using >>>>> primitives instead. >>>>> >>>>> >>>>> Tracy Harms-3 wrote: >>>>> >>>>>> Non-ASCII names may, however, be accomplished by way of a >>>>>> >> customized>>> > preprocessor. >> >>>>>> On Tue, Aug 25, 2009 at 5:10 PM, Sherlock, >>>>>> >>>>> Ric<[email protected]>> wrote: >>>>> >>>>>>>> From: emptist >>>>>>>> >>>>>>>> Hi, >>>>>>>> I wonder if it's supported feature to use two byte chars >>>>>>>> >>>>> such as >>>>> >>>>>>>> Chinese Chars for varialbe/function names. I have tried >>>>>>>> >>>>> typing a >>>>> >>>>>>>> few but have got errors. Am I missing something? >>>>>>>> >>>>>>> No, currently names must be ASCII. There has been >>>>>>> >> previous forum >> >>>>>>> discussion about representing J primitives as a single >>>>>>> >>>>> (Unicode) symbols >>>>> >>>>>>> if you wish to search for it. >>>>>>> >>>>>>> From the Dictionary page "Alphabet and Words": >>>>>>> http://www.jsoftware.com/help/dictionary/dict1.htm >>>>>>> >>>>>>> "The alphabet is standard ASCII, comprising digits, >>>>>>> >> letters >> >>>>> (of the >>>>> >>>>>>> English alphabet), the underline (used in names and >>>>>>> >> numbers), ..." >> >>>>>>> "Names ... begin with a letter and may continue with >>>>>>> >> letters, >> >>>>> underlines,>> and digits." >>>>> > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm Wait a minuite!What about Welsh?
JIm Field... ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
