Skip to content

NAI run lua code in string from cpp #189

@PublicVoidUpdate

Description

@PublicVoidUpdate

NAI read through the wiki, and maybe i just missed it, strings but how do you pass/run lua code literals from cpp.

For example, i am making a game in cpp where a player can use a computer that runs lua (and an os based on lua) so my question is after i get the user code/from a file or literal, or wherever, and store it as a string how do i then run the string as lua? and then of course catch issues so i can display them in game, and not in a irl console.

Metadata

Metadata

Assignees

No one assigned

    Labels

    waitingWaiting on user feedback

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions