Active Topics

 


Reply
Thread Tools
Posts: 64 | Thanked: 24 times | Joined on Aug 2007 @ Germany ...
#1
I was born with reduced brain-functionality But i found out, that TCL / TK 8.5 is available for maemo! Its a script Language an it seams easy to learn.

Yesterday i tried some TCL/TK application from the Internet with "wish ./test.tcl" and hey - there comes up the Application with a GUI. TCL can also run without GUI as pure console-scripts.

Even a complex application to control a Network-Device (avr-net-io) was running.

Here some Links I found:

http://wiki.tcl.tk/
http://www.self-tcl.de/ (German)

Games
http://wiki.tcl.tk/898

Runtime for Windows: ActiveState ActiveTcl
http://www.activestate.com/activetcl

One Book (older Version)
"Practical Programming in Tcl and Tk DRAFT, January 13, 1995"

http://www.beedub.com/book/tkbook.pdf

happy scripting
 

The Following 4 Users Say Thank You to michaelxy For This Useful Post:
Posts: 2,102 | Thanked: 1,309 times | Joined on Sep 2006
#2
Personally I'd give Python + PySide (for Qt integration) a go, far more future-proof than tcl/tk imo, but to each his own
 
Posts: 540 | Thanked: 288 times | Joined on Sep 2009
#3
or python + hildon (gtk) if you happen to know GTK and not Qt.
__________________
  • Live near Helsinki, Finland & interested in electronics ? Check this out.
  • Want anti-virus/firewall ? Read this (and follow the links, also: use the search, there are way too many threads asking the same questions over and over and over again).
  • I'm experimenting with BitCoins, if you want to tip me send some to: 1CAEy7PYptSasN67TiMYM74ELDVGZS6cCB
 
Posts: 64 | Thanked: 24 times | Joined on Aug 2007 @ Germany ...
#4
Personally I'd give Python + PySide (for Qt integration) a go,
May be - but you allways need a third device to make your QT GUI. With TCL/TK I can make the GUI ON the phone an test it immediately

far more future-proof than tcl/tk imo, but to each his own
Sounds a bit philosophical.
 

The Following User Says Thank You to michaelxy For This Useful Post:
Posts: 222 | Thanked: 205 times | Joined on Jul 2009 @ Finland
#5
Originally Posted by michaelxy View Post
May be - but you allways need a third device to make your QT GUI.
PyQt / PySide is just like TCL/TK - you write the script/program and run it, no compilation step needed.

TCL/TK is pretty marginalized at this day and age.
__________________
'QtDone'. Getting things done (GTD) was never this cheap!

'QmlReddit' reads Reddit!
 
Posts: 2,102 | Thanked: 1,309 times | Joined on Sep 2006
#6
Originally Posted by vivainio View Post
PyQt / PySide is just like TCL/TK - you write the script/program and run it, no compilation step needed.

TCL/TK is pretty marginalized at this day and age.
As vivainio says, Python is also a scripting language, so you can indeed develop on-device.

Python also has the added advantage of being mainstream (lots of examples on the 'net) and actively developed, and also PySide (which provides calls to interface between the Python scripting language and the Qt UI library) is supported by Nokia so has access to most (pretty much afaiu, work in progress) of the widgets and functionality that you can use from C++/Qt.

PyQt is another interface like PySide, and the two have almost identical class/object naming (so you can use PyQt examples without too many troubles), but I recommend PySide as it's the official Nokia version (and Nokia own Qt).
 
Posts: 324 | Thanked: 371 times | Joined on Dec 2009 @ Vancouver, BC
#7
And even better now, I'd suggest having a look at QML. You can also develop straight on the n900 (using qmlviewer to display it), and is a very easy language to pick up, and write UIs with.
 
Posts: 162 | Thanked: 351 times | Joined on Apr 2006 @ Cotswolds, UK
#8
I am a long-time TCL user and it is my main scripting language of choice but I wouldn't recommend anyone who doesn't already know tcl to bother learn it now.

Even I have created an app in Python and am developing one in QML rather than using tcl/tk.
 

The Following User Says Thank You to Graham Cobb For This Useful Post:
Posts: 19 | Thanked: 1 time | Joined on Jun 2010 @ California, USA
#9
@michaelxy

where do I get TCL from for n900?
I use TCL a lot at work and it maybe worthwhile to have it instaled on mobile device in case I need to do something quick away from my desk.
 
Posts: 64 | Thanked: 24 times | Joined on Aug 2007 @ Germany ...
#10
Hi pavlik,

via:
http://maemo.org/packages/view/tcl8.5/

its in the Fremantle Extras repository:
http://wiki.maemo.org/Extras

Yes - its great to use TCL in Windows, Linux, Unix, and the N900 - but until now I am a very TCL beginner :-)

best regards
michael
 

The Following User Says Thank You to michaelxy For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 18:40.