Re: [eclipse-clp-users] Saros: syntax coloring? warning about tracer_tcl?

From: Kish Shen <kisshen_at_...5...>
Date: Mon, 17 Nov 2008 04:30:20 +0000
Hi David,

David Pautler wrote:
> I think I've installed Saros in Eclipse/Ganymede correctly, but there 
> were some surprises...
> A) I expected syntax coloring in my .ecl file, but the only highlighting 
> is some indicators that some words are misspelled.
>    To get to this point, I did this:
>    1) Installed Eclipse/Ganymede, ECLiPSe CLP 6, and Saros 1.0
>    2) In Ganymede, File | New | Other... | Saros | Saros Project  
> ...named project "FOO", not using existing source
>    3) In Ganymede while FOO is selected in Package view, File | New | 
> Other... | Saros | Saros ECLiPSe Module.
>        Entered module name "Scratch".
>    4) In Ganymede viewing Scratch.ecl, added ":- dynamic(downgraded/2)." 
> after ":- module(Scratch)."
>     "downgraded" is indicated as misspelled, and neither "module" nor 
> "dynamic" is colored as a predicate.
>     Does Saros do syntax highlighting?
No, I don't think any ECLiPSe-specific things are done with the editing 
and display of Saros at the moment.

> B) Once I save the file, the compiler shows a warning, "module 
> 'tracer_tcl' does not exist, loading library..."
>    I opted to take the bundled tcl/tk during the CLP install because I 
> didn't already have a tcl interpreter on disk,
>    and I have a non-empty lib_tcl dir in my CLP install dir, so I'm not 
> sure what this warning is about.

tracer_tcl.ecl is used by both the Tcl/Tk development environment and 
Saros -- the same set of tools are provided, and the ECLiPSe side code 
is the same for both. It was developed initially for Tcl/Tk, which is 
why the file is named as such. However, the generic hihg-level interface 
(to Tcl/Yk and Java) is designed to be language independent on the 
RCLiPSe side, which is why the same code could be reused when Saros was 



This e-mail may contain confidential and privileged material for the
sole use of the intended recipient. Any review, use, distribution or
disclosure by others is strictly prohibited. If you are not the intended
recipient (or authorized to receive for the recipient), please contact
the sender by reply e-mail and delete all copies of this message.
Cisco Systems Limited (Company Number: 02558939), is registered in
England and Wales with its registered office at 1 Callaghan Square,
Cardiff, South Glamorgan CF10 5BT.
Received on Mon Nov 17 2008 - 04:30:29 CET

This archive was generated by hypermail 2.3.0 : Wed Aug 21 2019 - 09:13:31 CEST