Skip to content
Sections
>> Trisquel >> Paketit >> etiona >> devel >> kimwitu++
etiona  ]
[ Source: kimwitu++  ]

Paketti: kimwitu++ (2.3.13-2ubuntu1)

A (syntax-)tree-handling tool (term processor)

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.

Muut pakettiin kimwitu++ liittyvät paketit

  • depends
  • recommends
  • suggests
  • dep: libc6 (>= 2.4)
    GNU C Library: Shared libraries
    myös näennäispaketti, jonka toteuttaa libc6-udeb
  • dep: libgcc1 (>= 1:3.0)
    GCC support library
  • dep: libstdc++6 (>= 5.2)
    GNU Standard C++ Library v3
  • sug: bison
    YACC-compatible parser generator
    tai byacc
    public domain Berkeley LALR Yacc parser generator
    tai btyacc
    Backtracking parser generator based on byacc
  • sug: kimwitu++-doc
    Documentation for the (syntax-)tree-handling tool Kimwitu++

Imuroi kimwitu++

Imurointi kaikille saataville arkkitehtuureille
Arkkitehtuuri Paketin koko Koko asennettuna Tiedostot
amd64 204.4 kt939 kt [tiedostoluettelo]
i386 179.2 kt780 kt [tiedostoluettelo]