Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pomettini/stevia
🦀 [WIP] A lightweight file format for simple visual novels
https://github.com/pomettini/stevia
scripting-language visual-novel
Last synced: 18 days ago
JSON representation
🦀 [WIP] A lightweight file format for simple visual novels
- Host: GitHub
- URL: https://github.com/pomettini/stevia
- Owner: pomettini
- License: mit
- Created: 2019-04-14T20:41:34.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-21T11:05:04.000Z (over 4 years ago)
- Last Synced: 2024-10-30T18:12:57.318Z (2 months ago)
- Topics: scripting-language, visual-novel
- Language: Rust
- Homepage:
- Size: 1.42 MB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# stevia
[![Build Status](https://travis-ci.org/Pomettini/stevia.svg?branch=master)](https://travis-ci.org/Pomettini/stevia)
[![Build status](https://ci.appveyor.com/api/projects/status/19lf9hwujgk7mlc0?svg=true)](https://ci.appveyor.com/project/Pomettini/stevia)
[![Coverage Status](https://coveralls.io/repos/github/Pomettini/stevia/badge.svg?branch=master)](https://coveralls.io/github/Pomettini/stevia?branch=master)A lightweight file format for simple visual novels that is easy to parse
It takes a subset of [Ink](https://github.com/inkle/ink) scripting language as the input
## Usage
Build the binary with:
```bash
cargo build --bin stevia
```Run with:
```bash
./stevia file.ink
```## Examples
Stevia will transform this:
```text
Hello thereI'm a VN written in the Ink format
Do you like it?
+ [Yes, I like it!] -> like
+ [No, I do not like it] -> hate=== like
Thank you!
-> END
=== hate
Oh, I see
-> END
```Into this:
```
P;Hello there|P;I'm a VN written in the Ink format|P;Do you like it?|Q;Yes, I like it!;00120;No, I do not like it;00136|P;Thank you!|E;|P;Oh, I see|E;
```Still work in progress!