stan-dev / stan-dev/stanc3

Don't print cuts between empty blocks in pretty printer

Open
#354 0 comments 0 reactions 0 assignees View on GitHub

A pull request for this has already been merged.

  • #1233 by @WardBrian — merged
cleanup cpp-codegen good first issue
Dominant language
OCaml
Stars
160
Forks
59
Avg merge
21h 45m
Merged PRs (30d)
26

Description

Contributor guide

No contributing guide indexed for this repository

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

Read src/middle/Program.ml at lines 117-129 and inspect the linked pull request #1233 for the existing resolution. Confirm how the pretty printer handles adjacent empty blocks and verify that it no longer prints cuts between them.

Written by the indexing model from the issue text.

Assessment

Tech stack
ocaml
Domain
compilers
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.