1. Editors for Euphoria

grin

First plug... eFTE has support for Euphoria. No indentation support yet, but
it's coming. It has multiple file, directory browsing, cvs, svn integration,
function browsing (for Euphoria too), works on Linux console, X windows, Windows,
DOS and OS/2. Works fine via ssh. Split screen, advanced macro system, very fast
and easy to use. etc... It's not written in Euphoria.

http://efte.cowgar.com

Maybe we can move the editor discussion here?

--
Jeremy Cowgar
http://jeremy.cowgar.com

new topic     » topic index » view message » categorize

2. Re: Editors for Euphoria

Jeremy Cowgar wrote:
> 
> grin
> 
> First plug... eFTE has support for Euphoria. No indentation support yet, but
> it's coming. It has multiple file, directory browsing, cvs, svn integration,
> function browsing (for Euphoria too), works on Linux console, X windows,
> Windows,
> DOS and OS/2. Works fine via ssh. Split screen, advanced macro system, very
> fast and easy to use. etc... It's not written in Euphoria.
> 
> <a href="http://efte.cowgar.com">http://efte.cowgar.com</a>
> 
> Maybe we can move the editor discussion here?
> 
> --
> Jeremy Cowgar
> <a href="http://jeremy.cowgar.com">http://jeremy.cowgar.com</a>

... and as you stated previously it has 56k of C/C++ code!  Bare bones
ed.ex has 2.7k euphoria code. With less than 5% of the code, ed.ex has 
I dare say, 85% of the functionality of eFTE.  So the question is, how 
difficult is it to add the difference in features to ed.ex, or for that 
matter write a whole new console editor from scratch in euphoria which 
would have eFTE features?  I suppose that would bloat the Euphoria coded
console editor all the way up to say, gosh, 9k.

Either Euphoria is a more powerful language, or it isn't.

Leave the Matrix, Jeremy.  Come to Euphoria. A very bright fellow has
taken the reins of Euphoria's open source development now and things are
really happening. blink


Ken Rhodes
Folding at Home: http://folding.stanford.edu/
100% MicroSoft Free
SuSE Linux 10.0
No AdWare, SpyWare, or Viruses!
Life is Good,  smile

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

3. Re: Editors for Euphoria

Jerry Story wrote:

If you all are looking for an editor for Euphoria programming for GNU/Linux,
Kate is very good. It has syntax coloring for Euphoria (thanks to Irv Mullins).
It has sessions. You can quickly switch to another session (=project). It has
a built-in terminal that you can run programs in. It has a filesystem browser
and a list of documents. The list of documents changes when you change to a
different session. It has as many windows as you want. You can configure it
every imaginable way. It has syntax coloring for dozens of languages.

Kate is a KDE thing but it works on Gnome. But if you are running Gnome and
you want Kate to work fully and without bugs, you may need to install some KDE
stuff. For example the built-in terminal (very useful) won't work unless you
install the KDE version of terminal.
..........

Yep, Kate is a very nice GUI editor for Linux. Irv's syntax files for 
Kate also work nicely with Kwrite.

I have found that I really like the clarity of the fonts that
I am able to use with ed.ex in a Linux terminal.  Also, I really like 
ed.ex's split screen; although some find it annoying.  There are
things that I like about GUI editors, but I always find myself coming
home to ed.ex. 

If a cross platform GUI editor written in Euphoria is wanted, then 
perhaps people could work on extending or improving Matt's wxWindows 
editor.  I took a look at it and got lost in the code.  Actually, I
think that I was lost before I got into the code, but thats a personal
matter. :) :) :)


Ken Rhodes
Folding at Home: http://folding.stanford.edu/
100% MicroSoft Free
SuSE Linux 10.0
No AdWare, SpyWare, or Viruses!
Life is Good,  smile

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

4. Re: Editors for Euphoria

Kenneth Rhodes wrote:
> 
> 
> ... and as you stated previously it has 56k of C/C++ code!  Bare bones
> ed.ex has 2.7k euphoria code. With less than 5% of the code, ed.ex has 
> I dare say, 85% of the functionality of eFTE.  So the question is, how 
> difficult is it to add the difference in features to ed.ex, or for that 
> matter write a whole new console editor from scratch in euphoria which 
> would have eFTE features?  I suppose that would bloat the Euphoria coded
> console editor all the way up to say, gosh, 9k.
> 

