Download Source Package kimwitu++:
Kimwitu++ is a system that supports the construction of programs that use trees or terms as their main data structure. It allows you to define, store and operate on trees with typed nodes. Each type of node has a specific number of sons, and expects these sons to have specific types. The most popular example of such trees are syntax trees.
The nodes are defined in a Yacc-like fashion. The tree can be unparsed (ie. treewalk) and rewritten (ie. term substitution). Kimwitu++ gives you powerful pattern matching for specifying unparse and rewrite rules.
Kimwitu++ is an extension to C++. It introduces Yacc-like node definitions, the unparse and rewrite rules, and extensions for pattern matching within functions. It will translate its input files into pure C++.
To build the tree you might use a parser generated with Bison, but you are free to use other tools. There also exists Kimwitu (also packaged for Debian) which interfaces with C instead of C++ which can also be used in C++ projects, but Kimwitu++ has some extensions one might consider useful.
|
|
|
| Architecture | Package Size | Installed Size | Files |
|---|---|---|---|
| amd64 | 249.2 kB | 868 kB | [list of files] |
| armel | 220.5 kB | 828 kB | [list of files] |
| hppa | 347.5 kB | 1232 kB | [list of files] |
| i386 | 229.9 kB | 784 kB | [list of files] |
| ia64 | 304.9 kB | 1812 kB | [list of files] |
| mips | 319.8 kB | 1512 kB | [list of files] |
| mipsel | 310.3 kB | 1512 kB | [list of files] |
| powerpc | 234.8 kB | 940 kB | [list of files] |
| s390 | 250.6 kB | 924 kB | [list of files] |
| sparc | 231.9 kB | 892 kB | [list of files] |