PatMat: SPITBOL-like pattern construction and matching in C++

Table of Contents

1 Copyright

  • Copyright (C) 2013 Henry G. Weller
  • Copyright (C) 2007,2008, Philip L. Budne
  • Copyright (C) 1998-2005, AdaCore

2 Original Sources

This software and documentation is developed from both the SPIPAT C/C++ package of Philip L. Budne and the original GNAT.SPITBOL.PATTERNS package of GNU Ada based on Macro-SPITBOL created by Robert Dewar. GNAT was originally developed by the GNAT team at New York University with extensive contributions provided by Ada Core Technologies Inc.

This is a completely general patterm matching package based on the pattern language of SNOBOL4, as implemented in SPITBOL. The pattern language is modeled on context free grammars, with context sensitive extensions that provide full (type 0) computational capabilities.

3 Documentation

4 Build and Test

The default build setup is to compile with g++ but PatMat has also been tested with clang++ and any other standard C++ compiler should be suitable. The particular compiler can be configured by editing Make/Makefile.config.

  • To build the PatMat library: make
  • To run all the tests: make test
  • To run the tutorial examples: make tutorial

Created: 2016-08-21 Sun 14:48

Emacs 24.5 (Org mode 8.2.10)