Hm, I'd say maybe 8.5%, but no way 85%, not even close. 8.5% may be pushing it. 
For one, auto-indentation for many modes, user configurable modes, menus, key
bindings, GUI interface for 4 different platforms, text interface for those four
platforms as well, regular expressions through out (find, replace, etc...),
joining, splitting, repeating commands, folding, ctags, block; line and column
selection and paste, paren matching, all sorts of advanced character
translations, block operations, compiler integration (F5 builds your app, errors
are displayed, hit enter on a line and your taken to that file/line), directory
browser (make new dirs, remove files, check svn status), svn and cvs integrations
(view diffs, logs, commit, blame, etc...), local and global book marks,
reading/writing selections, filtering selections via external programs, line
sorting, 57 different programming languages (syntax highlighting, function
browsing, etc...), many of them have custom menus, abbreviations (type gfunc for
instance, it expands into a global function template while in Euphoria), xif in C
would expand to a if statement, etc..., file templates, and I am sure I am
leaving out quite a bit of other things. For instance, all the fancy key strokes
to do things in 1 touch that would take quite some time in a simple editor like
ed.

--
Jeremy Cowgar
http://jeremy.cowgar.com

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

5. Re: Editors for Euphoria

I'm happy with whatever editor is chosen but I'd be disappointed if is ed thrown
out. I know it's simple and "archaic" but sometimes less is more, and a CLI
editor is a lot more efficient once you've learned the keystrokes.

Plus, I'm just used to it. :)

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

6. Re: Editors for Euphoria

Jeremy Cowgar wrote:

> Hm, I'd say maybe 8.5%, but no way 85%, not even close. 8.5% may be pushing
> it.  For one...

Not very impressive, compared to my enhancements for ed.ex. With my ed2.ex
editor, you can plug a cable from your PC directly into your brain and program
without typing at all, with autocomplete of not just words or lines,
but of entire programs.

It's still in beta, though.

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

7. Re: Editors for Euphoria

c.k.lester wrote:
> 
> Jeremy Cowgar wrote:
> 
> > Hm, I'd say maybe 8.5%, but no way 85%, not even close. 8.5% may be pushing
> > it.  For one...
> 
> Not very impressive, compared to my enhancements for ed.ex. With my ed2.ex
> editor, you can plug a cable from your PC directly into your brain and program
> without typing at all, with autocomplete of not just words or lines,
> but of entire programs.
> 
> It's still in beta, though.

Oh, yeah... Forgot, auto-complete of words, strings and lines. Anyway, this is
not meant to be a selling board for eFTE, but just general Euphoria editor
discussions.

--
Jeremy Cowgar
http://jeremy.cowgar.com

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

8. Re: Editors for Euphoria

Jules wrote:
> 
> I'm happy with whatever editor is chosen but I'd be disappointed if is ed
> thrown
> out. I know it's simple and "archaic" but sometimes less is more, and a CLI
> editor is a lot more efficient once you've learned the keystrokes.
> 
> Plus, I'm just used to it. :)

I don't think we are discussing any official euphoria editor, as there is none
and never will be. Tastes vary too much. Also, don't worry about ed being thrown
out. It'll be there.

--
Jeremy Cowgar
http://jeremy.cowgar.com

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

9. Re: Editors for Euphoria

Kenneth Rhodes wrote:

> Yep, Kate is a very nice GUI editor for Linux. Irv's syntax files for 
> Kate also work nicely with Kwrite.
> 
> I have found that I really like the clarity of the fonts that
> I am able to use with ed.ex in a Linux terminal.  Also, I really like 
> ed.ex's split screen; although some find it annoying.  There are
> things that I like about GUI editors, but I always find myself coming
> home to ed.ex. 

In case people get the idea that Kate doesn't have font options and split
screens: Kate has font options and as many split screens as you want.

Altho Kate is GUI, I use the keyboard for everything except:
1. click on 'terminal'
2. click on a filename
3. click on a screen (altho this can be done by keyboard)
4. change the size of a screen
5. change to a different session
6. split a screen
7. close a screen
8. start a new file
9. start a new session
10. only rarely anything else

Save is done by ctrl S
Copy is done by ctrl C
Paste is done by ctrl V

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

10. Re: Editors for Euphoria

Jeremy Cowgar wrote:
> 
> grin
> 
> First plug... eFTE has support for Euphoria. No indentation support yet, but
> it's coming. It has multiple file, directory browsing, cvs, svn integration,
> function browsing (for Euphoria too), works on Linux console, X windows,
> Windows,
> DOS and OS/2. Works fine via ssh. Split screen, advanced macro system, very
> fast and easy to use. etc... It's not written in Euphoria.
> 
> <a href="http://efte.cowgar.com">http://efte.cowgar.com</a>
> 
> Maybe we can move the editor discussion here?
> 
> --
> Jeremy Cowgar
> <a href="http://jeremy.cowgar.com">http://jeremy.cowgar.com</a>

Edita does all that. You can open several files with the color tabs at top or
   bottom.

And it is written entirely in Euphoria.

Don Cole

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

11. Re: Editors for Euphoria

Jeremy Cowgar wrote:
> 
> Kenneth Rhodes wrote:
> > 
> > 
> > ... and as you stated previously it has 56k of C/C++ code!  Bare bones
> > ed.ex has 2.7k euphoria code. With less than 5% of the code, ed.ex has 
> > I dare say, 85% of the functionality of eFTE.  So the question is, how 
> > difficult is it to add the difference in features to ed.ex, or for that 
> > matter write a whole new console editor from scratch in euphoria which 
> > would have eFTE features?  I suppose that would bloat the Euphoria coded
> > console editor all the way up to say, gosh, 9k.
> > 
> 
> Hm, I'd say maybe 8.5%, but no way 85%, not even close. 8.5% may be pushing
> it.  For one, auto-indentation for many modes, user configurable modes, menus,
> key bindings, GUI interface for 4 different platforms, text interface for
> those
> four platforms as well, regular expressions through out (find, replace,
> etc...),
> joining, splitting, repeating commands, folding, ctags, block; line and column
> selection and paste, paren matching, all sorts of advanced character
> translations,
> block operations, compiler integration (F5 builds your app, errors are
> displayed,
> hit enter on a line and your taken to that file/line), directory browser (make
> new dirs, remove files, check svn status), svn and cvs integrations (view
> diffs,
> logs, commit, blame, etc...), local and global book marks, reading/writing
> selections,
> filtering selections via external programs, line sorting, 57 different
> programming
> languages (syntax highlighting, function browsing, etc...), many of them have
> custom menus, abbreviations (type gfunc for instance, it expands into a global
> function template while in Euphoria), xif in C would expand to a if statement,
> etc..., file templates, and I am sure I am leaving out quite a bit of other
> things. For instance, all the fancy key strokes to do things in 1 touch that
> would take quite some time in a simple editor like ed.
> 
> --
> Jeremy Cowgar
> <a href="http://jeremy.cowgar.com">http://jeremy.cowgar.com</a>

Actually, ed.ex has a number of the features you have listed above.
Out of the box we're comparing apples and oranges. As has been noted
many times before, ed.ex was intended as a simple demo. It is simple,
but it packs a lot of bang for the buck... and   
my humble experience with euphoria and ed.ex has led me to believe
that it would be much easier to implement further editing features in 
Euphoria than C/C+.

But, lets get to the heart of the matter...

First things first... Is Euphoria a much more powerful language than
C/C+?

What are Euphoria's limitations as far as a language in which to develop
an editor with the features of eFTE?

Anwering these questions might reveal objectives to target in
Euphoria's further development.

Ken Rhodes
Folding at Home: http://folding.stanford.edu/
100% MicroSoft Free
SuSE Linux 10.0
No AdWare, SpyWare, or Viruses!
Life is Good,  smile

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

12. Re: Editors for Euphoria

I like Vim...

--
A complex system that works is invariably found to have evolved from a simple
system that works.
--John Gall's 15th law of Systemantics.

"Premature optimization is the root of all evil in programming."
--C.A.R. Hoare

j.

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

13. Re: Editors for Euphoria

Kenneth Rhodes wrote:
> 
>
> Actually, ed.ex has a number of the features you have listed above.
> Out of the box we're comparing apples and oranges. As has been noted
> many times before, ed.ex was intended as a simple demo. It is simple,
> but it packs a lot of bang for the buck... and   
> my humble experience with euphoria and ed.ex has led me to believe
> that it would be much easier to implement further editing features in 
> Euphoria than C/C+.

I've browsed through the docs of ed, either I am missing a HUGE section of it,
or eFTE is much more powerful. But, we are comparing apples to oranges.
 
