1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
4
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
5
<TITLE>The Kaptain Handbook: Introduction</TITLE>
6
<LINK HREF="index-2.html" REL=next>
8
<LINK HREF="index.html#toc1" REL=contents>
11
<A HREF="index-2.html">Next</A>
13
<A HREF="index.html#toc1">Contents</A>
15
<H2><A NAME="s1">1. Introduction</A></H2>
17
<P>Kaptain is a universal graphical front-end based on context-free grammars.
18
The program <CODE>kaptain</CODE> reads a file containing grammatical rules for generating text.
19
It builds a dialog from the grammar and
20
generates the text according to the user's settings.
22
<H2><A NAME="ss1.1">1.1 Changes</A>
26
<H3>Changes 0.51 -> 0.6</H3>
30
<LI> Regular expression support was rewritten with GNU regex-0.12.</LI>
31
<LI> Powerful text manipulation capabilities were implemented.</LI>
32
<LI> multicolumn listview objects (<CODE>@multicol</CODE>)</LI>
33
<LI> <CODE>@list</CODE> was improved, now it can display something while evaluating different text.</LI>
34
<LI> :reverse works with :tabbed</LI>
35
<LI> string initial value for list- and comboboxes</LI>
38
<H3>Changes 0.5 -> 0.51</H3>
42
<LI>bug in Makefiles corrected</LI>
43
<LI>directroy structure fixed: now <CODE>/usr/bin</CODE> is default, grammars go to <CODE>/usr/share/grammars</CODE></LI>
46
<H3>Changes 0.4 -> 0.5</H3>
50
<LI>some new special symbols</LI>
51
<LI>new modifier <CODE>:tree</CODE> to create Control Center like front-ends - very interesting</LI>
52
<LI>Kaptain has moved to sourceforge.net</LI>
55
<H3>Changes 0.3 -> 0.4</H3>
59
<LI>compiles if only Qt2 is present</LI>
61
<LI>many extensions</LI>
62
<LI>grammatical constraints</LI>
64
<P>See file <CODE>NEWS</CODE> for detailed description
65
<H3>Changes 0.2 -> 0.3</H3>
69
<LI>based on Qt 2.1 and KDE 2</LI>
70
<LI>flexible grammar rules</LI>
72
<LI>the ability of fetching other programs' output for quoed text (like backquotes in the shell)</LI>
73
<LI>better layout management, multitab dialogs and subdialogs</LI>
74
<LI>tooltip and whatsthis support</LI>
75
<LI>utf-8 encoding for unicode support</LI>
76
<LI>small changes in grammar syntax</LI>
77
<LI>the ability to execute different commands from the same dialogs</LI>
80
<H3>Changes 0.1 -> 0.2</H3>
84
<LI>grammar interpreter completely rewritten with Lex & Yacc</LI>
85
<LI>QLayout usage for widget arrangement</LI>
90
<P>This was the first version:
92
<LI>grammar interpreter with Lex</LI>
93
<LI>heuristic widget arrangement</LI>
96
<H3>Updating old grammars for 0.2 -> 0.3 changes</H3>
98
<P>The syntax of grammars changed a bit, sorry for that. It's very
99
easy to update your old grammars.
101
<LI>Change <CODE>{</CODE> and <CODE>}</CODE> braces to double quotes everywhere.</LI>
102
<LI>Replace <CODE>..</CODE> to <CODE>,</CODE></LI>
103
<LI>Extend the start rule to create the Ok and Cancel buttons:
105
start "Title" -> command buttonbar ;
106
buttonbar :horizontal -> @action(command)="Ok" @close="Cancel;
108
command -> <the old start rule> ;
115
<A HREF="index-2.html">Next</A>
117
<A HREF="index.html#toc1">Contents</A>