Re: Hello!
- Posted by pampeano at rocketmail.com May 15, 2002
- 453 views
Hi Alexa, Welcome to our community =) I hope i can help with my answer if i don't, i'm sure someone else can. 1) Enter http://www.rapideuphoria.com/contrib.htm and search for EFL. It's a modification to euphoria's editor so it can support foreign languages. You can tweak it to fill your need =) 2) Not sure about that, i just simply call it "euphoric magic". Hope this helps. Best Regards, Guillermo Bonvehi AKA: KNiXEUR - Caballero Rojo --- alexione at EUnet.yu wrote: > > Hello, funs of eu from another ex-Pascaller :) > > Few words on me - I'm student of computer-science especially > interested in PLs. I > really like eu, it's simplicity and readability, and here are some > questions I have: > > 1) Did anybody already write some kind of preprocessor for eu which > supports > shortcuts for keywords (like proc->procedure, func->function, endp, > endf, endw, > endfor, endif, ...)? I have to admit that I have most trouble typing > that 'SEQuence' > which annoyed me so much that I replaced it with type 'list' = return > 1. Or, maybe ED > or EE or some other editor supports these features? > > 2) Those upper and lower from wildcards.e are real example of eu's > power. Doing a > little test with seq of 2 millions integers, I find that those > functions sometimes work > faster (about 1.2s), and sometimes slower (about 1.4s). But when I > write it as: > > function is_upper (object x) > return (x >= 'A' and x <= 'Z') > end function > > global function lower(object x) > return x + is_upper(x) * TO_LOWER > end function > > it constantly works faster (1.2s). I suppose it has some connection > with freeing of > not-anymore-used seqs, or smt like that, which seems to be done at > the and of > func/proc (just thoughts). I have no real question here, it was just > an observation > hoping it could help improving eu's handling of seqs. > > That's it for now. > > Best regards > Alexa >