iodide-project / iodide-project/iodide
Add outputhandler to a plugin definition
- Dominant language
- JavaScript
- Stars
- 1.5k
- Forks
- 145
- PR merge metrics
- No merged PRs in 30d
Description
e.g.:
%%js
function processLispOutput(r) {
if(r.val) return r.val;
return Utils.formatJson(r);
}
%% plugin
{
"languageId": "lisp",
"displayName": "Microtalk Lisp",
"url": "https://ds604.neocities.org/js/microtalk.js",
"module": "MICROTALK",
"evaluator": "evaluate",
"pluginType": "language",
"outputHandler":"processLispOutput"
}
Contributor guide
Research direction
Start by locating the plugin-definition parsing and language evaluation entry points, then trace how evaluator results are formatted. Add support for the outputHandler name shown in the example and verify that its return value controls displayed output; the issue names no specific files or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100