77320676ab
I am currently in the process of creating ports for various components related to CloudABI, including ARPC (an RPC framework that supports file descriptor passing) and Flower (a capability-based network backplane). The former comes with a script called 'aprotoc' for creating C++ bindings for messages and RPC services. This script depends on Python's pyPEG2 package to parse (a subset of) Protobuf's .proto grammar. Reviewed by: wg Differential Revision: https://reviews.freebsd.org/D12048
7 lines
265 B
Text
7 lines
265 B
Text
PyPEG2 is a parser-interpreter for Parsing Expression Grammars (PEGs).
|
|
|
|
PEGs look similar to context-free grammars (CFGs), except that the choice
|
|
operator always picks the first matching option. This allows for parsing
|
|
in linear time.
|
|
|
|
WWW: https://fdik.org/pyPEG/
|