Skip to content

Commit 3954250

Browse files
JosunLPCopilot
andauthored
Feature/translation (#16)
* Refactor documentation and test cases for HypnoScript - Translated and updated the language reference for triggers, types, and variables to English. - Improved clarity and consistency in examples and descriptions across documentation. - Enhanced test cases for basic features, extended data structures, object orientation, control structures, functions, arrays, and error handling. - Updated comments in test files to reflect changes in language and improve readability. * Translate HypnoScript documentation from German to English, updating various sections including examples, index, intro, interpreter reference, and testing overview. Added a translation script to automate future translations while preserving code formatting and technical terms. * Translate HypnoScript documentation from German to English, updating various sections including debugging best practices, performance debugging, error handling, examples of CLI workflows, system functions, and utility functions. Adjusted comments and descriptions for clarity and consistency in English. Enhanced the translation script for improved handling of markdown files and code blocks. * Refactor HypnoScript test files for improved clarity and organization - Updated test_extended_builtins.hyp to focus on array tools, statistics, string manipulation, hashing, and validation builtins, while removing redundant collection operations. - Revised test_extended_features.hyp to showcase advanced mathematical functions, string manipulation, array operations, and hypnotic functions, enhancing the overall demonstration. - Enhanced test_new_language_features.hyp to highlight modern language features such as embed, pendulum, murmur, await, lucidFallback, and optional chaining with clearer examples. - Simplified test_parallel_execution.hyp to simulate parallel workloads without actual threading, emphasizing timing analysis capabilities. - Modified test_simple.hyp to streamline basic variable handling and function calls, improving readability. - Consolidated test_simple_features.hyp to present a mini-scenario for a HypnoScript workshop, managing registration and status with hypnotic operators. - Merged test_simple_new_features.hyp into a single reference file, directing users to the appropriate tests for new features. * Refactor HypnoScript test files and templates for improved clarity and consistency - Updated test_extended_features.hyp to enhance readability and translate German comments to English. - Revised test_new_features.hyp for consistent terminology and clearer descriptions. - Modified test_new_language_features.hyp to reflect English translations and improve output clarity. - Adjusted test_parallel_execution.hyp for better English phrasing and clarity in task descriptions. - Enhanced test_simple.hyp with clearer comments and English translations. - Updated test_simple_features.hyp for consistent language and improved clarity in registration management. - Merged test_simple_new_features.hyp into test_new_features.hyp for consolidation. - Created a new README.md in the template directory to provide an overview of the HypnoScript CLI template. - Added watch.ps1 and watch.sh scripts for running commands in PowerShell and Bash respectively. - Implemented help.hyp, pulse_report.hyp, and session_status.hyp commands for CLI functionality. - Developed main.hyp as the entry point for the CLI application. - Established runtime_state.hyp for shared session and pulse metrics. - Created smoke.hyp for basic testing of the CLI functionality. - Initialized trance-lock.json and trance.json for project configuration and dependencies. * Update hypnoscript-docs/docs/getting-started/quick-start.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 8d25f85 commit 3954250

99 files changed

Lines changed: 6428 additions & 6768 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Labeler-Konfiguration für HypnoScript
2-
# Siehe https://github.com/actions/labeler für das Konfigurationsformat.
2+
# See https://github.com/actions/labeler for configuration format.
33

44
'area:core':
55
- changed-files:

CHANGELOG.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
11
# Changelog
22

3-
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/).
3+
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/).
44

55
## [1.0.0] - 2025-11-15
66

77
### Added
88

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

1616
### Changed
1717

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

2121
### Fixed
2222

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

2727
### Security & Compliance
2828

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

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

0 commit comments

Comments
 (0)