Skip to content

Add more inputs and outputs#48

Merged
PatrickMatthiesen merged 2 commits into
mainfrom
add-more-inputs-and-outputs
May 15, 2026
Merged

Add more inputs and outputs#48
PatrickMatthiesen merged 2 commits into
mainfrom
add-more-inputs-and-outputs

Conversation

@PatrickMatthiesen
Copy link
Copy Markdown
Member

This PR introduces:

  • TCP port input and output
  • Random number generator (within range)
  • Key event input channel
  • Console cursor controls

Closes:

Issue #4
Issue #5

…ation

- Introduced TCP input and output capabilities, allowing for communication over specified ports.
- Added `random_int` built-in function to generate random integers within a specified range.
- Updated builtins to include new port-related functions and ensure proper type checking.
- Modified the event loop to handle TCP inputs and outputs seamlessly.
- Enhanced error handling for invalid input parameters in `random_int`.
- Added tests for new functionalities, ensuring expected behavior for random number generation and TCP communication.
@PatrickMatthiesen PatrickMatthiesen requested a review from tjobi May 12, 2026 22:19
@PatrickMatthiesen PatrickMatthiesen self-assigned this May 12, 2026
@PatrickMatthiesen PatrickMatthiesen added the enhancement New feature or request label May 12, 2026
@PatrickMatthiesen PatrickMatthiesen merged commit cea432d into main May 15, 2026
3 checks passed
@PatrickMatthiesen PatrickMatthiesen deleted the add-more-inputs-and-outputs branch May 15, 2026 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants