GithubHelp home page GithubHelp logo

gleam-lang / javascript Goto Github PK

View Code? Open in Web Editor NEW
47.0 47.0 10.0 62 KB

๐ŸŒผ Extra code for when running on JavaScript

Home Page: https://hexdocs.pm/gleam_javascript/

JavaScript 12.21% Gleam 87.79%
gleam javascript

javascript's People

Contributors

crowdhailer avatar johtso avatar lpil avatar michallepicki avatar notangelmario avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

javascript's Issues

Add a licence

Hello! First of all, great stuff, very cool language. And now, the gleam_javascript module is pretty nice but it doesn't have a licence. This might involve some legal troubles for people choosing to use this module.

Also I noticed some other Gleam modules also use gleam_javascript which, again, might present some troubles for some businesses or individuals.

I am kindly asking for a licence to be added.

Add a function for reference equality

I would like to check if two references for equal. (I'm currently trying to write gleam code as close to this as possible)
My suggestion is a function called ref_equal

Standard DOM apis and TS bridge helper

Currently if you want to use a library that is JS only, you would need to create the ffi bindings for it. A DOM ffi for the standard browser apis (document, window, etc) would be awesome.

It would be really cool if some tool existed that make conversion from TS definitions to Gleam ffi bridges, and ease the bridging part.

Maybe something like https://github.com/purescript-web can be used too ๐Ÿ’ฏ

I find Gleam to be a nicer alternative to Typescript. I would love to be used in Phoenix Hooks instead of typescript.

I made a simple example and my only concern is the amount of FFI bridges that are needed.
If something was available to automate this process would be much appreciated.

https://github.com/ElixirCL/gleamphx

thanks ๐Ÿ‘

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.