List with the modules of the Standard library which do not work with the JS backend

2020-08-27 Thread Hlaaftana
In case documentation isn't updated, there are tests for standard library imports for [JS](https://github.com/nim-lang/Nim/blob/devel/tests/js/tstdlib_imports.nim) and [NimScript](https://github.com/nim-lang/Nim/blob/devel/tests/test_nimscript.nims), but all these do is test that these modules

List with the modules of the Standard library which do not work with the JS backend

2020-08-27 Thread halloleo
I aggregated the info from this thread in a page on the Nim wiki : [Standard library and the JavaScript backend](https://github.com/nim-lang/Nim/wiki/Standard-library-and-the-JavaScript-backend) Thanks for all the input!

List with the modules of the Standard library which do not work with the JS backend

2020-08-27 Thread halloleo
> Usually the ones that work on NimScript may work on JavaScript, and theres a > list on the NimScript documentation. That is a great hint, @juancarlospaco. Thanks!

List with the modules of the Standard library which do not work with the JS backend

2020-08-27 Thread juancarlospaco
Usually the ones that work on NimScript may work on JavaScript, and theres a list on the NimScript documentation.

List with the modules of the Standard library which do not work with the JS backend

2020-08-27 Thread Yardanico
Just so you know - osproc wouldn't make sense to support with the JS backend anyway, since Nim JS backend is made for the front-end stuff, not node.js backend. Node.js support is there only for the test suite

List with the modules of the Standard library which do not work with the JS backend

2020-08-27 Thread ElegantBeef
No, many modules work like `bitops`, any module that does anything in that list will most likely not be supported.

List with the modules of the Standard library which do not work with the JS backend

2020-08-26 Thread halloleo
library which do not work with the JS backend?

List with the modules of the Standard library which do not work with the JS backend

2020-08-26 Thread ElegantBeef
You can see about the JS supported features [here.](https://nim-lang.org/docs/backends.html#backends-the-javascript-target) The js backend is mainly aimed for the browser, so things like `osproc` clearly cant be used.

List with the modules of the Standard library which do not work with the JS backend

2020-08-26 Thread halloleo
I just re-read the page you referenced: Do I deduct correctly that this means from the Standard Library _only_ **strutils** , **math** , and **times** are compatible with JS?