/CATS-EasyGen

universal tests generator for imcs.dvgu.ru/cats

Primary LanguageC

##Project Structure

./src/parser
Formal description parser.
./src/validator
Input/output data validator.
./src/validator
Input/output data validator.
./src/generator
Input/output data generator
./src/example
Generator example.
./interfaces/perl
Perl interface to parser and validator (uses XS).

Also see http://imcs.dvgu.ru/works/work?wid=2562 (in Russian).

##Build Requirements

C code

* CMake 2.6+, http://www.cmake.org/cmake/resources/software.html
* flex 2.5+, http://flex.sourceforge.net/

Perl interface

* Perl
* h2xs (comes with Perl)
* NMake (only for Windows)

##Build Instructions

C code

Unix or MSYS

make clean
make all
make test

MinGW

mingw32-make clean
mingw32-make all
mingw32-make test

Perl interface

Windows

nmake clean
nmake all
cd build
nmake interface-perl
cd ../lib/perl/CATS-FormalInput
nmake install
cd ../../../interfaces/perl/example
perl example.pl

Unix

Use Windows scenario but with make instead of nmake.