Files
YesNt-Interpreter/snap/snapcraft.yaml
T
2026-03-06 15:00:28 +01:00

75 lines
2.1 KiB
YAML

name: yesnt
title: YesNt
version: "1.0.0.0"
summary: A line-based, interpreted scripting language and terminal code editor
description: |
YesNt is a line-based, interpreted scripting language. The core idea is simple: each line maps to one primary statement. Lines are processed top-to-bottom, and inline tokens (like `${variable}` or `%read_line`) are substituted before the statement executes. Postfix modifiers like `calc` and `task` can also appear at the end of a line to evaluate arithmetic or fork execution into a background thread.
**Usage**
1. Download & install the latest release
- Chocolatey (Windows): `choco install yesnt`
- Snapcraft (Linux): `snap install yesnt`
- GitHub (Windows/Linux): [releases](https://github.com/Stone-Red-Code/YesNt-Interpreter/releases)
2. Run a script with the interpreter CLI
- `yesnt script.ynt` runs a script
3. Or use the terminal code editor
- `yesntcode` opens the editor (optional path to load a file)
- `run` / `debug` to execute the open script
- `format` to auto-format indentation
base: core24
platforms:
amd64:
arm64:
confinement: strict
parts:
yesnt:
plugin: dotnet
dotnet-version: '10.0'
source: .
build-packages:
- clang
- zlib1g-dev
override-build: |
dotnet publish \
--configuration Release \
--runtime linux-x64 \
--self-contained true \
--output "$CRAFT_PART_INSTALL" \
src/YesNt.Interpreter.App/YesNt.Interpreter.App.csproj
stage:
- -YesNt.Interpreter.*
- -*.dbg
yesntcode:
plugin: dotnet
dotnet-version: '10.0'
source: .
build-packages:
- clang
- zlib1g-dev
override-build: |
dotnet publish \
--configuration Release \
--runtime linux-x64 \
--self-contained true \
--output "$CRAFT_PART_INSTALL" \
src/YesNt.CodeEditor/YesNt.CodeEditor.csproj
stage:
- -YesNt.Interpreter.*
- -*.dbg
apps:
yesnt:
command: yesnt
plugs:
- home
- network
yesntcode:
command: yesntcode
plugs:
- home
- network