mirror of
https://github.com/Stone-Red-Code/YesNt-Interpreter.git
synced 2026-09-04 00:56:31 +02:00
50 lines
1.5 KiB
YAML
50 lines
1.5 KiB
YAML
name: yesnt
|
|
version: "1.0.0.0"
|
|
grade: stable
|
|
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
|
|
architectures:
|
|
- build-on: [amd64, arm64]
|
|
|
|
confinement: strict
|
|
|
|
parts:
|
|
yesnt:
|
|
plugin: dotnet
|
|
dotnet-version: '10.0'
|
|
dotnet-build-configuration: Release
|
|
source: ./src/YesNt.Interpreter.App
|
|
yesntcode:
|
|
plugin: dotnet
|
|
dotnet-version: '10.0'
|
|
dotnet-build-configuration: Release
|
|
source: ./src/YesNt.CodeEditor
|
|
|
|
apps:
|
|
yesnt:
|
|
command: yesnt
|
|
plugs:
|
|
- home
|
|
- network
|
|
yesntcode:
|
|
command: yesntcode
|
|
plugs:
|
|
- home
|
|
- network
|