Skip to content

SUKU romfs implemented for read only lua library serving via posix file APIs#205

Draft
SukuWc wants to merge 4 commits intomasterfrom
SUKU-romfs
Draft

SUKU romfs implemented for read only lua library serving via posix file APIs#205
SukuWc wants to merge 4 commits intomasterfrom
SUKU-romfs

Conversation

@SukuWc
Copy link
Member

@SukuWc SukuWc commented May 17, 2025

  • mylibrary.lua from lua_src is served via VFS to /capture/mylibrary.lua
  • Example lua code to test using immediate send from Editor:
    local mylib = require("mylibrary") print(mylib.add(3, 4), mylib.greet("SUKUWC"))
  • Print the content of the library using io function from lua:
  • local file = io.open("/capture/mylibrary.lua", "r") local content = file:read("*a") print(content) file:close()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

Implement read-only filesystem for to support dynamic library loading via the Lua require syntax

1 participant