The documentation [1] appears to come from a very ordered mind. There's something very appealing about simplicity.<p>I see more similarity with Python than either Java or C, except for the braces and semicolons.<p>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".)<p>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.<p>So I guess this is all at a very early stage of development.<p>[1] <a href="http://www.lemon-lang.org/documentation" rel="nofollow">http://www.lemon-lang.org/documentation</a>
How about this link instead, since the GitHub page has no info about the language?<p><a href="http://www.lemon-lang.org" rel="nofollow">http://www.lemon-lang.org</a>
Not to be confused with SQLite's Lemon parser generator:<p><a href="https://www.sqlite.org/src/doc/trunk/doc/lemon.html" rel="nofollow">https://www.sqlite.org/src/doc/trunk/doc/lemon.html</a>
Nice seed for random number generation used here: <a href="https://github.com/lemon-lang/lemon/blob/9a0b3dbc854532b31f731a15f57365972d0cac73/src/lemon.c#L274" rel="nofollow">https://github.com/lemon-lang/lemon/blob/9a0b3dbc854532b31f7...</a> I'm not sure because I haven't read very far yet but I wonder if the lemon standard lib allows lemon code to change the seed?
Went to the doc directory and got this:<p><i>TODO: Add Doc</i><p>Could developers please stop doing that? These 'agile development' and 'release early and often' mantras have really gone overboard.<p>Why would anybody use a programming language with zero documentation for anything? Are we supposed to guess the language and its features from a single five-line hello world program?
Not too much documentation nor examples there, right?
However, the two test files and the documentation website immediately made me think about Python and Nim at the first glance. I might give it a try as an embeddable language, it looks promising.
> TODO: Add Doc<p>It's not a programming language if there's no documentation. It's just a compiler implementation for a dialect of something amorphous and ethereal.<p>That said, I kind of like the examples on <a href="http://www.lemon-lang.org/documentation" rel="nofollow">http://www.lemon-lang.org/documentation</a> and I wish the author(s) well in fleshing this out.
What's the motivation for this language? It seems like Javascript with destructuring assignment, named function parameters, and a few miner quirks (like sentinal)
Interesting mixture of C/C++, Python (__init__) and Javaish. Has no package manager (atleast I can’t see one).<p>Would like to see how it compares against Lua in performance.
I'm seeing in the source that the author prefers<p>type<p>methodName(args...)<p>Is this a common C-ism? I'm not familiar with this code style.
i'd like to see an embedded language designed to not have OO, and for the host system/language to handle the objects. I guess Lua 5.2 kinda fulfills that.
"Lemon – An embeddable, lightweight programming language in ANSI C that lacks documentation."<p>Uh, thanks for posting this strange link, I guess.