How To Install Kc++ On Debian, Ubuntu, Raspbian And MacOS?

How To Install Kc++ On Debian, Ubuntu, Raspbian And MacOS?

kc++

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

Install kc++

  • Debian apt-get install kimwitu++ Click to copy
  • Ubuntu apt-get install kimwitu++ Click to copy
  • Raspbian apt-get install kimwitu++ Click to copy
  • macOS brew install kimwitu++ Click to copy

kimwitu++

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.

Install the latest version of kc++ in Debian, Ubuntu, Raspbian and macOS from terminal. To install the kc++ just copy the above command for your OS and run into terminal. After you run the command it will grab the latest version of kc++ from the respository and install it in your computer/server.