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

[Feature] Standalone scripts and node processes #25

Open
4 tasks
Lucassifoni opened this issue Jan 10, 2025 · 0 comments
Open
4 tasks

[Feature] Standalone scripts and node processes #25

Lucassifoni opened this issue Jan 10, 2025 · 0 comments
Assignees

Comments

@Lucassifoni
Copy link
Collaborator

Lucassifoni commented Jan 10, 2025

Goals

  • An ergonomic way to define scripts in Elixir code, with (optional) formatting on mix format
  • Building on Nodelix.Npm, allow to define and install dependencies for a script
  • Run one-off scripts without configuring a nodelix profile
  • Launch a long-running script in a port

I'll start with my POC ( https://github.com/alzo-archi/nodelix/tree/sigils_and_standalone_scripts ) and build upon it.

Custom sigils must be opt-in or Nodelix will fail to compile under 1.15.

For examples of that "<lang> inside elixir module" feature, see Zigler : https://hexdocs.pm/zigler/Zig.html#module-basic-nifs

@Lucassifoni Lucassifoni self-assigned this Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant