objectionary / objectionary/lints

`@` attribute is not at the highest level

Open
#108 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement help wanted
Dominant language
Java
Stars
14
Forks
39
Avg merge
22h 54m
Merged PRs (30d)
90

Description

Consider this code:

[] > foo
  hello > x
    bar > @

It compiles, but it's very confusing. It's better to rewrite it like this:

[] > foo
  bar > @
  hello > x
    @

Let's try to create a lint for this.

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

No file, test, or entry point is named in the issue. Start by locating the existing Java lint implementations and tests, then use the two XMIR examples as behavioral fixtures; done means the confusing @ placement is reported while the rewritten form is accepted.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.