星期日, 8月 24, 2008

[8/26 TOSSUG 心得分享] KsanaGTK : 使用Forth交談式地開展GTK應用程式

[English below]

時間:  2008/08/26 星期二,分享時間 7:00pm 開始
主題:  KsanaGTK : 使用Forth交談式地開展GTK應用程式
主講人: 葉健欣(yap)
地點:  人性空間 http://wiki.tossug.org/人性空間新南分店
最低消費:140元(無限暢飲)+?元(可叫外食)

KsanaGTK 是一個 GTK 和 Forth 的Binding。和其他腳本語言如:lua-gtk , Gtk#, gtk2-perl, PHP-GTK, PyGTK 等動輒數萬行程式碼相比,KsanaGTK 只有不到400行C程式。
因此 KsanaGTK 不但可以用來交談試地開發具有runtime彈性和可程式化的GTK應用程式;透過研讀KsanaGTK的程式碼,還能更好地掌握 GTK 架構和設計思路。

KsanaGTK以GPL 3.0釋出。源碼在: http://svn.ksana.tw/svn-repos/ksanagtk
詳細說明:http://tutor.ksana.tw/ksanagtk/

大綱:
1) GTK 簡介
2) Forth 簡介:一個typeless, 後置式、極精簡的腳本語言
3) 關於 GUI 的幾個基本概念:元件、事件、回呼
4) 從 Forth 呼叫 GTK API
5) 從GTK 回呼 Forth
6) 現場示範 (Win32 and Linux )

Time: 2008/8/26 (Tuesday), 7:00pm~
Topic: KsanaGTK : Building GTK Application with Forth
Speaker: Yap
Language: Chinese
Place: http://wiki.tossug.org/HumanitySpace

KsanaGTK is a Forth language binding for GTK. in constract with other scripting language bindings, e.g, lua-gtk, gtk#, gtk2-perl, php-gtk, pygtk, which may be hundreds of thousand lines of code, KsanaGTK is built up by less then 400 lines of C code. Therefore KsanaGTK is not only a interactive developing environment for GTK application with runtime flexibility and programability, but you can also acquire better understanding of GTK architecture and design concept by studying KsanaGTK itself.

KsanaGTK is licensed under GPL 3.0 , it can be checked out from
http://svn.ksana.tw/svn-repos/ksanagtk
Detail Chinese explaination of KsanaGTK can be found in
http://tutor.ksana.tw/ksanagtk/

KsanaGTK : Building GTK Application with Forth , interactively.
Outline:
1) Introduction to GTK
2) Introduction to Forth: A typeless, postfix, low foot-print scripting language
3) Basic concepts of GUI: widget, signal(event) , callback (handler)
4) Calling GTK API from Forth
5) Allow GTK to call Forth
6) Live demo (Win32 and Linux)