From: pito <pi...@vo...> - 2010-08-07 21:07:57
|
Matthias, the beauty of the forth implementations like amforth or FF on AVR or PIC is that you do not need other suits of various supporting tools, just an editor (e.g. teletype or Palm Treo..). The ucontroller shall contain everything you need in order to operate it.. This is what most younger fans may attract to. So a switch between case sensitivness and case insensitivness woud be a great feature, as I wrote thre are tons of various source codes available. I am not an avr asm freak so I am not going to dig into your code. Moreover you might know the code by heart. There must be a simple point you handle single char from input stream - when the char c is: ((c >= 65) and (c <= 90)) then c = c + 32 ; or something like that.. Pito. ----- PŮVODNÍ ZPRÁVA ----- Od: "Matthias Trute" <mt...@we...> Komu: "pito" <pi...@vo...> Předmět: Re: [Amforth-devel] amforth - how to make him case Datum: 29.7.2010 - 19:16:48 > Pito, > > > > when you do insist on case sensitivness than do > > make the forth words > > > uppercase... > > Why do you think I insist on case sensitivness? > Case sensitivness > is simpler to implement (take it as an axiom if > you do not believe > it). Its very easy do write a converter in any > language on the PC > side, even windows VBS can do that: > > Dim upper as String = "converted from lowercase" > Console.WriteLine(upper.ToUpper()) > Console.WriteLine(UCase(upper)) > Console.WriteLine(StrConv(upper,VbStrConv.UpperCase)) > not to mention the many unix tools like tr... > > > Who actually needs case sensitive forth?? > > I do and will do so for the next few months, at > least. > > > PS: It is interesting how the creators of such > > nice sw implementations do insist on something, > > which an average > > > user does not understand.. I've tried FlashForth > > recently (have a > > > look on it - a lot of ineresting features you > > may utilise), however > > > the creator does insist on FOR NEXT instead of > > DO LOOP. Frankly, I > > > do not understand that.. > > Thats life. And FF is interesting, indeed. > > > Matthias > > PS: If _you_ insist on case insensitivness, feel > free to send a > patch, that I can consider to include into > amforth. Thats the way Open > Source Software works and thats the reason why I > share amforth with > other people > |