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

Is there a way to use the elm lang's syntax but to run my own js code? #972

Closed
jshrt opened this Issue Aug 4, 2018 · 2 comments

Comments

Projects
None yet
2 participants
@jshrt

jshrt commented Aug 4, 2018

Hello,

I would like to be able to use a little js library that we are working on with the luxuries of elm-lang's type of syntax.
Example:
I want to be able to do:

Model = ...

in the "elm-lang" like syntax but run my javascript:

const model = lib.Model({})

My knowledge is limited and I plan to learn as I go, so any advice is appreciated. Also, I do not know if this is the right place to ask but where else right.

Thanks

@evancz

This comment has been minimized.

Show comment
Hide comment
@evancz

evancz Aug 4, 2018

Member

Hi there :) Elm is not really designed for this use case. If you want to make direct calls back and forth, there are other languages that will work a lot better. If you just want different syntax, projects like CoffeeScript may give you more what you are looking for.

Anyway, I recommend asking questions like this on the Elm Slack where there are tons of folks who can help. Issues are more for specific bugs.

Member

evancz commented Aug 4, 2018

Hi there :) Elm is not really designed for this use case. If you want to make direct calls back and forth, there are other languages that will work a lot better. If you just want different syntax, projects like CoffeeScript may give you more what you are looking for.

Anyway, I recommend asking questions like this on the Elm Slack where there are tons of folks who can help. Issues are more for specific bugs.

@evancz evancz closed this Aug 4, 2018

@jshrt

This comment has been minimized.

Show comment
Hide comment
@jshrt

jshrt commented Aug 4, 2018

@evancz Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment