EuroTcl 2009.  Production Release: 8.5.7  Recommended for deployment  Development Version: 8.6b1  Many new features, some ultra-exciting!  Bleeding.

Slides:



Advertisements
Similar presentations
Easily retrieve data from the Baan database
Advertisements

Connecting to Databases. relational databases tables and relations accessed using SQL database -specific functionality –transaction processing commit.
PHP Hypertext Preprocessor Information Systems 337 Prof. Harry Plantinga.
Feature requests for Case Manager By Spar Nord Bank A/S IBM Insight 2014 Spar Nord Bank A/S1.
.NET Reflector 5.0 Lutz Roeder December Overview C# 3.0: LINQ query expressions, Lambda expressions Code URL: code://mscorlib/System.Object Assembly.
THEMIS Science Software Training1July 2007 The THEMIS Graphical User Interface J. McTiernan 23-Jul-2007
CS Lecture 03 Outline Sed and awk from previous lecture Writing simple bash script Assignment 1 discussion 1CS 311 Operating SystemsLecture 03.
Writing Tcl Scripts (cont.) Outline –Variable Scoping –Strings –Eval –File/Channel I/O –Processes –System Info –Errors –Reflection/Debugging –Libraries.
Linux+ Guide to Linux Certification, Second Edition
25-Jun-15 JavaScript Language Fundamentals II. 2 Exception handling, I Exception handling in JavaScript is almost the same as in Java throw expression.
Writing Tcl Scripts Outline Goal Reading Syntax Data Types
Using Java without BlueJ
Chapter 7 Managing Data Sources. ASP.NET 2.0, Third Edition2.
Simple Web SQLite Manager/Form/Report
Python for S60 SmartPhones PostPC Workshop Fall 2006 Amnon Dekel.
CVSQL 2 The Design. System Overview System Components CVSQL Server –Three network interfaces –Modular data source provider framework –Decoupled SQL parsing.
Introducing PHP Data Objects Wez Furlong
Dataface API Essentials Steve Hannah Web Lite Solutions Corp.
Unit Testing & Defensive Programming. F-22 Raptor Fighter.
Upcrc.illinois.edu OpenMP Lab Introduction. Compiling for OpenMP Open project Properties dialog box Select OpenMP Support from C/C++ -> Language.
Innovation Intelligence ® 1 Chapter 1: Introduction to TCL.
Copyright © 2003 Pearson Education, Inc. Slide 8-1 The Web Wizard’s Guide to PHP by David Lash.
IE 411/511: Visual Programming for Industrial Applications
Let’s Wub Wub tutorial What is Wub? HTTP 1.1 Webserver Written by Colin McCormack 100% Tcl Web application framework Domain based.
OXygen XML Editor Support for eXist DB XQuery debugging. Stefan Vasile
Dinamic SQL & Cursor. Why Dinamic SQL ? Sometimes there is a need to dynamically create a SQL statement on the fly and then run that command. This can.
© 2005 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. Data Structures for Java William H. Ford William R. Topp Appendix E The EZJava.
JSTL, XML and XSLT An introduction to JSP Standard Tag Library and XML/XSLT transformation for Web layout.
Advanced File Processing. 2 Objectives Use the pipe operator to redirect the output of one command to another command Use the grep command to search for.
Chapter Five Advanced File Processing Guide To UNIX Using Linux Fourth Edition Chapter 5 Unix (34 slides)1 CTEC 110.
1 Week 2 The Crunchy Shell to the Soft and Chewy Kernel… Sarah Diesburg 8/3/2010 COP4610 / CGS5765.
Oracle Data Integrator Procedures, Advanced Workflows.
What’s new in Kentico CMS 5.0 Michal Neuwirth Product Manager Kentico Software.
Copyright © 2010 Certification Partners, LLC -- All Rights Reserved Perl Specialist.
Eagle: Maturation and Evolution 17th Annual Tcl Conference Joe Mistachkin.
5 1 Data Files CGI/Perl Programming By Diane Zak.
CS105 Computer Programming PYTHON (based on CS 11 Python track: lecture 1, CALTECH)
Core Java Introduction Byju Veedu Ness Technologies httpdownload.oracle.com/javase/tutorial/getStarted/intro/definition.html.
Let’s Wub Wub tutorial What is Wub? HTTP 1.1 Webserver Written by Colin McCormack 100% Tcl Web application framework Domain based.
Copyright © 2003 ProsoftTraining. All rights reserved. Perl Fundamentals.
Java 3: Odds & Ends Advanced Programming Techniques.
9-Nov-97Tri-Ada '971 TASH An Alternative to the Windows API TRI-Ada ‘97 Terry J. Westley
TCL TK. Tcl/Tk C functions can become Tcl commands that are invoked interactively Tk = scriptable, portable user interface –Windows, X (Unix), MacOS,
Porting a large scale enterprise application from Tcl/Tk 8.4 to 8.5 Prashant Thakre, Tushar Gupta {prashant_thakre, Gaurav Bansal.
Department of Electrical and Computer Engineering Introduction to Perl By Hector M Lugo-Cordero August 26, 2008.
JAVA BEANS JSP - Standard Tag Library (JSTL) JAVA Enterprise Edition.
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 JSP Application Models.
Linux+ Guide to Linux Certification, Second Edition Chapter 4 Exploring Linux Filesystems.
Fundamentals of Web DevelopmentRandy Connolly and Ricardo HoarFundamentals of Web DevelopmentRandy Connolly and Ricardo Hoar Fundamentals of Web DevelopmentRandy.
Scripting.
Session 02 Module 3: Statements and Operators Module 4: Programming constructs Module 5: Arrays.
Aggregator  Performs aggregate calculations  Components of the Aggregator Transformation Aggregate expression Group by port Sorted Input option Aggregate.
CSC 4630 Meeting 17 March 21, Exam/Quiz Schedule Due to ice, travel, research and other commitments that we all have: –Quiz 2, scheduled for Monday.
CSC 4630 Perl 3 adapted from R. E. Beck. Problem But we worked on it first: Input: Read from a text file named in a command line argument Output: List.
Integrating and Extending Workflow 8 AA301 Carl Sykes Ed Heaney.
Introduction to ASP.NET, Second Edition2 Chapter Objectives.
Apache Cocoon – XML Publishing Framework 데이터베이스 연구실 박사 1 학기 이 세영.
Today Threading, Cont. Multi-core processing. Java Never Ends! Winter 2016CMPE212 - Prof. McLeod1.
An Introduction To Tcl Scripting John Ousterhout Sun Microsystems Laboratories Tcl/Tk Tutorial, Part II.
Netbeanstcl (A netbeans plugin for Tcl) A GSoC (Google Summer of Code) Project by Michal Poczwardowski.
Itcl-ng Status. History Implementation started about 4 years ago October 2008 Itcl4.0a release December 2008 Itcl4.0b1 February 2009 Itcl4.0b2 October.
CS 330 Class 7 Comments on Exam Programming plan for today:
ITCS-3190.
Programming Using Tcl Maxwell Created By: Quan Nguyen Created Date: 12/12/2016 TCL Training1.
TCL/TK Tool Command Language/Tool Kit.
Electronics II Physics 3620 / 6620
EuroTcl 2009 The State of Tcl/Tk.
Eagle: Maturation and Evolution
Lecture 13 Teamwork Bryan Burlingame 1 May 2019.
Presentation transcript:

EuroTcl 2009

 Production Release:  Recommended for deployment  Development Version: 8.6b1  Many new features, some ultra-exciting!  Bleeding Edge: 8.6b1.1  Current CVS checkout  A few extra features that missed 8.6b1  More bug fixes  Close to 8.6b2

 Production: 8.5   20 December 2007   16 April 2009  Development: 8.6  8.6b1  19 December 2008  Tried to keep shorter cycle than for 8.5  8.6b2 “soon”   Tcl’2009 in September

 Non-Recursive Engine  Coroutines, Tailcalls, Less stack hammering, …  TclOO  Basic high-performance object system  [incr Tcl] Next Generation (itcl-ng/itcl4)  New version based on top of TclOO framework  TDBC  Standard database interface  On top of TclOO framework  Drivers not included  Thread  To be included by default

 Scripted channel transforms  Zlib compression  Execution cancellation  Built-in base64 encoding  Standalone pipes  Better string prefix handling  Method to get $env(PATH) separator  Extend “string trim” whitespace def.  More commands “do nothing” gracefully  Improved list searching  Striding list sorts  List extension with “lset”  “File tempfile” to make temporaries  Better exception handling with “try”  Half-close of bidirectional channels  Multiple patterns in “dict filter”  “Format”/“scan” base-2 support

 NRE API  Allow user commands to be restartable  TclOO API  Create and manage classes, instances and methods  Make Tcl_Interp opaque  Eliminate interp -> result  API for interp -> errorLine  Detection of active interpreters  Option parser (from Tk)  Portable Tcl_StatBuf access  Expose TclTransferResult()  Expose TclBackgroundException()  Access to startup scripts

oo::class create integrator { variable exp sum delay tBase t0 k0 aid constructor {{interval 10}} { set delay $interval set tBase [clock microseconds] set t0 0 set exp { 0.0 } set k0 0.0 set sum 0.0 set aid [after $delay \ [namespace code {my Step}]] } destructor { after cancel $aid } method input expression { set exp $expression } method output {} {return $sum} method Eval t {expr $exp} method Step {} { set aid [after $delay \ [namespace code {my Step}]] set t [expr { ([clock microseconds]-$tBase)/1e6 }] set k [my Eval $t] set sum [expr { $sum + ($k+$k0) * ($t-$t0) / 2. }] set t0 $t; set k0 $k } This is an example from Rosetta Code

proc task {script} { coroutine task_ apply [list {} ” $script set ::done ok "] vwait done } proc pause {seconds} { yield [after [expr { int($seconds * 1000) }] [info coroutine]] } set pi task { integrator create int0 int0 input { sin(2*$::pi * 0.5 * $t1) } pause 2 int0 input { 0.0 } pause 0.5 puts [format %.15f [int0 output]] } Prints:

package require tdbc::sqlite3 tdbc::sqlite3::connection create db \ "phonebook.sqlite3" set statement [db prepare { SELECT phone_num FROM directory WHERE first_name = :firstname AND last_name = :lastname }] db transaction { set firstname "Fred" set lastname "Flintstone" $statement foreach row { puts [dict get $row phone_num] } $statement close db close

 Windows Vista theme for Ttk  Canvas features  Absolute canvas item positioning  Canvas item vertex editing  Angled text items  Unfocussed text widget cursor control  New “tk busy” command  Standard font selection dialog  PNG image support  Updated mouse-wheel behavior

.canv create text text "sample” -angle 30

image create photo o3 -file ouster.png -format "png -alpha 0.5"

tk fontdialog show

 8.6 Plans…  Fix bugs  Improve performance  Tk on OSX to use Cocoa  Make prettier → Production release in Autumn  Tcl future directions  Coupling arrays to non- classical back-ends  HTTP/1.1 (GSoC!)  Regexp improvements (GSoC!)  Scripted virtual file-system  Future Tk directions  Image handling (GSoC!)  Megawidgets  Printing? (GSoC!)