Hacker News new | ask | show | jobs
by wbhart 3154 days ago
The documentation [1] appears to come from a very ordered mind. There's something very appealing about simplicity.

I see more similarity with Python than either Java or C, except for the braces and semicolons.

The description says that everything is an object, even types, though there's no way to specify types in the function prototypes so far, it seems. (Whilst that is what you would expect from a dynamically typed language, it can still be useful for optional type checking, or for later optimisation (AOT or Jit), or to make it easier to efficiently add methods for existing "types".)

Actually, what I can't quite see from the documentation is how one calls methods, whether it is necessary to put methods inside the classes, whether they dispatch only on the first argument or an implicit "this", and how inheritance is handled.

So I guess this is all at a very early stage of development.

[1] http://www.lemon-lang.org/documentation

1 comments

> So I guess this is all at a very early stage of development.

That should be the top link

Submitters here have developed a truly odd habit of posting a github link when a project has a site with actual documentation. And then, we get random, angry posters (visible elsewhere on this page) who don't notice the link to the actual site at the top of the github page.
Or who think "if the github is in this state, the site's probably terrible!"