Skip to content

In Lua mode, missing fields in package compared to PUC Lua #66

Description

@alysbrooks

WattleScript's Lua mode is missing some fields in package that "standard" Lua (PUC Lua) has. In particular, the lack of package.preload, package.path, and package.searchers prevents Fennel from working.

I'm not sure whether this is partly a case of missing functionality or if the functionality is essentially all there and just needs to be exposed via package. I'm hoping it is all there because I don't see anything on the list of differences that would suggest this is a piece of functionality that's missing. I would like to submit a PR to address this, but am not sure I could add substantial functionality to the Lua mode's package functionality.

You can also read the original issue filed against MoonSharp.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions