インデントを自動的に除去する生文字列リテラル

Open
#2,591 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Quiet
Tech stack
python
Domain
compilers

Research direction

The issue proposes automatically removing indentation from raw string literals, inspired by Python 3.16's d-string proposal. No files, tests, or implementation entry points are identified, so first locate the raw-string literal implementation and existing examples or tests. Done means the intended indentation behavior is defined and covered by tests.

Written by the indexing model from the issue text.

Description

メタプログラミング 付録アイデア 構文・パーサ

インデントが入るせいで、生文字列リテラルはコードのスタイルを崩すのが難点であった。それを自動的に削除することもできるのでは?

これはPython3.16へ提案されたd-stringから着想を得ている

Dominant language
Lean
Stars
200
Forks
17
Avg merge
20m
Merged PRs (30d)
6

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

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 lean-ja/lean-by-example

All issues in lean-ja/lean-by-example

Similar issues

More Compilers issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.