1 / 8

Tcl

Tcl. Alex Kampe Andrew Rush. About and History. Stands for Tool Command Language Used for rapid prototyping, GUIs, and scripted applications Created by John Ousterhout in 1988 out of frustration Currently 500,000+ active developers of Tcl. About and History, cont’d.

tolla
Download Presentation

Tcl

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Tcl Alex Kampe Andrew Rush

  2. About and History • Stands for Tool Command Language • Used for rapid prototyping, GUIs, and scripted applications • Created by John Ousterhout in 1988 out of frustration • Currently 500,000+ active developers of Tcl

  3. About and History, cont’d • All data types can be manipulated as strings • All operations are commands • Was designed to interface with the C language, but also interfaces with C++, Java, and other languages now • “Safe Tcl” developed for using within email messages

  4. AcessingTcl from RUCS • Logon to RUCS. • At the prompt, enter tclsh. • You can then enter commands and run a Tcl script!

  5. Tcl vs. Java TCL: set out [open file.txt a] Java: • PrintWriter out = new PrintWriter(new FileOutputStream("file.txt",true));

  6. Tcl vs. Java, cont’d TCL: set numbers [expr 1+2] set text “hello” puts “$numbers” puts “$text” Java: int numbers = 1+2; string text = “hello”; System.out.println(numbers); System.out.println(text);

  7. References • http://en.wikipedia.org/wiki/Tcl • http://www.eweek.com/c/a/Application-Development/Tcl-Programming-Language-20-Things-You-Dont-Know-865925

More Related