gren-lang / gren-lang/compiler

`gren run` should support `--optimize`

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

Nobody has claimed this yet.

Dominant language
Haskell
Stars
503
Forks
29
PR merge metrics
No merged PRs in 30d

Description

It should be possible to send the --optimize flag to gren run.

One could argue that the presence of --package should imply --optimize. Consider introducing a --debug flag to disable optimize instead.

Contributor guide

Open the contributing guide

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

Trace the argument handling for gren run and inspect how the existing --package and optimization behavior are represented. Confirm the intended relationship between --optimize, --package, and the proposed --debug alternative, then verify that the chosen behavior is accepted by gren run and works as documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
cli, compilers
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.