Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
58058f3
Add GitHub Action to summarize new issues (#4)
JosunLP Nov 13, 2025
0a4d695
Add GitHub Actions workflow for greetings (#5)
JosunLP Nov 13, 2025
ef79449
Add workflow to manage stale issues and PRs (#6)
JosunLP Nov 13, 2025
064b93b
Merge branch 'dev' of https://github.com/Kink-Development-Group/hyp-r…
JosunLP Nov 13, 2025
2ef43d6
Adding Installer (#9)
JosunLP Nov 13, 2025
9daf557
Update version to 1.0.0-rc2 and change edition to 2024 in Cargo.toml …
JosunLP Nov 13, 2025
4e82a63
Refactor code for improved readability and safety in various modules
JosunLP Nov 13, 2025
e3c9133
Update .github/labeler.yml
JosunLP Nov 13, 2025
1bf5ead
Update hypnoscript-cli/src/main.rs
JosunLP Nov 13, 2025
9a072f3
Update scripts/build_linux.ps1
JosunLP Nov 13, 2025
f71efcd
Aktualisiere Labeler-Konfiguration und verbessere Installationsskript…
JosunLP Nov 13, 2025
c14df8f
Füge #[allow(dead_code)] zu InstallMetadata hinzu, um Warnungen zu un…
JosunLP Nov 13, 2025
c6ada80
Verbessere den Code-Stil durch Vereinheitlichung von Importen und Ver…
JosunLP Nov 13, 2025
7cae200
Vereinheitliche die Verwendung von `trim_start_matches` und verbesser…
JosunLP Nov 13, 2025
da8e2bc
Vereinheitliche die Verwendung von `or_else` und verbessere die Lesba…
JosunLP Nov 13, 2025
3d10d8c
Vereinheitliche die Verwendung von `or_else` in der Funktion `handle_…
JosunLP Nov 13, 2025
40d778a
Füge Dokumentation zur Installer-Synchronisation und Update-Automatis…
JosunLP Nov 13, 2025
0fad02e
Entferne den Verweis auf "Rust Edition" aus der Dokumentation und den…
JosunLP Nov 13, 2025
55094b4
Füge neue Lizenzen zur Allowlist hinzu und behandle ungenutzte Einträ…
JosunLP Nov 13, 2025
56e6f74
Update deny.toml
JosunLP Nov 13, 2025
b00ecd4
Verbessere die Windows-Unterstützung im Installer und aktualisiere di…
JosunLP Nov 13, 2025
b264902
Merge branch 'dev' of https://github.com/Kink-Development-Group/hyp-r…
JosunLP Nov 13, 2025
ff4a99a
Aktualisiere Copyright-Jahr auf 2025 in mehreren Dateien und verbesse…
JosunLP Nov 14, 2025
4c26bf7
Verbessere die Lesbarkeit des Codes im Selbstaktualisierungsprozess d…
JosunLP Nov 14, 2025
38e2fac
Aktualisiere Versionsnummer auf 1.0.0-rc2 in mehreren Skripten und de…
JosunLP Nov 14, 2025
00f004e
Vereinheitliche den Code zur Ableitung des Installationspfads im Selb…
JosunLP Nov 14, 2025
0ce4407
Merge remote-tracking branch 'origin/main' into dev
JosunLP Nov 14, 2025
5fa15c4
Feature/lib (#11)
JosunLP Nov 14, 2025
d1edcce
Feature/completion (#12)
JosunLP Nov 15, 2025
59b93ae
Merge branch 'main' into dev
JosunLP Nov 15, 2025
8d25f85
Merge branch 'main' into dev
JosunLP Nov 15, 2025
3954250
Feature/translation (#16)
JosunLP Nov 19, 2025
cb0fede
Add package manager with trance.json manifest support to CLI (#15)
Copilot Nov 19, 2025
738f7c7
Fix German/English language mixing in documentation (#18)
Copilot Nov 19, 2025
2264230
Fix CI workflow binary references after package manager rename (#19)
Copilot Nov 19, 2025
810d5a1
Fix CI/CD binary references after package manager CLI rename (#20)
Copilot Nov 21, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Labeler-Konfiguration für HypnoScript
# Siehe https://github.com/actions/labeler für das Konfigurationsformat.
# See https://github.com/actions/labeler for configuration format.

'area:core':
- changed-files:
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,12 +172,12 @@ cargo test --package hypnoscript-runtime
### CLI Tests

```bash
hypnoscript-cli version
hypnoscript-cli builtins
hypnoscript-cli lex <file>
hypnoscript-cli parse <file>
hypnoscript-cli check <file>
hypnoscript-cli run <file>
hypnoscript version
hypnoscript builtins
hypnoscript lex <file>
hypnoscript parse <file>
hypnoscript check <file>
hypnoscript exec <file>
```

### Performance Tests
Expand Down
22 changes: 12 additions & 10 deletions .github/workflows/rust-build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,23 @@ jobs:
include:
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
artifact_name: hypnoscript-cli
artifact_name: hypnoscript
asset_name: hypnoscript-linux-x64
- os: ubuntu-latest
target: x86_64-unknown-linux-musl
artifact_name: hypnoscript-cli
artifact_name: hypnoscript
asset_name: hypnoscript-linux-x64-musl
- os: windows-latest
target: x86_64-pc-windows-msvc
artifact_name: hypnoscript-cli.exe
artifact_name: hypnoscript.exe
asset_name: hypnoscript-windows-x64.exe
- os: macos-latest
target: x86_64-apple-darwin
artifact_name: hypnoscript-cli
artifact_name: hypnoscript
asset_name: hypnoscript-macos-x64
- os: macos-latest
target: aarch64-apple-darwin
artifact_name: hypnoscript-cli
artifact_name: hypnoscript
asset_name: hypnoscript-macos-arm64

env:
Expand Down Expand Up @@ -121,7 +121,8 @@ jobs:
section = "devel"
priority = "optional"
assets = [
["target/release/hypnoscript-cli", "usr/bin/", "755"],
["target/release/hypnoscript", "usr/bin/", "755"],
["target/release/hyp", "usr/bin/", "755"],
["../README.md", "usr/share/doc/hypnoscript/", "644"],
]
EOF
Expand Down Expand Up @@ -199,11 +200,12 @@ jobs:
# Extract the archive
tar -xzf hypnoscript-*.tar.gz

# Move to PATH
sudo mv hypnoscript-* /usr/local/bin/hypnoscript-cli
# Move binaries to PATH (choose the appropriate platform binary)
sudo mv hypnoscript-linux-x64 /usr/local/bin/hypnoscript
sudo chmod +x /usr/local/bin/hypnoscript

# Test installation
hypnoscript-cli version
hypnoscript version
```

### Windows
Expand All @@ -216,7 +218,7 @@ jobs:
### Debian/Ubuntu
```bash
sudo dpkg -i hypnoscript_*.deb
hypnoscript-cli version
hypnoscript version
```

## Checksums
Expand Down
36 changes: 20 additions & 16 deletions .github/workflows/rust-build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,22 +73,22 @@ jobs:
- name: Test CLI functionality (Unix)
if: runner.os != 'Windows'
run: |
./target/release/hypnoscript-cli version
./target/release/hypnoscript-cli builtins
./target/release/hypnoscript-cli lex hypnoscript-tests/test_rust_demo.hyp
./target/release/hypnoscript-cli parse hypnoscript-tests/test_rust_demo.hyp
./target/release/hypnoscript-cli check hypnoscript-tests/test_rust_demo.hyp
./target/release/hypnoscript-cli run hypnoscript-tests/test_rust_demo.hyp
./target/release/hypnoscript version
./target/release/hypnoscript builtins
./target/release/hypnoscript lex hypnoscript-tests/test_rust_demo.hyp
./target/release/hypnoscript parse hypnoscript-tests/test_rust_demo.hyp
./target/release/hypnoscript check hypnoscript-tests/test_rust_demo.hyp
./target/release/hypnoscript exec hypnoscript-tests/test_rust_demo.hyp

- name: Test CLI functionality (Windows)
if: runner.os == 'Windows'
run: |
.\target\release\hypnoscript-cli.exe version
.\target\release\hypnoscript-cli.exe builtins
.\target\release\hypnoscript-cli.exe lex hypnoscript-tests\test_rust_demo.hyp
.\target\release\hypnoscript-cli.exe parse hypnoscript-tests\test_rust_demo.hyp
.\target\release\hypnoscript-cli.exe check hypnoscript-tests\test_rust_demo.hyp
.\target\release\hypnoscript-cli.exe run hypnoscript-tests\test_rust_demo.hyp
.\target\release\hypnoscript.exe version
.\target\release\hypnoscript.exe builtins
.\target\release\hypnoscript.exe lex hypnoscript-tests\test_rust_demo.hyp
.\target\release\hypnoscript.exe parse hypnoscript-tests\test_rust_demo.hyp
.\target\release\hypnoscript.exe check hypnoscript-tests\test_rust_demo.hyp
.\target\release\hypnoscript.exe exec hypnoscript-tests\test_rust_demo.hyp

- name: Upload test results
uses: actions/upload-artifact@v4
Expand All @@ -104,7 +104,10 @@ jobs:
with:
name: hypnoscript-cli-${{ matrix.os }}
path: |
target/release/hypnoscript-cli*
target/release/hypnoscript
target/release/hypnoscript.exe
target/release/hyp
target/release/hyp.exe

code-quality:
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
Expand Down Expand Up @@ -174,8 +177,8 @@ jobs:

- name: Generate performance report
run: |
./target/release/hypnoscript-cli run hypnoscript-tests/test_rust_demo.hyp --verbose
time ./target/release/hypnoscript-cli run hypnoscript-tests/test_rust_demo.hyp
./target/release/hypnoscript exec hypnoscript-tests/test_rust_demo.hyp --verbose
time ./target/release/hypnoscript exec hypnoscript-tests/test_rust_demo.hyp

- name: Upload performance results
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -239,7 +242,8 @@ jobs:
- name: Create release package
run: |
mkdir -p release
cp target/release/hypnoscript-cli release/
cp target/release/hypnoscript release/
cp target/release/hyp release/
cp README.md release/
cp RUST_README.md release/ || true
cp LICENSE release/ || true
Expand Down
28 changes: 14 additions & 14 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
# Changelog

Alle wesentlichen Änderungen an diesem Projekt werden in dieser Datei festgehalten. Das Format orientiert sich an [Keep a Changelog](https://keepachangelog.com/de/1.1.0/) und alle Versionen folgen [Semantic Versioning](https://semver.org/lang/de/).
All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and this project adheres to [Semantic Versioning](https://semver.org/).

## [1.0.0] - 2025-11-15

### Added

- Erstveröffentlichung des vollständigen **HypnoScript**-Stacks mit Compiler (`hypnoscript-compiler`), Laufzeit (`hypnoscript-runtime`) und Kernbibliothek (`hypnoscript-core`).
- Integration des Cranelift-Backends zur nativen Codegenerierung inkl. Linker-Workflow und Plattformunterstützung für Linux, Windows und macOS.
- Umfangreiche CLI (`hypnoscript-cli`) mit Befehlen zum Ausführen von Skripten, Testläufen, Builtin-Auflistung und Versionsausgabe.
- Asynchrones Runtime-Ökosystem mit Promise-Unterstützung, Kanal-System und erweiterten Builtins (Strings, Arrays, Dateien, Hashing, Lokalisierung u. v. m.).
- Vollständige Sprachdokumentation mit VitePress, inklusive Getting-Started-Leitfäden, Sprachreferenz, Builtin-Katalog und Enterprise-Kapitel.
- Automatisierte Build- und Release-Skripte für Linux, Windows (Winget) und macOS (Universal/x64/arm64, pkg & dmg).
- Initial release of the complete **HypnoScript** stack with compiler (`hypnoscript-compiler`), runtime (`hypnoscript-runtime`), and core library (`hypnoscript-core`).
- Integration of the Cranelift backend for native code generation including linker workflow and platform support for Linux, Windows, and macOS.
- Comprehensive CLI (`hypnoscript-cli`) with commands for running scripts, test runs, builtin listing, and version output.
- Asynchronous runtime ecosystem with Promise support, channel system, and extended builtins (strings, arrays, files, hashing, localization, and much more).
- Complete language documentation with VitePress, including getting-started guides, language reference, builtin catalog, and enterprise chapter.
- Automated build and release scripts for Linux, Windows (Winget), and macOS (Universal/x64/arm64, pkg & dmg).

### Changed

- Konsolidierte Typprüfung, Parser-Verbesserungen und Iterator-basierte Implementierungen zur Einhaltung der strengen `cargo clippy`-Warnungsrichtlinien.
- Vereinheitlichter Umgang mit Linker-Argumenten, Record-Typen und Funktionssignaturen, um stabile Release-Builds über das gesamte Workspace zu gewährleisten.
- Consolidated type checking, parser improvements, and iterator-based implementations to comply with strict `cargo clippy` warning guidelines.
- Unified handling of linker arguments, record types, and function signatures to ensure stable release builds across the entire workspace.

### Fixed

- Behebung von Borrow-Checker-Problemen im nativen Codegenerator und Stabilisierung der Channel-Synchronisation im Async-Runtime-Modul.
- Reduzierte Fehler- und Warnmeldungen in Interpreter, Optimizer und Parser durch gezielte Refactorings.
- Ergänzung der fehlenden Type-System-Dokumentation sowie Korrektur nicht erreichbarer Dokumentationslinks (z. B. `language-reference/types.html`).
- Resolved borrow checker issues in the native code generator and stabilized channel synchronization in the async runtime module.
- Reduced error and warning messages in interpreter, optimizer, and parser through targeted refactorings.
- Added missing type system documentation and corrected unreachable documentation links (e.g., `language-reference/types.html`).

### Security & Compliance

- Aktualisierte `deny.toml`, einschließlich MPL-2.0-Lizenzausnahme für `webpki-roots` und Ignorierung des dokumentierten Advisories `RUSTSEC-2020-0168`.
- Erfolgreicher Abschluss von `cargo deny check` mit bereinigten Lizenz- und Advisory-Prüfungen.
- Updated `deny.toml`, including MPL-2.0 license exception for `webpki-roots` and ignoring the documented advisory `RUSTSEC-2020-0168`.
- Successfully completed `cargo deny check` with cleaned-up license and advisory checks.

[1.0.0]: https://github.com/Kink-Development-Group/hyp-runtime/releases/tag/1.0.0
Loading
Loading