Adding new keywords like "int", "double", "string" ... #12126
Unanswered
adrien-thierry
asked this question in
Q&A
Replies: 1 comment 1 reply
-
See #11575 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
We are developping NectarJS, a native JavaScript compiler (with c++ transpilation), and i'm using Babel to parse JS.
We are able to use native c++ types with var types:
var obj = {"one": 1, "two": "2"} int i = obj.one; string s = obj.two;
What could be the best way to add "int", "double", "string" as keyworks like "var" in Babel ?
Thx
Beta Was this translation helpful? Give feedback.
All reactions