Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fea: add Lua support for scripting #5

Merged
merged 16 commits into from
May 20, 2024
Merged

fea: add Lua support for scripting #5

merged 16 commits into from
May 20, 2024

Conversation

marco-souza
Copy link
Owner

@marco-souza marco-souza commented May 18, 2024

This PR adds Lua lang support adding customization.

I'm planning to use this for:

  • cronjob scripting // task scheduler
  • bots webhooks

Tasks

This closes #4

@marco-souza marco-souza added enhancement New feature or request work in progress labels May 18, 2024
@marco-souza marco-souza self-assigned this May 18, 2024
internal/lua/lua.go Outdated Show resolved Hide resolved
@marco-souza
Copy link
Owner Author

Actually, there is no need to implement the std redirect, as we can use os.Pipe to read form stdout and write using stdin.

Therefore, there is no need to wait for Shopify/go-lua#43

@marco-souza
Copy link
Owner Author

FYI, PR is created: Shopify/go-lua#135

Copy link
Owner Author

@marco-souza marco-souza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

go go go 🚀

@marco-souza marco-souza merged commit 4d05d3f into main May 20, 2024
@marco-souza marco-souza deleted the fea/lua-support branch July 4, 2024 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add scripting support (lua)
1 participant