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

First sigil/standalone scripts POC #3

Merged
merged 1 commit into from
Jan 6, 2025

Conversation

Lucassifoni
Copy link
Collaborator

WIP on Sigils.
Currently not able to use the multi-letter sigil syntax in the repo since .tool-versions wants elixir 1.12. I'm only showing it as a call to sigil_NODE/2.

~NODE"""
...
"""

Nice-to-haves

  • interpolation syntax in the sigil
  • function call strategy : define an inline script in a way it becomes an anonymous function with arity N, arguments being passed as stdin ?
  • user-configurable formatting (I'm showing my sample with Prettier here but it must be pluggable)

@Lucassifoni
Copy link
Collaborator Author

I think formatting will also always fail under Elixir 1.15

@Lucassifoni Lucassifoni merged commit 6c7e24f into dev Jan 6, 2025
6 of 14 checks passed
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

Successfully merging this pull request may close these issues.

1 participant