Appending loop control var after "end" keyword

classic Classic list List threaded Threaded
26 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Re: Appending loop control var after "end" keyword

Duke Normandin
On Sun, 02 Dec 2012 09:30:46 +0100
Thomas Schneider <[hidden email]> wrote:

> Hello Duke,
>
> may I *recommend*, as an Alternative to Eclipse, *jEdit*
> (originally from Slava Pestov) in Combination
> with Kermit Kiser's brand new NetRexxPlugin (which does now
> *combine* Kermit Kiser's NetRexxScript and David Requena's
> NetRexxDE) for your investigation.
>
> You will find *jEDIT* on SOURCEFORGE, and the *NetRexxPlugin*
> (for jEDIT) on www.Kenai.com.
>
> Thomas Schneider.

Thanks Thomas!!!

I'm trying to do that very thing at this very moment.

It's giving me some grief:

-----------------------------8<---------------------------------
/home/user/.jedit/jars/NetRexxPlugin.jar:
Cannot start: java.lang.NoSuchMethodError: netrexx.lang.Rexx.size()I
Try updating to a newer version of the plugin.
-----------------------------8<---------------------------------

I just Dled from Kenai, so that jar must be OK - I think?
Could it be the NetRexxC.jar that I copied from my NetRexx install
into $HOME/.jedit/jars/ ??

Thanks for the input!!

--
Duke

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: Appending loop control var after "end" keyword

Mike Cowlishaw
In reply to this post by billfen
 
> The NetRexx plugin editor for Eclipse provides immediate
> error feedback on missing or extra end statements.

Sounds good .. is that using the labels on end statements?

Mike

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: Appending loop control var after "end" keyword

billfen
A simple test shows that currently I do not check for matching variable
names, just for matching end statements.

Since the parser builds a detailed AST it certainly could find semantic
errors like that, and many more.
There is a trade off between editing performance and the extent of error
checking.

Bill

On 12/2/2012 12:16 PM, Mike Cowlishaw wrote:
>  
>> The NetRexx plugin editor for Eclipse provides immediate
>> error feedback on missing or extra end statements.
> Sounds good .. is that using the labels on end statements?
>
> Mike
>

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: Appending loop control var after "end" keyword

Mike Cowlishaw
> A simple test shows that currently I do not check for
> matching variable names, just for matching end statements.
>
> Since the parser builds a detailed AST it certainly could
> find semantic errors like that, and many more.
> There is a trade off between editing performance and the
> extent of error checking.

Just curious.  Using the labels could/should allow more locally-relevant alerts,
but yes, always a tradeoff.  This alert, though, could be one that is only
triggered when there is an overall imbalance (although that won't detect the
cases where there are the correct number of 'end's but they are incorrectly
nested).

Mike

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: Appending loop control var after "end" keyword

Marc Remes-2
In reply to this post by billfen
On 12/01/2012 09:32 PM, Bill Fenlason wrote:
> My long range goal was to provide the equivalent for NetRexx and integrate everything with the Java debugger, but since
> there is so little use of NetRexx with Eclipse I'm not putting much effort into it now.

I have been looking into that, after downloading your plugin code. Especially the content assist feature of eclipse is a
major help while coding. I guess we could reuse quite a bit of the Java JDT, but I am overwhelmed by the complexity and
lack of documentation on the topic.

--

Marc

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: Appending loop control var after "end" keyword

billfen
Answered off list - more Eclipse than NetRexx
Bill

On 12/3/2012 4:14 AM, Marc Remes wrote:

> On 12/01/2012 09:32 PM, Bill Fenlason wrote:
>> My long range goal was to provide the equivalent for NetRexx and
>> integrate everything with the Java debugger, but since
>> there is so little use of NetRexx with Eclipse I'm not putting much
>> effort into it now.
>
> I have been looking into that, after downloading your plugin code.
> Especially the content assist feature of eclipse is a major help while
> coding. I guess we could reuse quite a bit of the Java JDT, but I am
> overwhelmed by the complexity and lack of documentation on the topic.
>

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

12