Registry / quokka-script

quokka-script

JSON →
library3.0.1jsnpmunverified

The QuokkaScript compiler (v3.0.1) is a build tool for a custom scripting language, enabling compilation of QuokkaScript source into executable forms. It requires a Type Table path for namespace resolution and supports configuration via JSON. The project appears to be in maintenance mode with no recent updates, and the documentation is sparse, making it primarily suitable for existing users of the custom language. Key differentiators are limited due to the niche, custom-language focus.

npm install quokka-script
INSTALL
IMPORT
SIG · QUOKKA-SCRIPT
Q
quokka-script
javascriptv3.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Shows how to configure and run the QuokkaScript compiler using a JSON config and the compile function.

// Build configuration (config.json) { "typeTable": "./path/to/type-table.json", "sourceDir": "./src", "outputDir": "./dist" } // Build command const { compile } = require('quokka-script'); const config = require('./config.json'); compile(config);
qsk --version
Debug
Known issues
gotchaThe package requires a Type Table path to resolve namespaces; omitting it will cause compilation failures.
fix
Ensure your config.json includes a valid 'typeTable' property pointing to the type definitions file.
affects: <=3.0.1
gotchaThe compiler expects QComponent4 to be cloned into a specific directory (e.g., test/lib).
fix
Clone QComponent4 to the required directory as per your setup.
affects: <=3.0.1
breakProperties of implicit values are not resolved; this can lead to undefined behavior.
fix
Explicitly define all properties before use, or check the compiler documentation for implicit value handling.
affects: 3.0.1
Errors
Common errors & fixes
TypeError: Cannot read property 'resolve' of undefined
Missing or incorrect Type Table path in config.
fix
Set a valid 'typeTable' path in config.json.
Error: Could not locate QComponent4 in test/lib
QComponent4 is not cloned to the expected location.
fix
Clone QComponent4 repository to the required directory (e.g., test/lib).
Upgrade
Version history
3.0.1latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
quokka-script — npm install quokka-script · libregistry