ViperScript 0.1.2
dotnet tool install --global ViperScript --version 0.1.2
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local ViperScript --version 0.1.2
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=ViperScript&version=0.1.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package ViperScript --version 0.1.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
ViperScript
ViperScript ist eine kleine, einbettbare Skriptsprache und CLI für das Erstellen von Kommandozeilen-Utilities, Installationsskripten und Entwicklerwerkzeugen. Dieses Paket enthält den Interpreter (C#) und eine kleine Standardbibliothek.
Schnellstart
dotnet tool install -g ViperScript
Features (Kurz)
- Lexer → Parser → AST → Interpreter (kein Bytecode)
let/var, Funktionen, Closures, Rekursion- Arrays & Objects, Indexierung, Property-Methoden (
length,push,pop) - String-Interpolation:
`Hello ${name}` - Module via
import("path/to/mod.vs")(isolierter Scope, Caching) - Standard-Bibliothek:
echo,readFile,writeFile,sh,json.parse,json.stringify
REPL & CLI
viper run <file.vs>— führt ein Script ausviper repl— interaktive Konsole- REPL-Befehle:
:run <path>,:reload,:help - Shell-Passthrough:
! <command>oder fallback bei Parse-Fehlern
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.