protocolbuffers / protocolbuffers/protobuf

inconsistent handling of keywords and conflicts

Open
#10,491 1 comment 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

help wanted protoc
Dominant language
C++
Stars
72k
Forks
16.3k
Avg merge
1d 17h
Merged PRs (30d)
140

Description

Various code generators and languages have interesting non-overlapping sets of keywords. Protobuf as a whole does not handle these things consistently (sometimes it mangles them, sometimes it generates code that doesn't compiler). When the mangling causing conflicts with other feels we are one again inconsistent. Then we are sad.

What needs to happen is a systematic push to

  1. figure out what we do now
  2. propose a unified solution
  3. move things to it

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points; begin by inventorying how keyword mangling and conflicts are currently handled across the code generators and languages. Document a unified solution, then identify and migrate the inconsistent cases until the generators no longer produce conflicting or uncompilable code.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.