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

Isolating Unix Dependency in mdx #383

Open
SaySayo opened this issue Jul 13, 2022 · 0 comments
Open

Isolating Unix Dependency in mdx #383

SaySayo opened this issue Jul 13, 2022 · 0 comments

Comments

@SaySayo
Copy link

SaySayo commented Jul 13, 2022

Mdx has only one library at the moment which uses unix for some parts of its processes. We'd like to isolate the part of mdx that uses unix from the parts that don't. Essentially, what I'm suggesting is to have 2 libraries for mdx, one that contains unix and one that doesn't. I'm currently working on integrating ocaml notebooks into vscode and need to use mdx in executing the cell output but do not need to use the unix dependency as I won't be having access to the file system because I am compiling to javascript.

What would be helpful is to find a way of isolating the unix dependent part from the independent part and refactoring the code to suit our purposes. We could probably try figuring it out but it would be super helpful if you have any guidelines or suggestions for us to achieve this. Of course, that's if you have the time.

cc @tmattio

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

1 participant