Skip to content

Start implementing fread and fwrite in lisp - #265

Merged
skx merged 2 commits into
mainfrom
261-fread-fwrite
Sep 27, 2026
Merged

skx merged 2 commits into
mainfrom
261-fread-fwrite

Conversation

@skx

@skx skx commented Sep 27, 2026 •

Copy link
Copy Markdown
Owner

This pull-request, once complete, will port the fread and fwrite primitives from assembly language to lisp.

As part of that we first need to expose a memory allocation routine, alloc. This is needed to hold the data read from file-handles.

Once complete this will close #261:

  • Expose alloc, and document it.
  • Port fread.
  • Port fwrite.

skx added 2 commits September 27, 2026 20:17
This pull-request, once complete, will port the `fread` and `fwrite`
primitives from assembly language to lisp.

As part of that we first need to expose a memory allocation routine,
`alloc`.  This is needed to hold the data read from file-handles.

Once complete this will close #261:

* [ ] Expose `alloc`, and document it.
* [ ] Port `fread`.
* [ ] Port `fwrite`.
@skx
skx merged commit ea6d93d into main Sep 27, 2026
1 check passed
@skx
skx deleted the 261-fread-fwrite branch September 27, 2026 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Port fread and fwrite from assembly to lisp

1 participant