chaokunyang opened a new issue, #3268:
URL: https://github.com/apache/fory/issues/3268
Parent issue: #3266
## Scope
Extend the FDL lexer/parser to support `service` definitions with
protobuf-style syntax.
## Detailed tasks
- Lexer: add keywords `service`, `rpc`, `returns`, `stream`.
- Parser: parse
- `service Name { ... }`
- `rpc Method (Type) returns (Type);`
- Streaming forms: `stream` before request/response type.
- Allow service/method `option` blocks; store raw key/value pairs.
- Ensure request/response types reference messages (not enums/unions).
- Emit source locations for error reporting.
- Add parser tests with unary, client-streaming, server-streaming, and
bidi-streaming.
## Notes
FDL service syntax should mirror protobuf for ease of adoption.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]