Skip to content
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

File handling functions are needed #23

Open
timbarnes opened this issue Mar 11, 2024 · 2 comments
Open

File handling functions are needed #23

timbarnes opened this issue Mar 11, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@timbarnes
Copy link
Owner

Add file handling functions using the Forth Standard as a guide. Move as much to Forth as possible.

Basic functions required are:

  • open-file
  • close-file
  • create-file
  • read-line
  • write-line
  • read-file
  • write-file
  • r/o
  • r/w
  • s" should also work with files other than Forth
@timbarnes timbarnes self-assigned this Mar 11, 2024
@timbarnes timbarnes added the enhancement New feature or request label Mar 11, 2024
@timbarnes
Copy link
Owner Author

r/w and r/o are already implemented, but should be in Forth, simply placing a value on the stack.

The file-handle pointer should be moved to Forth, or eliminated in favor of user variables.

@timbarnes
Copy link
Owner Author

open-file, close-file, read-line and write-line have been implemented, as are file modes of r/w, r/o and w/o.
create-file remains to be implemented, and additional testing is required for all aspects of the system.

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

No branches or pull requests

1 participant