loreline 0.6.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
A modern and open-source scripting language for writing **interactive fiction**.
|
|
4
4
|
|
|
5
|
-
Designed so writers can focus on story and dialogue while still having real programming tools
|
|
5
|
+
Designed so writers can focus on story and dialogue while still having real programming tools (branching, state, functions) when they need them. If you write for games, visual novels, or any kind of branching narrative, this is for you.
|
|
6
6
|
|
|
7
7
|
Loreline works everywhere: game engines, web apps, or standalone projects. It adapts to your tools, the stories you write stay portable.
|
|
8
8
|
|
|
@@ -10,7 +10,9 @@ Loreline works everywhere: game engines, web apps, or standalone projects. It ad
|
|
|
10
10
|
|
|
11
11
|
The documentation and an interactive playground are available on **[loreline.app](https://loreline.app)**.
|
|
12
12
|
|
|
13
|
-
##
|
|
13
|
+
## Building Loreline
|
|
14
|
+
|
|
15
|
+
What follows is only needed if you want to modify Loreline from source. If you just want to use Loreline with your favourite engine, check out [the integrations guides](https://loreline.app/en/docs/).
|
|
14
16
|
|
|
15
17
|
### Prerequisites
|
|
16
18
|
|
|
@@ -31,6 +33,7 @@ node ./setup --py # Build Python package (py/loreline/)
|
|
|
31
33
|
node ./setup --lua # Build Lua module (lua/loreline/)
|
|
32
34
|
node ./setup --cpp # Build native CLI (loreline / loreline.exe)
|
|
33
35
|
node ./setup --cpp-lib # Build C++ shared library
|
|
36
|
+
node ./setup --jvm # Build JVM jar (jvm/loreline.jar)
|
|
34
37
|
```
|
|
35
38
|
|
|
36
39
|
### Setting up samples
|
|
@@ -51,14 +54,15 @@ For loreline-lua, run `--lua` first.
|
|
|
51
54
|
|
|
52
55
|
### Testing
|
|
53
56
|
|
|
54
|
-
Python, Lua, and
|
|
57
|
+
Python, Lua, JS, and JVM tests require running the corresponding build step first (e.g. `node ./setup --py` before Python tests).
|
|
55
58
|
|
|
56
59
|
```sh
|
|
57
60
|
node run test ./test # Run Neko tests only
|
|
58
61
|
python3 py/test-runner.py ./test # Run Python tests only
|
|
59
62
|
lua5.4 lua/test-runner.lua ./test # Run Lua tests only
|
|
60
63
|
npx tsx js/test-runner.ts ./test # Run JS tests only
|
|
61
|
-
|
|
64
|
+
java -cp jvm/loreline.jar:build/jvm/test TestRunner ./test # Run JVM tests only
|
|
65
|
+
node ./setup --test # Build and run all test suites (Neko + C# + C# AOT + JS + C++ lib + Python + Lua + JVM)
|
|
62
66
|
```
|
|
63
67
|
|
|
64
68
|
## License
|
package/package.json
CHANGED