> But, lets get to the heart of the matter...
> 
> First things first... Is Euphoria a much more powerful language than
> C/C+?

What is power?

> What are Euphoria's limitations as far as a language in which to develop
> an editor with the features of eFTE?

eFTE could be written in Euphoria, C, C++, Assembler, Python, Ruby, Lisp,
Fortran, Forth, Basic and many other languages.

> Anwering these questions might reveal objectives to target in
> Euphoria's further development.

Why do I develop in Euphoria instead of C or C++ on a regular basis? Because in
Euphoria things are simpler. I can achieve the same task with less code. How much
less? I *highly* doubt you could take a 60k C/C++ program and condense it to 9k
of Euphoria code. I've done many studies on languages and if that were
achievable, there could only be 1 of two explanations. 1. Euphoria is a miracle
language like no other or 2. eFTE is so badly code bloated that it needs
rewritten from scratch anyway (which there is some truth to that).

Now, back to one of your original questions. Who wants to work through 60k of a
C program and rewrite it just for the sake of rewriting? I have too many things
to do already to rewrite a perfectly functioning editor.

--
Jeremy Cowgar
http://jeremy.cowgar.com

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

14. Re: Editors for Euphoria

Jeremy Cowgar wrote:

> 
> Why do I develop in Euphoria instead of C or C++ on a regular basis? Because
> in Euphoria things are simpler. I can achieve the same task with less code.
> How much less? I *highly* doubt you could take a 60k C/C++ program and
> condense
> it to 9k of Euphoria code. I've done many studies on languages and if that
> were
> achievable, there could only be 1 of two explanations. 1. Euphoria is a
> miracle
> language like no other or 2. eFTE is so badly code bloated that it needs
> rewritten
> from scratch anyway (which there is some truth to that).
> 
> Now, back to one of your original questions. Who wants to work through 60k of
> a C program and rewrite it just for the sake of rewriting? I have too many
> things
> to do already to rewrite a perfectly functioning editor.
> 
> --
> Jeremy Cowgar

Thanks for your patience, Jeremy... and by the way, a really big thanks
for taking the reins with Euphoria's development.  It might be my
imagination, but it feels like this community has sailed out of the
doldrums since you've taken the helm. (please forgive my mixed metaphors).

I deeply appreciate your efforts.

Ken Rhodes
Folding at Home: http://folding.stanford.edu/
100% MicroSoft Free
SuSE Linux 10.0
No AdWare, SpyWare, or Viruses!
Life is Good,  smile

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

15. Re: Editors for Euphoria

Has everyone forgotten David Cuny's (Irv Mullins') ee for dos, and Linux?

Personally I use Kate on Linux, and EditPlus at home.

Chris

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

16. Re: Editors for Euphoria

ChrisBurch2 wrote:
> 
> Has everyone forgotten David Cuny's (Irv Mullins') ee for dos, and Linux?
> 
> Personally I use Kate on Linux, and EditPlus at home.
> 
> Chris

I am sed to ConTEXT (0.97.5). If I was less lazy about it, I'd check Vim.For
some advanced tasks, I still use Bingo, an old DOS editor which is highly
configurable and has its own mcro language. Unfortunately abandonware, and Chess
(the macro language) has a couple bugs. AFAIK,Bingo v4 is the only DOS program I
ever directly use.

Some of those old DOS programs are excellent. They have a bog problem though:
the colors are in restricted number and flashy, making reading text pretty ey
stressful.
At that time, I was using VGA Master to customise the colors, and that had
worked very well. But VGAM directly accesses the DAC and I haven't been able to
get it working in emulated DOS mode under Windows (it loads, displays modified
colors, but they are no longer reflected to program being run).

CChris

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

17. Re: Editors for Euphoria

> On 24 Apr 2008 at 2:52, CChris wrote (maybe snipped):

> I am sed to ConTEXT (0.97.5). If I was less lazy about it, I'd check
> Vim.For some advanced tasks, I still use Bingo, an old DOS editor
> which is highly configurable and has its own mcro language.
> Unfortunately abandonware, and Chess (the macro language) has a couple
> bugs. AFAIK,Bingo v4 is the only DOS program I ever directly use.
> 
I'm using PSPad. Works nicely under Windows and has several widgets. 
If I could mention a drawback it would be the lack of syntax folding. 
I'm using a modified syntax highlighter plus an interactive code clip 
(sort of code completion without IntelliSense) of my brew. It also 
works with my Refman.hlp (Euphoria Reference Manual built in WinHelp, 
HTML Help, and indexed HTML) I made a time ago and updated to last 
version. IIRC, ConTEXT can make calls to help files also.
http://www.pspad.com/
http://www.contexteditor.org/

Notepad++ (based on Scintilla) is worth looking. It has syntax 
highlighting and folding, but needs improvement IMHO.
http://notepad-plus.sourceforge.net/

> Some of those old DOS programs are excellent. They have a bog problem
> though: the colors are in restricted number and flashy, making reading
> text pretty ey stressful. At that time, I was using VGA Master to
> customise the colors, and that had worked very well. But VGAM directly
> accesses the DAC and I haven't been able to get it working in emulated
> DOS mode under Windows (it loads, displays modified colors, but they
> are no longer reflected to program being run).
> 
I used BRIEF for a long time. Still have an old version (2-floppy 
installation for DOS). Missed many of its capabilities including that 
of opening multiple windows by just pressing arrow keys. Never found 
a Windows editor with such functionality.

> CChris
> 

Best,
Euler

-- 
_
_| euler f german
_| sete lagoas, mg, brazil
_| efgerman{AT}gmail{DOT}com
_| -----------------------------
_| Reply preferably to the list,
_| or to the address above. Thx!

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

18. Re: Editors for Euphoria

Date: Thu Apr 24 18:26
 From: Euler German <eulerg at gmail.com>

>I used BRIEF for a long time. Still have an old version
>(2-floppy installation for DOS). Missed many of its capabilities
>including that of opening multiple windows by just pressing
>arrow keys. Never found a Windows editor with such
>functionality.

Here are the Brief clones/emulators that I found available on
Windows systems:

Free:

EMACS
Jed
Kinesics
Short
VIM

Commercial:

Brief from Perisoft www.briefeditor.com
Boxer
Crisp
Epsilon
MultiEdit
RimStar
SlickEdit
TSE
Zeus

I think several of these can probably do what you want.

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

19. Re: Editors for Euphoria

> On 25 Apr 2008 at 9:37, Ed Davis wrote (maybe snipped):

> posted by: Ed Davis <ed_davis2 at y?hoo.c?m>
> 
> Date: Thu Apr 24 18:26
>  From: Euler German <eulerg at gmail.com>
> 
> >I used BRIEF for a long time. Still have an old version
> >(2-floppy installation for DOS). Missed many of its capabilities
> >including that of opening multiple windows by just pressing arrow
> >keys. Never found a Windows editor with such functionality.
> 
> Here are the Brief clones/emulators that I found available on
> Windows systems:
> 
> Free:
> 
> EMACS
> Jed
> Kinesics
> Short
> VIM
> 
> Commercial:
> 
> Brief from Perisoft www.briefeditor.com
> Boxer
> Crisp
> Epsilon
> MultiEdit
> RimStar
> SlickEdit
> TSE
> Zeus
> 
> I think several of these can probably do what you want.
> 

Thanks for pointing so many options Ed. Meanwhile, I just found a 
free, open-source editor, that might be just fine to cope with 
Euphoria. It's fully functions on Windows, Mac and *nixes!

http://www.activestate.com/Products/komodo_ide/komodo_edit.mhtml

It has a drawback though: there's no syntax highlighting nor code 
completion (and templates) for Euphoria, but this can be worked out.

Best,
Euler

-- 
_
_| euler f german
_| sete lagoas, mg, brazil
_| efgerman{AT}gmail{DOT}com
_| -----------------------------
_| Reply preferably to the list,
_| or to the address above. Thx!

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

20. Re: Editors for Euphoria

I would also like to point out a powerful editor called:
jEdit, and it runs on any platform that supports Java(1)

You can use jEdit to search and replace using regular expression
matching among many files at the same time.  You may need to
change : to the python and java style delimiter . for using modules
if some people have their way in this regard.

You can do so with replacing all '\b:\b' with '.'.  This should
not replace colons in comments or text strings because a space
always follows a colon -- right?

Shawn Pringle

Footnotes:
(1).  Unfortunately,
as Java stops supporting platforms and evolves to be incompatible,
it will not continue to run on non-intel based Macintoshes for example.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu