Re: Block Commenting

new topic     » goto parent     » topic index » view thread      » older message » newer message

On Sun, Aug 03, 2003 at 12:41:44PM +0000, Peter Willems wrote:
> > What if there was a standard pre-processing protocol built-in the 
> > interpreter? Users could optionally link a pre-processor syntax file to 
> > the interpreter, which would automatically convert the user source files 
> > 
> > to regular Euphoria before it gets on with the actual interpreting. In 
> > other words, allow custom exentions to the parser.  And when errors 
> > occur, the line numbers could be synchronized with the original source 
> > (or with the converted source as well as an option).
> 
>     I don't like that either. From a performance pov I would say
>     to keep the interpreter as the "engine" to run programs on,
>     nothing more or less than that.
>     Extentions to what Euphoria can do are handled nicely by
>     the include system and custom functions. I quite like Euphoria
>     for this.

You can't add new syntax to Euphoria with its existing facilities tho.
You either need a preprocessor or wait for RDS to add the new syntax into
the core Euphoria language.

Dredge does this, but its outputed files are very slow (due to the way
variables are handled for pointers and goto support) and also very ugly
looking. (One plus of Dredge is that it can do partcial conversion of an ex.err
file into a dredge.err file so you know which file and which line the error
occurred in the original source code. However, again due to the way dredge
handles variables, and also due to the way the interpreter trunacates
long sequences in ex.err, it can't handle a full conversion of variables and
their values. Too bad Rob won't give us the option of turning on support
for seeing the full sequence in ex.err, that would give a huge boost to
Dredge.)

> 
>     Most of what you want can be handled in a good IDE and kept
>     out of the way in the final version of a project.
>     For my own IDE project I will most certainly look into several
>     ideas like these to see what can be incorporated.

That is very true (altho it should be 'editor' not IDE, but otherwise we are
in agreement). A good editor (baring that, a properly modified ed.ex) can
easily handle such special syntax at will.

> 
> Hans Peter Willems
> 

jbrown

> 
> 
> TOPICA - Start your own email discussion group. FREE!
> 
> 

-- 
 /"\  ASCII ribbon              | http://www.geocities.com/jbrown1050/
 \ /  campain against           | Linux User:190064
  X   HTML in e-mail and        | Linux Machine:84163
 /*\  news, and unneeded MIME   | http://verify.stanford.edu/evote.html

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu