google / google/codeworld

Spell checker

Open
#103 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Haskell
Stars
1.3k
Forks
201
PR merge metrics
No merged PRs in 30d

Description

It's not normal to use spell checkers when programming, but my students are convincing me it might be a good idea!

This is a little bit tricky, because there are definitely cases where you intend to spell something differently. but I think it could work, with some combination of:
1. Break apart camel case before checking spelling.
2. Don't be picky about capitalization or punctuation (e.g., accept "dont" for don't, etc.)
3. Exempt any built-in functions that don't form words, like `fst`.
4. Provide a way to add new words to the dictionary... but for this project only! Each project would have a custom dictionary.

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points. Start by reviewing the proposed spelling rules and locating the CodeWorld editor or language-tooling entry point. Define the intended scope for token handling, exemptions, and project-specific dictionary words before implementation; done should include a usable spell-checking feature with coverage for those cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.