-
Notifications
You must be signed in to change notification settings - Fork 0
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
misc nim js #95
Comments
js target should use jstring everywhere instead of cstring; but we can introduce an alias type cstring = jstring |
EDIT: could be via: |
|
when defined case5:
proc fooBar() =
var barBaz = 1
echo barBaz
fooBar() generates: function foo_bar_13797801() {
var bar_baz_13797804 = 1;
rawEcho(cstrToNimstr((bar_baz_13797804)+""));
}
foo_bar_13797801(); => should be |
enhance openDefaultBrowser: option to open in new window (not new tab) |
|
|
also, why is c appended to targets:
|
test all importjs automatically to make sure they're correct (avoiding errors like #87 (comment)) |
introduce jstring and remap cstring to Uint8Array |
refs: nim-lang#16409 (comment)
|
eg: Add module jsfetch nim-lang/Nim#12531 (comment)
links
https://developers.google.com/web/updates/2017/06/headless-karma-mocha-chai
https://developers.google.com/web/updates/2017/04/headless-chrome
cheerp: Cheerp | C/C++ to WebAssembly compiler
The text was updated successfully, but these errors were encountered: