gren-lang / gren-lang/compiler

`gren run` should spawn the program with the same node process

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

Nobody has claimed this yet.

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

Description

gren run currently executes node-based applications using node, however it should be using the same process used to execute the compiler.

For nix/devenv/devbox, this means that you don't need nodejs added as a dependency for gren run to function.

This needs to be tested with a static build of the compiler as well.

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

Start at the implementation of gren run and trace how it launches node-based applications, comparing that process with the one used to execute the compiler. Verify the change with a static build of the compiler, including the stated nix, devenv, and devbox scenario, and confirm that gren run no longer requires a separate nodejs dependency.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell, node.js
Domain
compilers
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.