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

Make template strings substitution parse as Elm, rather than injecting Elixir #301

Open
wende opened this issue Feb 23, 2018 · 1 comment

Comments

@wende
Copy link
Owner

wende commented Feb 23, 2018

Right now you can put elixir into your expression using

mytest : String
mytest =
  "something something dark force #{DateTime.utc_now}

Which is not exactly pure.
Rather than that we need to parse the #{} tags and compile their insides too
So that

mytest : String
mytest =
  "something something dark force #{String.join "," [1,2,3]}"
@wende
Copy link
Owner Author

wende commented Sep 22, 2018

Blocked by #352

@wende wende added the Blocked label Sep 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant