Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Improve the ArkEmscripten playground

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

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript, wasm
Domain
testing, web-dev

Research direction

Start by inspecting the current ArkEmscripten playground and the JavaScript output-capture code shown in the issue. Review how the playground is compiled and how compilation is currently tested in CI. The work is done when the playground has improved UI/UX, better output capture, additional DOM and JavaScript utilities, and tests covering its behavior.

Written by the indexing model from the issue text.

Description

enhancement
Is your feature request related to a problem?

The current playground is pretty bare, and the current method of capturing what's printed is not that good (though I have no clue how to make it better):

log = console.log;
var can_capture = false;

window.console.log = (message) => {
    log(message);
    if (can_capture)
        document.getElementById("output").value += message + "\n";
};

var Module = {
    onRuntimeInitialized: function () {
        document.getElementById("run").addEventListener("click", () => {
            document.getElementById("output").value = "";
            const code = document.getElementById("code").value;
            try {
                can_capture = true;
                Module.run(code);
            } catch (e) {
                document.getElementById("output").value = e;
            }
            can_capture = false;
        });
    }
};

Playground:
Wasm Playground

Describe the solution you would like
  1. Improve the UI/UX of the playground (without having to add Vue, React or other huge libraries)
  2. Add more utils / builtins to ArkEmscripten to play with DOM and JavaScript values / functions
  3. Find a better way to get ArkScript output
  4. Add more tests (currently not tested in the CI, only the compilation is tested)
Is it a big modification to the language? Leave it if you don't know
  • Breaking change
  • Compiler/syntax modifications
  • Runtime modifications (standard library, modules, packages...)
Dominant language
C++
Stars
729
Forks
54
Avg merge
4h 8m
Merged PRs (30d)
2

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.

More from ArkScript-lang/Ark

All issues in ArkScript-lang/Ark

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.