1. Hello!

Greetings All!

Just wanted to take a moment to introduce myself, my name is Ralph Hilton but I
prefer Major Havoc <grin>. I've owned Eu since 1.5 and to be honest have not done
much with it, but, the progamming bug has bit me and I want to start using Eu.

I used to progam alot on the Atari ST using GFA Basic (which is alot like Eu).
So hopefully the learning curve will not be to steep...

So I'll be asking alot of newbie questions so please forgive me.

Someone earlier mentioned a lib call mirctoks and I am  interested in looking at
it, esp. the parse() part of it...as the project I have in mind will need a
"command parser", simple two word, verb/noun combo's at first.... Where can I
find it? It's not on the official "user contributions" part of the site...

Anyway thanx and I look forward to learning Eu.

MH

"Its true that light travels faster then sound. That is why some people seem
bright until you hear them speak..." - Unknown

- aka Major Havoc, Official Battlecruiser 3000 Tester since 10/96
- aka MajHavoc in online games.
- Major Havoc News : http://www.majorhavoc.com

new topic     » topic index » view message » categorize

2. Hello!

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

new topic     » goto parent     » topic index » view message » categorize

3. Re: Hello!

On  0, alexione at EUnet.yu wrote:

> 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?

Not that I know of. If I find the time I might write one and submit it
to
the archives.

jbrown



-- 
http://fastmail.fm/ - The professional email service

new topic     » goto parent     » topic index » view message » categorize

4. Re: Hello!

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
>

new topic     » goto parent     » topic index » view message » categorize

5. Re: Hello!

Alexa wrote:

> 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, ...)?

EE has an autocomplete function, so if you type:

   if |

(where "|" represents the cursor) you will automatically get:

   if | then
   
   end if

and so on. pressing <Enter> will move you to the next line, properly 
indenting, and leaving the "then" on the prior line.

   if someTest() then
      |
   end if

It wouldn't be that hard to make "seq" autocomplete to "sequence", but you're 
probably better off redefining "sequence" as "seq". Personally, I had 
redefined "integer" as "int".

This feature is also available in Judith's IDE, although the editor isn't as 
complete as the one in EE. However, Judith's IDE has cool "intellihints", or 
whatever nonsense the Microsoft marketers call those things. So if you type a 
routine name:

   bitBlt( |

you'll get a nice popup showing you the arguments that the routine takes.

-- David Cuny

new topic     » goto parent     » topic index » view message » categorize

6. Re: Hello!

Derek:
I just started to use code-genie. Please send me the files, either privately
or to the list, as you like.
TIA
----- Original Message -----
From: "Derek Parnell" <ddparnell at bigpond.com>
To: "EUforum" <EUforum at topica.com>
Subject: RE: Hello!


>
> jbrown105 at speedymail.org wrote:
> > On  0, alexione at EUnet.yu wrote:
> >
> > > 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?
> >
> > Not that I know of. If I find the time I might write one and submit it
> > to
> > the archives.
> >
>
> I use a FREE editor called Code-Genie (www.code-genie.com) which
> supports this (and more usefully stuff). If anybody is using Code-Genie,
> I can share my euphoria.cfl, and euphoria.cgsyn files.
>
>
>
>

new topic     » goto parent     » topic index » view message » categorize

7. Re: Hello!

Hi Derek,

Be so kind to send these your files to me too.
This excellent thing works fine for me on my 
mainframe 386 25MHz 8M RAM Windows 95. smile

And it seems to be, Author doesn't know about 
this great feature of his very 
very good program. smile

Regards,
Igor Kachan
kinz at peterlink.ru

----------
> От: rforno at tutopia.com
> Кому: EUforum <EUforum at topica.com>
> Тема: Re: Hello!
> Дата: четверг, Май 16, 2002 10:02
> 
> Derek:
> I just started to use code-genie. 
>  Please send me the files, either privately
> or to the list, as you like.
> TIA
> ----- Original Message -----
> From: "Derek Parnell" <ddparnell at bigpond.com>
> To: "EUforum" <EUforum at topica.com>
> Sent: Wednesday, May 15, 2002 7:11 PM
> Subject: RE: Hello!
> 
> >
> > jbrown105 at speedymail.org wrote:
> > > On  0, alexione at EUnet.yu wrote:
> > >
> > > > 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?
> > >
> > > Not that I know of. If I find the time I might write one and submit
it
> > > to
> > > the archives.
> > >
> >
> > I use a FREE editor called Code-Genie (www.code-genie.com) which
> > supports this (and more usefully stuff). If anybody is using
Code-Genie,
> > I can share my euphoria.cfl, and euphoria.cgsyn files.

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu