Add wrap_in_block_comments to c language support

Open
#40 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
34/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
tooling

Research direction

The issue names c.wrap_in_block_comments in a Jinja template and describes the empty output when PyYAML is absent. Read the C language support and the yamlfy filter implementation to locate where language-specific filters are registered; check how missing PyYAML is handled. Done means the shown pipeline wraps its output in C block comments when PyYAML is unavailable.

Written by the indexing model from the issue text.

Description

feature

Currently

/*
{{ T | yamlfy }}
*/

will emit the following if pyyaml is not installed:

/*

*/

Instead we should support this:

{{ T | yamlfy | c.wrap_in_block_comments }}
Dominant language
Python
Stars
48
Forks
26
Avg merge
1d 18h
Merged PRs (30d)
9

Getting set up

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.

More from OpenCyphal/nunavut

All issues in OpenCyphal/nunavut

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.