klangscript-knowhow

Guide parser and interpreter implementation for the klangscript Kotlin module.

3|1|Updated Dec 20, 2025
One-click install
npx skills add https://github.com/PeekAndPoke/klang --skill klangscript-knowhow
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: klangscript-knowhow
Source: https://github.com/PeekAndPoke/klang/tree/main/.claude/skills/klangscript-knowhow
Command: npx skills add https://github.com/PeekAndPoke/klang --skill klangscript-knowhow

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides comprehensive knowledge and guidance for developing and maintaining the klangscript module, a Kotlin-based live coding language.

Core Features & Use Cases

  • Architecture Overview: Understand the klangscript module's design and components.
  • Language Feature Implementation: Guides the process of adding new features to the scripting language.
  • Development Workflow: Provides instructions for testing, debugging, and updating feature status.
  • Use Case: A developer needs to add a new control flow statement to klangscript. They would use this Skill to understand the parser and interpreter implementation details, and then update the feature status documentation.

Quick Start

Consult the klangscript/CLAUDE.md file for an architecture overview.

Frequently Asked Questions about klangscript-knowhow

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a new control flow statement to a Kotlin live coding language?

To add a new control flow statement to a Kotlin live coding language, you must update both the recursive descent parser and the tree-walking interpreter. This Skill guides you through the implementation and testing workflow.

What is a tree-walking interpreter and how does it work for live coding?

A tree-walking interpreter evaluates code by traversing the abstract syntax tree directly. For live coding environments, it enables immediate execution and dynamic updates without a separate compilation step.

Do I need to understand recursive descent parsing to implement language features?

Yes, understanding recursive descent parsing is required. You must modify the parser to recognize new syntax and the tree-walking interpreter to evaluate the new expressions or control flow statements.

How do I test and debug new scripting language features in Kotlin Multiplatform?

You test and debug new scripting language features by following the provided development workflow. This involves writing tests for the parser and interpreter, debugging the logic, and updating the feature status documentation.

Are there limitations when using a tree-walking interpreter for language development?

Tree-walking interpreters typically execute slower than compiled bytecode interpreters. For live coding, this performance trade-off is acceptable to gain dynamic evaluation and immediate feedback during language development.