Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cxw42/wren-vala

Vala bindings for Wren
https://github.com/cxw42/wren-vala

bindings language-bindings vala vala-bindings wren wren-language wren-vala

Last synced: about 1 month ago
JSON representation

Vala bindings for Wren

Awesome Lists containing this project

README

        

# wren-vala: Vala bindings for the Wren scripting language

# Installing

## Requirements

- `valac`
- autotools (those are probably already installed)

## From a dist tarball

tar xvzf wren-vala-VERSION.tar.gz
cd wren-vala-VERSION

Then skip down to the "Common" subsection below.

## From git

After cloning:
- run `git submodule update --init --recursive` if you do not
already have Wren installed on your system.
- run `./bootstrap`
- follow the instructions in the next section, "Common".

## Common

After doing one of the above "From" subsections:

```
./configure && make -j && sudo make -j install
```

Wren is statically linked into wren-vala.

Note: the version number of wren-vala matches the version of Wren in
the first three digits.

# Repo contents

- `src/`: source code for the Vala bindings
- `t/`: tests for the Vala bindings
- `doc/`: documentation for the Vala bindings
- `wren-pkg/`: Version of Wren that is statically linked into wren-vala
- `wren-pkg/wren/`: [wren-lang/wren](https://github.com/wren-lang/wren),
as a git submodule

# Useful things

- Code coverage of the test suite: run `./coverage.sh`, then open
`wren-vala-coverage/index.html` in a Web browser. Requires gcov(1) and
lcov(1).
- Note: You can't run `make distcheck` if you're configured for
coverage. Just re-run `./configure` to go back to non-coverage mode.
- Documentation: run `make html`, then open `doc/valadoc/index.html` in a
Web browser.

## Legal

Licensed MIT (the same as Wren itself).
Copyright (c) 2021 Christopher White. All rights reserved. See file
[LICENSE](LICENSE) for details.

Contains material derived from Wren, which is
Copyright (c) 2021 Robert Nystrom and Wren Contributors, licensed MIT.

`t/bash-test-utils-s.sh` is Copyright (c) 2008-2012, Advanced Micro Devices,
Inc., and is licensed BSD 2-clause (see that file for details of its license).