leokraft / leokraft/QuickKey

Searchpar input parser

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

Nobody has claimed this yet.

Priority: Medium Type: Feature
Dominant language
C++
Stars
9
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Write parser to produce AST for searchbar input.

Rules:

  • Commands -> [prefix] = ":"
  • Unicode -> [prefix] = "U+"
  • Tags -> [prefix] = None
    • [operants] = "!" (not), "&" (and), " " (and), "|" (or)
    • Note: Tags can be seperated by operants or space; space is interpreted as and
    • Tag can be entered partially, all tags matching will be selected

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

Start by locating the searchbar input handling and any existing AST or tag-search definitions in the C++ project. Use the rules in this issue to define the parser's command, Unicode, tag, operator, and partial-tag cases; done means input produces an AST that distinguishes those cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop, search
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.