Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Beautifier can't parse C++11 raw strings

Aperta
#68 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
42/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
cpp, python
Ambito
tooling

Direzione di ricerca

Start by reproducing the failure with the C++11 raw-string example in the issue, then trace the beautifier's parsing and comparison path. Done means the example parses and beautifies without the reported tree-mismatch error while preserving the raw string content.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

If you have a C++11 raw string in your code, the beautifier will give this error message.

MACRO set:  did not produce the same tree in the original and beautified code for ...

Raw strings are pretty cool because they allow you to have multiline strings without all the extra "" and also allow you to have unescaped sequences like for regular expressions.

They typically look like this:

std::string my_raw_string = R"(
   woo look at me, it's a
   multiline string that "breaks" \ all sorts of rules 
)";
Lingua principale
Python
Stelle
9
Fork
4
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di RosettaCommons/tools

Tutte le issue di RosettaCommons/tools

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.