Live data from Hacker News

Lemon – An embeddable, lightweight programming language in ANSI C

github.com

41–50 of 71 posts

Re: Lemon – An embeddable, lightweight programming language in ANSI C

#41
post #30
post #18

Earlier quoted context omitted.

It is dynamic, curly braced, garbage collected, coroutines. Some really squeaky clean C code too. One can immediately tell this is a great code base to read and learn from, at the very least.

What's so squeaky clean about hiding a goto inside a macro?

I guess you're referring to this[1]. I'd actually call that usage svelte. The macro is undefined not far after it's use in the file, and makes the section it's in far more readable.

[1] https://github.com/lemon-lang/lemon/blob/9a0b3dbc854532b31f7...

Re: Lemon – An embeddable, lightweight programming language in ANSI C

#42

Went to the doc directory and got this: TODO: Add Doc Could developers please stop doing that? These 'agile development' and 'release early and often' mantras have really gone overboard. 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?

Wow you're entitled. The author owes you nothing!

It's not like they submitted this to HN themselves.

Re: Lemon – An embeddable, lightweight programming language in ANSI C

#43
post #8
post #6

Earlier quoted context omitted.

> 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? As someone who has done a handful of compiler/interpreter projects: I don't think that they expect anyone at this point to be using that language. They're targetting it at language geeks like myself (who go and dig around the source, w…

I'm a language geek and none of the above is what I want to see when I read about a new language. What I want to know is, what does this language offer that no other language does? What platform it runs on or whatnot is trivial boring detail that I might want to know afterwards if the language offers something interesting to try out.

>What platform it runs on or whatnot is trivial boring detail

Not caring about actual usage mechanics / acting like they are trivial details makes me question a lot about your perspective.

Re: Lemon – An embeddable, lightweight programming language in ANSI C

#47

Went to the doc directory and got this: TODO: Add Doc Could developers please stop doing that? These 'agile development' and 'release early and often' mantras have really gone overboard. 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?

> Why would anybody use a programming language with zero documentation for anything?

What alternative do you suggest? Not putting it out there until it's production ready?

Re: Lemon – An embeddable, lightweight programming language in ANSI C

#50
> TODO: Add Doc

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.

That said, I kind of like the examples on http://www.lemon-lang.org/documentation and I wish the author(s) well in fleshing this out.

Post reply on HN