Skip to content

Improve Elixir support #150

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

Closed
bettio opened this issue Feb 1, 2020 · 7 comments
Closed

Improve Elixir support #150

bettio opened this issue Feb 1, 2020 · 7 comments

Comments

@bettio
Copy link
Collaborator

bettio commented Feb 1, 2020

Following modules are missing and they should be implemented:

  • Enum
  • GenServer
  • Process
  • Tuple
  • List
  • String
  • Integer
  • IO
@OvermindDL1
Copy link

Those aren't beam-style stdlib things, Elixir makes it's own beam files for those that get included with elixir-made releases and they are just stock normal beam files. By including those you will create a conflict.

@bettio
Copy link
Collaborator Author

bettio commented Feb 12, 2020

There are some point worth to be mentioned:

  1. we are not relying on Elixir releases, we would like some mix tasks in near future, but I don't think we are going to use releases.
  2. Elixir standard modules are huge, we need a subset of the supported functions so we can save precious flash space. This means we need to strip out features/functions.
  3. We are not able to run Elixir modules out of the box, there are still some missing erlang standard functions and some opcodes are still missing. We should start with smaller modules with usable functions.

For this specific reasons we might need some custom Elixir modules, anyway I would like to discuss how to achieve our goals with an approach that works well with Elixir way of doing things.

@vctrferreira
Copy link

Hello, what is the current status from this roadmap? I'm getting starts with the project using Elixir environment for now I'm just planning my project but I need to know what is the current status to may trying to start to contribute.

@uDude
Copy link

uDude commented Mar 19, 2021 via email

@uDude
Copy link

uDude commented Mar 19, 2021 via email

@bettio
Copy link
Collaborator Author

bettio commented Mar 30, 2022

Sorry for not updating this issue, here are some news:
Following modules from the previous list has been implemented:

  • Enum
  • Process
  • Tuple
  • List

Also a number of other modules have been added like Access, Kernel, Code, Module, etc...

I'm going to track each module using a separate issue here:

@bettio
Copy link
Collaborator Author

bettio commented Mar 30, 2022

Closing this issue, please open any new issue or comment to above new issues for any further discussion/update.

@bettio bettio closed this as completed Mar 30, 2022
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

4 participants