wren

A nim wrapper for Wren, an embedded scripting language

Pure Nim score 15/100 · tests present · no docs generated

Summary

Latest Version Unknown
License MIT
CI Status Passing
Downloads 0
Last Indexed 2026-07-21 05:24

Installation

nimble install wren
choosenim install wren
git clone https://github.com/geotre/wren

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
wren - - - - - - -

Source

Repository https://github.com/geotre/wren
Homepage https://github.com/geotre/wren
Registry Source nimble_official

README

Wren

A Nim wrapper for Wren, an embedded scripting language.

This package uses nimgen and c2nim to generate the wrapper code.

Installation

This package is distributed on nimble: nimble install wren

Usage

A simple usage example looks like this:

in hello_world.nim:

import wren
let vm = defaultConfig().newVM()
vm.runScript("example.wren")

in example.wren:

System.print("Hello world!")
> nim c -r hello_world.nim`
> Hello world!

For more example usage refer to the examples folder of this repository.

Todo:

  • Tests
  • API documentation

Contributing

This package is a work in progress and any feedback or suggestions are welcome. It is hosted on GitHub with an MIT license so issues, forks and PRs are most appreciated.