Skip to content

Lua stdlib: string.buffer, table.clear #39316

@justinmk

Description

@justinmk

Problem

We have internal shims for luajit features:

require('string.buffer')
require('table.clear')
require('table.new')

ref #39222

Expected behavior

Document and expose these for use by plugins.
Assuming there is no risk of forward incompatibility.

Note

  • Lua 5.5 has a table.create, which is similar to require('table.new'), but still lacks require('table.clear')

Metadata

Metadata

Assignees

No one assigned

    Labels

    luastdlibneeds:discussionNeed comments/opinions from people familiar with this topic.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions