The current logic for creating a Nanobot only allows writing one line at a time. We need to change this to support a more interactive text editor that allows users to edit previous lines. This should be implemented by modifying the logic attribute of the Nanobot, without writing to a file.
Expected Behavior:
The user should be able to input multi-line logic interactively and edit any previous lines as needed before confirming within the logic for the creation of a Nanobot.
The Nanobot.logic attribute should store the entire script.
No files should be created or modified.
Notes:
Avoid copying external code. We encourage new contributors to explain their own logic and approach for solving the issue. PRs with in-depth explanations will be prioritized for review.
To Discourage AI Solutions:
When submitting a PR, please:
Write a brief explanation of how your solution works, focusing on why you chose this approach.
Discuss potential challenges you encountered and how you solved them.
Add Resolves #1 in the PR to link the PR to this issue.
If you do not follow these guidelines, your PR will be closed for AI.
Task Description:
The current logic for creating a Nanobot only allows writing one line at a time. We need to change this to support a more interactive text editor that allows users to edit previous lines. This should be implemented by modifying the
logic
attribute of the Nanobot, without writing to a file.Expected Behavior:
Nanobot.logic
attribute should store the entire script.Notes:
To Discourage AI Solutions:
When submitting a PR, please:
Resolves #1
in the PR to link the PR to this issue.If you do not follow these guidelines, your PR will be closed for AI.