1. Bach & SciTe

<HTML><HEAD>
</HEAD>
<BODY>
<PRE>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D The Euphoria Mailing List =3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=20
</PRE>


<div><FONT FACE=3D"Arial" SIZE=3D3> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Th=
e Euphoria Mailing List =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D </FONT></div>
<div><FONT FACE=3D"Arial" SIZE=3D3> =A0</FONT></div>
<div><FONT FACE=3D"Arial" SIZE=3D3 COLOR=3D"#000080"> &gt;David Cuny wrote:=
</FONT></div>
<div><FONT FACE=3D"Arial" SIZE=3D3 COLOR=3D"#000080"> &gt;</FONT></div>
<div><FONT FACE=3D"Arial" SIZE=3D3 COLOR=3D"#000080"> &gt;Bach looks like t=
he most interesting project going on in Euphoria</FONT></div>
<div><FONT FACE=3D"Arial" SIZE=3D3 COLOR=3D"#000080"> &gt;these days -</FON=
T></div>
<div><FONT FACE=3D"Arial" SIZE=3D3 COLOR=3D"#000080"> &gt;it addresses many=
 of the issues that people have had (structures,</FONT></div>
<div><FONT FACE=3D"Arial" SIZE=3D3 COLOR=3D"#000080"> &gt;goto,</FONT></div=
>
<div><FONT FACE=3D"Arial" SIZE=3D3 COLOR=3D"#000080"> &gt;etc.). Since Robe=
rt has already stated that few (if any) of these</FONT></div>
<div><FONT FACE=3D"Arial" SIZE=3D3 COLOR=3D"#000080"> &gt;features</FONT></=
div>
<div><FONT FACE=3D"Arial" SIZE=3D3 COLOR=3D"#000080"> &gt;will ever be fold=
ed into Euphoria, using Bach is probably the only</FONT></div>
<div><FONT FACE=3D"Arial" SIZE=3D3 COLOR=3D"#000080"> &gt;way you'll</FONT>=
</div>
<div><FONT FACE=3D"Arial" SIZE=3D3 COLOR=3D"#000080"> &gt;be able to try th=
ese out. But isn't that why Robert released the</FONT></div>
<div><FONT FACE=3D"Arial" SIZE=3D3 COLOR=3D"#000080"> &gt;source in</FONT><=
/div>
<div><FONT FACE=3D"Arial" SIZE=3D3 COLOR=3D"#000080"> &gt;the first place?<=
/FONT></div>
<div><FONT FACE=3D"Arial" SIZE=3D3 COLOR=3D"#000080"> &gt;</FONT></div>
<div><FONT FACE=3D"Arial" SIZE=3D3 COLOR=3D"#000080"> &gt;The addition of a=
 cross-platform library to Bach would be very nice.</FONT></div>
<div><FONT FACE=3D"Arial" SIZE=3D3 COLOR=3D"#000080"> &gt;-- David Cuny</FO=
NT></div>
<div><FONT FACE=3D"Arial" SIZE=3D3> =A0</FONT></div>
<div><FONT FACE=3D"Arial" SIZE=3D3> Your mention (in another post) of the S=
cite editor inspired me to check it out and it seems to be a very nice edit=
or (I like folding).</FONT></div>
<div><FONT FACE=3D"Arial" SIZE=3D3> =A0</FONT></div>
<div><FONT FACE=3D"Arial" SIZE=3D3> It got me thinking -- Would you (or any=
one else) be interested in modifying the Scintilla source to create a real =
editor/debugger</FONT></div>
<div><FONT FACE=3D"Arial" SIZE=3D3> for Bach/Euphoria). I would certainly b=
e willing to modify Bach to support such an effort and Rob might even be wi=
lling to do the same for Euphoria (NO changes to the language!).</FONT></di=
v>
<div><FONT FACE=3D"Arial" SIZE=3D3> The effort on the Bach end does not see=
m too significant (I may change my tune later smile</FONT></div>
<div><FONT FACE=3D"Arial" SIZE=3D3> =A0</FONT></div>
<div><FONT FACE=3D"Arial" SIZE=3D3> --Rob--</FONT></div>
<div><FONT FACE=3D"Arial" SIZE=3D3> =A0Would you consider Bach's addition o=
f 'break' and 'watch' opcodes </FONT><FONT FACE=3D"Arial" SIZE=3D3> that co=
uld communicate with outside programs to be a violation of the 'tracing' cl=
ause of the source license?</FONT></div>
<div><FONT FACE=3D"Arial" SIZE=3D3> =A0</FONT></div>
<div><FONT FACE=3D"Arial" SIZE=3D3> Karl</FONT></div>
<div><FONT FACE=3D"Arial" SIZE=3D3> =A0</FONT></div>

<PRE>=3D=3D^=
^=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
rds at RapidEuphoria.com

b2kUNk.=
cmRzQFJh">http://topica.com/u/?b1db9K.=
b2kUNk.=
cmRzQFJh</A>

com/partner/tag02/register</A>
=3D=3D^=
^=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</PRE>

</body></html>

new topic     » topic index » view message » categorize

2. Re: Bach & SciTe

Karl Bochert writes:
> --Rob--
> Would you consider Bach's addition of 'break' and 'watch' 
> opcodes that could communicate with outside programs 
> to be a violation of the 'tracing' clause of the source license?

Yes. 
We'd have to negotiate something there.

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

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

3. Re: Bach & SciTe

Karl wrote:

> It got me thinking -- Would you (or anyone else) be interested in modifying
> the Scintilla source to create a real editor/debugger for Bach/Euphoria). I
> would certainly be willing to modify Bach to support such an effort and 
> Rob might even be willing to do the same for Euphoria (NO changes to the
> language!).

I haven't used Scintilla directly, but I've put together a small IDE using 
wxWindows - it's available as a wxStyledTextCtrl class. It's quite nice.

So if you want to support wxWindows, you'll get it for free.

>  Would you consider Bach's addition of 'break' and 'watch' opcodes that
> could communicate with outside programs to be a violation of the 'tracing'
> clause of the source license? 

I has also suggested some time back that Robert add some sort of hooks for 
Euphoria's trace. I was thinking of something along the lines of a meta 
control of Euphoria:

   - Step ahead to the next instruction (etc.)
   - Run until next break
   - Return line X of the source code
   - Return the current line number of source code being executed

So you could write a meta trace program in Euphoria itself; something like:

   procedure myTrace( sequence fileName )
      integer theLineNumber
      sequence theLineText

      readFile( fileName )
      while 1
         if finished_running() then
            exit while
         end if
         run_until_break()
         while trace()
            -- display the line with the break
            theLineNumber = get_current_line_num()
            printf( 1, "At line %d: %s\n", { theLineNumber,
               get_source_text( theLineNumber ) )
            -- display information about a value
            printf( 1, "the variable b = %s\n", get_variable_value( "b" ) );
         end while
      end while
   end procedure

It's a crummy example, but it should give the general flavor of the thing. 
Obviously, with this much control, it would be trivial for the user to get 
around the 300 line limit.

-- David Cuny

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

Search



Quick Links

User menu

Not signed in.

Misc Menu