| commit | d0fdd3a36a7111a6f12db37804988b73afe3efb3 | [log] [tgz] |
|---|---|---|
| author | Dusan Klinec <dusan.klinec@gmail.com> | Mon Nov 10 21:55:51 2014 +0100 |
| committer | Dusan Klinec <dusan.klinec@gmail.com> | Mon Nov 10 21:55:51 2014 +0100 |
| tree | a38af856eec0629fd1384988cfdfdcf632089563 | |
| parent | 1064fb3477460eb255307a77e54c2165ff80ecac [diff] |
Name sanitizing for entity names for Protocol Buffers entities. * If entity names conflicts with ObjectiveC reserved words or some method name (e.g., hash, description), it is renamed.
[Protocol Buffers] 0 lexer & parser written in Python for [PLY] 1.
With this library you can create and process parse trees of a Protocol Buffers files with Python. For example usage see demo.py.
My use case: automated refactoring of .proto files.
ply/ subdirectory is present in this repo for demonstration purposes and completeness only. If you intend to use this project, prefer better original [PLY] 1 repository which is up-to-date.Oneof is not implemented yet.This work was inspired by:
.proto files. Initial model may be considered suboptimal and changed at some point. This project is intended to serve as an inspiration or a starting point. You will probably adapt it for your own needs.