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

Unexpected Compilation Error with simple JSON function #33

Closed
markmelville opened this issue Sep 17, 2018 · 3 comments
Closed

Unexpected Compilation Error with simple JSON function #33

markmelville opened this issue Sep 17, 2018 · 3 comments
Assignees

Comments

@markmelville
Copy link

This is my JS file, which results in "Unexpected Compilation Error":

function json_parse(json)
{
  return JSON.parse(json);
}
console.log(json_parse("{}"));

The only difference between this and a version that compiles is the introduction of the JSON object. Isn't that a built-in javascript object? Should this be expected to work?

@adrien-thierry
Copy link
Contributor

Thank your for your feedback,

We haven't integrate JSON object in NectarJS yet,

We will soon, and it will be open source in NectarJS modules repos

@markmelville
Copy link
Author

Could an explanation be given about why this was closed? Is this feature no longer on the roadmap? Or was it implemented?

@adrien-thierry
Copy link
Contributor

We are modifying algorithms and prioritizes, right now we are generating bytecode, so no more JSON problems

We also embedded our own framework in NectarJS for rapid application development and deployment

We are focusing on something that is working first , we good functionalities, and after we will continue the low level compilation part

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants