Generates protocol parser, validator, visualizer from the formal description of protocol objects.
- Perl implementation
- generates C++ and PHP code
- generates test protocol messages
- generates message validator
- support of protocol inheritance
- definition of objects
- parser of key/value requests
- serialization of objects to CSV
- conversion of objects to strings
- validation of objects
- definition of objects
- serialization of objects to key/value requests
- parser of the serialized CSV objects
- conversion of objects to strings
- conversion of objects to HTML
- Perl5
- boost system, date_time
- for C++ code: anyvalue utils scheduler make_tools
cd appg
./code_gen.pl --input_file example.prt --output_file a.h
git clone https://github.com/trodevel/basic_parser.git
git clone https://github.com/trodevel/generic_request.git
git clone https://github.com/trodevel/make_tools.git
git clone https://github.com/trodevel/utils.git
export BOOST_PATH=...your_boost_directory...
git clone https://github.com/trodevel/appg.git
cd appg
./code_gen.pl --input_file example_01_basic.prt --output_file a.h
make
./example
- generate C++ and PHP code optionally
- write generated files into a separate directory
I'll appreciate your feedback. Please feel free to contact me at trodevel@gmail.com. Thanks!
Dr. Sergey Kolevatov