-
Notifications
You must be signed in to change notification settings - Fork 0
Add GitHub Action to summarize new issues (#4) #21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This workflow automatically marks and closes stale issues and pull requests based on inactivity.
* feat: Add unified installer script for HypnoScript runtime - Introduced `install.sh` for automatic installation, updates, and uninstallation of HypnoScript runtime. - Updated GitHub Actions workflow to include the installer in release artifacts. - Enhanced documentation to include instructions for using the new installer. - Added self-update functionality to the CLI for checking and installing the latest version. - Updated package dependencies in `Cargo.toml` for improved functionality. - Modified build scripts to copy the new installer script into release packages. * fix: Update regex patterns for branch type matching in labeler configuration
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
… für bessere Lesbarkeit und Sicherheit
…einfachung von Bedingungen in mehreren Dateien
…e die Lesbarkeit von Bedingungen in mehreren Dateien
…rkeit der Bedingung in `find_shared_installer`
…self_update` für bessere Lesbarkeit
…ierung hinzu; verbessere CLI-Befehlsübersicht und Installationstext
… Ausgaben, um die Konsistenz zu verbessern und die Benutzererfahrung zu vereinfachen.
…ge als informativ, um übermäßige Warnungen zu vermeiden.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…e Umgebungsvariablenbehandlung; füge Sicherheitswarnungen hinzu und optimiere die Fehlerbehandlung in der Skriptlogik.
…re die Fehlerbehandlung im Installer-Skript.
…urch Vereinfachung der Funktionsaufrufe zur Ableitung des Installationspfads.
…r Winget-Manifestdatei; füge ein Skript zur Synchronisierung der Version hinzu.
…staktualisierungsprozess
* feat: Add API and CLI builtins for HTTP requests and command-line argument parsing - Introduced `api_builtins` module for handling HTTP requests with support for various methods and authentication strategies. - Added `cli_builtins` module for parsing command-line arguments and prompting user input. - Implemented `data_builtins` for JSON and CSV utilities, including parsing, querying, and serialization. - Enhanced `file_builtins` with functions for reading and writing lines to files, and copying directories recursively. - Created `service_builtins` for managing service health metrics and retry schedules. - Added localization support with `localization` module for handling translations and locale detection. - Updated `Cargo.toml` to include new dependencies for HTTP and CSV handling. - Added tests for new functionalities to ensure reliability and correctness. chore: Bump version to 1.0.0-rc3 in package.json and build scripts * Enhance HypnoScript with new features and improvements - Updated README.md to reflect new built-in functions and performance improvements. - Added cryptographic functions (SHA-256, SHA-512, MD5, Base64, UUID) to hashing_builtins.rs. - Implemented functional programming operations (map, filter, reduce, etc.) in array_builtins.rs. - Introduced localization support in core_builtins.rs for hypnotic functions. - Expanded math_builtins.rs with additional mathematical functions (inverse trig, hyperbolic, angle conversion). - Enhanced string_builtins.rs with new string manipulation functions (trim, insert, remove, wrap text). - Increased test coverage across all built-in functions to ensure reliability and correctness. * Add advanced string manipulation and dictionary builtins - Introduced `advanced_string_builtins` module with functions for string similarity metrics, phonetic algorithms, and fuzzy matching utilities. - Enhanced `string_builtins` with comprehensive documentation and Unicode-aware methods. - Implemented `dictionary_builtins` for key-value collection operations, including creation, retrieval, and manipulation of JSON-based dictionaries. - Added `builtin_trait` for consistent error handling and metadata across builtin modules. - Updated `lib.rs` to include new modules and re-export relevant types for easier access. * feat: Add collection builtins and enhance existing modules with metadata and examples * feat: Enhance HypnoScript Compiler with Native Code Generation and Optimizations - Added support for compiling HypnoScript to native binaries targeting various platforms (Windows, macOS, Linux). - Introduced a new `NativeCodeGenerator` module with configuration options for optimization levels and target platforms. - Implemented a basic structure for code optimization, including constant folding and placeholders for additional optimization passes. - Added a `WasmBinaryGenerator` for generating binary WebAssembly (.wasm) files directly from the AST. - Updated the CLI to support new commands for compiling to native binaries and optimizing HypnoScript code. - Enhanced documentation for new features and modules, including usage examples. - Added test cases for the new compiler features and optimizations. * feat: Update HypnoScript Compiler with Cranelift backend and enhance WASM generation - Added support for Cranelift as the native code generation backend. - Updated .gitignore to exclude compiled artifacts. - Enhanced README with detailed features and usage examples. - Improved documentation in lib.rs and native_codegen.rs. - Implemented session handling and function declarations in WASM code generation. - Removed obsolete test_compiler.hyp file. * feat: Introduce new language features including embed, pendulum loops, murmur for debug output, and pattern matching with entrain - Added `embed` for deep variable declarations. - Implemented `pendulum` for bidirectional loop syntax. - Introduced `murmur` for quiet debug output. - Added pattern matching capabilities with `entrain`, including support for literals, identifiers, and guards. - Implemented nullish coalescing operator (`lucidFallback`) and optional chaining (`dreamReach`). - Enhanced the parser and token definitions to support new keywords and syntax. - Created comprehensive test cases for all new features to ensure functionality and correctness. * feat: Implement loop statement enhancements with support for initialization, condition, and update clauses; unify loop and pendulum syntax * feat: Enhance variable handling by introducing storage types and updating declaration parsing * fix: Update error messages in DataError enum to English
* Implement tranceify feature for custom record types - Added support for defining custom record types using the `tranceify` keyword in the HypnoScript language. - Introduced `RecordValue` struct to represent record instances. - Enhanced the `Value` enum to include records and updated related methods for equality, display, and truthiness checks. - Implemented type checking for tranceify declarations and record literals, ensuring field existence and type compatibility. - Updated the AST to include nodes for tranceify declarations and record literals. - Enhanced the parser to handle tranceify declarations and record literals. - Created comprehensive test cases for various tranceify scenarios, including basic declarations, nested records, and calculations. - Added documentation for tranceify in the language reference and examples section. * Add documentation for hypnotic operator synonyms, pattern matching, and triggers - Introduced a new document for hypnotic operator synonyms, detailing their usage and examples. - Created a comprehensive guide on pattern matching with `entrain`, including various pattern types and real-world examples. - Added a section on triggers, explaining their purpose, syntax, and integration with event handling and asynchronous operations. - Updated syntax documentation to reflect changes in function definitions from `Trance` to `suggestion`. - Enhanced the interpreter reference with examples of robust error handling and recursion limits. - Updated the parser documentation to include supported language constructs and examples. * Füge Regeln für Top-Level-Blöcke hinzu: `entrance` und `finale` sind nur auf oberster Ebene erlaubt; Parser-Fehler für ungültige Platzierungen implementiert. * Refactor code for improved readability and maintainability - Cleaned up formatting and indentation in `wasm_codegen.rs`, `parser.rs`, and various built-in modules for consistency. - Enhanced error messages and localization support in built-in modules. - Added new test case for parsing entrain with record pattern in `parser.rs`. - Updated version numbers in `package.json` and build scripts to 1.0.0-rc4. - Improved handling of record field patterns in `parser.rs`. - Refactored function signatures for clarity in multiple built-in modules. - Adjusted assertions in tests for better readability. * Aktualisiere hypnotische Synonyme für Vergleichsoperatoren und füge Hinweise zur String-Konkatenation hinzu; verbessere Dokumentation für Pattern Matching.
* Initial plan * Fix binary references in rust-build-and-release.yml workflow Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com> * Update CLI command references in documentation Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com> * Improve installation instructions specificity Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com>
- Introduced a new module `debug_builtins` with functions for value inspection, assertions, and timing. - Updated the HypnoScript version to 1.2.0 across various documentation and configuration files. - Enhanced documentation to reflect new features and updated versioning. - Adjusted installation scripts and package manifests to support the new version.
…and consistency - Updated all instances of `run` command to `exec` for script execution in documentation. - Enhanced debugging section with detailed explanations of interactive debug mode, breakpoints, and watch expressions. - Improved the structure and language of debugging tools documentation, including CLI commands and built-in functions. - Added examples for using debug features such as `inspect`, `typeOf`, and `stackTrace`. - Revised installation and quick start guides to reflect command changes and provide clearer instructions. - Cleaned up code formatting and localization strings in the debug builtins implementation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This pull request introduces a comprehensive debugging system for HypnoScript, including interactive step-through execution, a debug REPL, debug builtins, and CLI enhancements. The changes also include version updates from 1.0.0 to 1.2.0 across the workspace, documentation improvements (primarily in German), and removal of obsolete files.
Note: The PR title "Add GitHub Action to summarize new issues (#4)" does not match the actual changes, which are entirely focused on debugging infrastructure and version updates.
Changes:
- New debugging infrastructure with breakpoints, stepping, call stack inspection, and watch expressions
- Interactive debug REPL for CLI with comprehensive command support
- Debug builtin functions for inspection, assertions, timing, and logging
- Version bump to 1.2.0 across all manifests, lock files, and documentation
- Documentation updates for debugging features and CLI commands
- Removal of obsolete translation script and implementation summary
Reviewed changes
Copilot reviewed 48 out of 49 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
hypnoscript-compiler/src/debug.rs |
New debug infrastructure with DebugState, breakpoint management, stepping modes |
hypnoscript-cli/src/debug_repl.rs |
Interactive REPL for debugging sessions with command parsing |
hypnoscript-runtime/src/debug_builtins.rs |
Debug builtin functions (inspect, assertions, timing, logging) |
hypnoscript-compiler/src/interpreter.rs |
Integration of debug state and methods into interpreter |
hypnoscript-cli/src/main.rs |
CLI integration for debug mode with new flags |
hypnoscript-compiler/src/lib.rs |
Export debug types |
hypnoscript-runtime/src/lib.rs |
Export debug builtins |
Cargo.toml |
Version bump to 1.2.0 |
CHANGELOG.md |
Documentation of new features |
.github/copilot-instructions.md |
New project overview for AI assistance |
| Documentation files | Updates for debugging features, version references, command changes |
| Various manifests/configs | Version updates to 1.2.0 |
translate_docs.py |
Removed (obsolete) |
IMPLEMENTATION_SUMMARY_PACKAGE_MANAGER.md |
Removed (obsolete) |
Files not reviewed (1)
- hypnoscript-docs/package-lock.json: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Updated German phrases to English in system functions, utility functions, CLI commands, debug mode, and examples. - Improved code comments and examples for better understanding. - Enhanced error handling and logging sections in CLI workflows.
- Updated string function examples to use English names and phrases. - Changed variable names in examples from German to English for better understanding. - Revised breakpoint documentation to provide clearer command descriptions and examples. - Enhanced debugging overview with improved command explanations and examples. - Updated utility and system examples to reflect consistent naming conventions. - Modified record examples to use English names and addresses for clarity. - Improved syntax examples to use consistent naming and formatting.
- Updated backup and recovery documentation to improve clarity and fix typos. - Revised database documentation for consistent terminology and improved readability. - Enhanced messaging documentation with clearer descriptions and corrected translations. - Improved monitoring documentation for better structure and clarity. - Revised overview documentation for consistent language and formatting. - Updated package.json to change the description and keywords to English. - Cleaned up core builtins code for consistent translation formatting. - Modified winget manifest to update the description to English.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 90 out of 91 changed files in this pull request and generated no new comments.
Files not reviewed (1)
- hypnoscript-docs/package-lock.json: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
… Inhalt korrekt als String zu lesen
This pull request introduces a major feature upgrade centered on a comprehensive debugging system for HypnoScript, along with supporting documentation and version updates across the workspace. The highlights include a new interactive debugger with step-through execution, a debug REPL, debug builtins, CLI enhancements for debugging, and full integration into the interpreter. Documentation has been expanded to describe the architecture, development workflow, and new features. The package manager and all manifests have been updated to version 1.2.0.
Debugging Infrastructure and Features:
hypnoscript-compiler/src/debug.rs,hypnoscript-cli/src/debug_repl.rs, andhypnoscript-runtime/src/debug_builtins.rs. [1] [2]execcommand now supports interactive debug mode (--debug), initial breakpoints, watch expressions, and trace file output. [1] [2]Documentation and Developer Experience:
.github/copilot-instructions.mdwith a project overview, architecture diagram, crate descriptions, language syntax, developer commands, code conventions, and key files.README.mdto clarify the Rust-only implementation.PACKAGE_MANAGER.mdand fixed formatting in the package manager documentation and example lock files. [1] [2] [3] [4] [5]Version and Manifest Updates:
Cargo.toml,examples/trance.json, and all relevant lock files and manifests. [1] [2] [3]Cleanup and Removals:
IMPLEMENTATION_SUMMARY_PACKAGE_MANAGER.mdas its content is superseded by improved documentation elsewhere.Changelog:
CHANGELOG.mdunder the new 1.2.0 section.