1. Bach & SciTe
- Posted by kbochert at copper.net
Nov 15, 2002
<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"> >David Cuny wrote:=
</FONT></div>
<div><FONT FACE=3D"Arial" SIZE=3D3 COLOR=3D"#000080"> ></FONT></div>
<div><FONT FACE=3D"Arial" SIZE=3D3 COLOR=3D"#000080"> >Bach looks like t=
he most interesting project going on in Euphoria</FONT></div>
<div><FONT FACE=3D"Arial" SIZE=3D3 COLOR=3D"#000080"> >these days -</FON=
T></div>
<div><FONT FACE=3D"Arial" SIZE=3D3 COLOR=3D"#000080"> >it addresses many=
of the issues that people have had (structures,</FONT></div>
<div><FONT FACE=3D"Arial" SIZE=3D3 COLOR=3D"#000080"> >goto,</FONT></div=
>
<div><FONT FACE=3D"Arial" SIZE=3D3 COLOR=3D"#000080"> >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"> >features</FONT></=
div>
<div><FONT FACE=3D"Arial" SIZE=3D3 COLOR=3D"#000080"> >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"> >way you'll</FONT>=
</div>
<div><FONT FACE=3D"Arial" SIZE=3D3 COLOR=3D"#000080"> >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"> >source in</FONT><=
/div>
<div><FONT FACE=3D"Arial" SIZE=3D3 COLOR=3D"#000080"> >the first place?<=
/FONT></div>
<div><FONT FACE=3D"Arial" SIZE=3D3 COLOR=3D"#000080"> ></FONT></div>
<div><FONT FACE=3D"Arial" SIZE=3D3 COLOR=3D"#000080"> >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"> >-- 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
</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>
2. Re: Bach & SciTe
- Posted by Robert Craig <rds at RapidEuphoria.com>
Nov 15, 2002
-
Last edited Nov 16, 2002
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
3. Re: Bach & SciTe
- Posted by David Cuny <dcuny at LANSET.COM>
Nov 15, 2002
-
Last edited Nov 16, 2002
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