5 ms·
Python, C++ inspired language that transpiles to C and can be embedded within C
- pipeline_peak 2y agoI think ANIL might not be a great name. Let me know if you need clarification ;)
- Joker_vD 2y agoWhy? It's a nice colour.
- musicale 2y agoThey seem to have misspelled it.
- jepler 2y agoAnil is a given first name, maybe just not in your culture.
- bheadmaster 2y agoWhy are you so anal about its name?
- rangerelf 2y agoTell me you're a gringo without telling me you're a gringo.
- deleted 2y ago[deleted]
- pipeline_peak 2y agoThe worlds bigger than beanville
- rangerelf 2y ago"world's"
- pipeline_peak 2y agoYou sure showed me, bean boy.
- delta_p_delta_x 2y ago'Anil' has several different meanings in Sanskrit and descendant Indo-Aryan languages, Turkish, and a handful of Dravidian languages. All are fairly noble; none warrant a winky face.
- moomin 2y agoTaking the name of the language of the front makes it read like Python is the subject matter.
- pipeline_peak 2y agoI'm pretty sure ANIL is taking the back
- RaftPeople 2y agoI'm re-watching the show Silicon Valley and this name would have been a perfect product name in one of their episodes.
- bheadmaster 2y agoThe headline is confusing. It is meant to be read as (Python & C++)-inspired language [...]
- seanw444 2y agoYeah at first I was like "well that's an unfortunate name choice."
- omoikane 2y agoOriginal title was ANIL(A Nice Intermediate Language) Python & C++ inspired programming language that transpiles to C and can be embedded within C source files Current title is confusing since it truncates the "ANIL(A Nice Intermediate Language)" part, but maybe that was done by HN and not by the person who submitted the article. A better title would be just that first part.
- shiroiushi 2y agoExactly: I came here specifically to point out that Python is definitely NOT inspired by C++, nor does it transpile to C. Nor is it anything new, as implied by the lack of a year within parentheses. This headline is wrong.
- NoZZz 2y ago[flagged]
- remram 2y agoCompletely different meaning of embedded, this is about putting the generated C code in your program, not putting the interpreter in your program.
- imtringued 2y ago[flagged]
- remram 2y agoI thought you were nitpicking but looking at that sample code... "endc_function"... wow.
- andai 2y agoFrom what I can tell it probably doesn't have significant whitespace.
- daelon 2y agoWhy are dunder methods a "severe design mistake"?
- nu11ptr 2y agoI think they are really good design. The stick out like a sore thumb (reading > writing) so you immediately know "this does something a little special and isn't typically called directly". Contrast that with some languages that just use up perfectly good names in the namespace for operators. Unless you know they are special you are left wondering.
- hifromwork 2y agoThat's a quick jump from "in my opinion" to "you have no clue about". I mean, the author is probably not a programming language design specialist, but I feel that's overly harsh - they hopefully learned a bit when working on this toy project.
- _proofs 2y ago[flagged]
- dang 2y agoPlease don't respond to a bad comment by breaking the site guidelines yourself. That only makes things worse. https://news.ycombinator.com/newsguidelines.html https://news.ycombinator.com/newsguidelines.html
- PyWoody 2y agoBefore everyone piles on, here is the repo owner's Note at the bottom of the page: This is my first ever compiler project. I created this compiler for the following reasons: * To learn about compiler development. * To build a self-compiling compiler. * To implement features I find interesting and cool.
- delta_p_delta_x 2y agoBut everyone piled on anyway; see the comment below where the writer opened with 'I have to be harsh about this'. Classic Hacker News.
- stevenae 2y agoFrom the guidelines [1]: Please don't sneer, including at the rest of the community. 1. https://news.ycombinator.com/newsguidelines.html https://news.ycombinator.com/newsguidelines.html
- actionfromafar 2y agoObligatory mention of Shedskin¹, which is an honest to goodness Python3 to C++ transpiler. 1: https://shedskin.github.io/ https://shedskin.github.io/ Edit: wonder if the contributor John Nagle is that John Nagle...
- ecshafer 2y agoGreat work! Next step is to make your Anil compiler in Anil. Small complaint: I would rather you have the code examples as text on the github readme than as an image.
- plant-ian 2y agoI think they did that in "Bootstrap/". It is kind of confusing because the files have a .c extension. Amazing amount of work though.