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

Almost a JS #10

Closed
c-smile opened this issue Oct 25, 2017 · 3 comments
Closed

Almost a JS #10

c-smile opened this issue Oct 25, 2017 · 3 comments

Comments

@c-smile
Copy link

c-smile commented Oct 25, 2017

Looks like Lemon is close to JS so why not to make it as a subset of JS?

@zhicheng
Copy link
Contributor

JS is also close to Java, Java is also close to C++, C++ is also close to C. This is no point question.

@c-smile
Copy link
Author

c-smile commented Oct 25, 2017

I am not against Lemon syntax per se. Just a learning curve consideration for new people.
At least I would implement JS runtime library: Array, String, Object methods with familiar signatures.

Source code and architecture looks clean and nice so it may evolve to something interesting.
But problem is that you have plenty other competitors from micro JS implementations to big ones.
So either you will provide some unique features or super small and effective implementation of existing language. Some selling point is required to be short.

@zhicheng
Copy link
Contributor

I have zero intention make Lemon replace JavaScript.The syntax is familiar like JS is not a because Lemon syntax like JS.It's becuase JS's syntax like others.

I'm a C developer,so the syntax is very straight forward, also I'm not interested invent some weird syntax just let people think Lemon is different,just quite opposite I'd like people use it smoothly.

The competitor from JS is absurd,If someone use JS very well, they have no reason replace to Lemon. if someone will give Lemon a try, they can always fallback to JS, everyone happy, right?

if you want discuss more about Lemon, I suggest open a topic in https://groups.google.com/d/forum/lemon-lang I'd be happy to answer anything about Lemon, Thanks.

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

2 participants