Live data from Hacker News

What's That Programming Language?

wtpl.heroku.com

91–100 of 107 posts

Re: What's That Programming Language?

#93

I feel this could do with an Easy/Medium/Hard option. I've been programming for about 30 years and I can honestly say I've never heard of Falcon or Piet.

I used Falcon for a very short time about a year and a half ago yet I got it wrong... OT: Falcon is actually a pretty interesting little language.

Great, what I need right now is not to get into another language... Seriously though, thanks for the tip, it does look pretty interesting.

Re: What's That Programming Language?

#94
It's not funny that languages such as Joy, AppleScript and Hypercard don't even autocomplete but haXe and xpath do. I was going to suggest putting in all names from "http://hopl.murdoch.edu.au/ - "An interactive roster of programming languages" which used to list over 5000 iirc, but that site is now down! :(

Re: What's That Programming Language?

#95

It's not funny that languages such as Joy, AppleScript and Hypercard don't even autocomplete but haXe and xpath do. I was going to suggest putting in all names from " http://hopl.murdoch.edu.au/ - "An interactive roster of programming languages" which used to list over 5000 iirc, but that site is now down! :(

Populating the list with answers that are irrelevant almost 99% of the time would be downright cruel.

Re: What's That Programming Language?

#96

I thought this was going to be a tool where you paste in some code and it tells you which programming languages it could be written in. It would be interesting to see how much code you need to be able to accurately identify the language.

Besides certain languages with special keywords, the easiest way would be to send it through syntax checkers iteratively. You could probably have generic "C-style" and "common lisp style" types of checks, then you would have to actually look at api commands. The latter method would be rather problematic.

This is basically what highlight.js does indeed :-)

Re: What's That Programming Language?

#97

I thought this was going to be a tool where you paste in some code and it tells you which programming languages it could be written in. It would be interesting to see how much code you need to be able to accurately identify the language.

Maybe there's another page where you can submit the samples and this is the presentation/identification ;-)

Re: What's That Programming Language?

#99
post #31

I thought this was going to be a tool where you paste in some code and it tells you which programming languages it could be written in. It would be interesting to see how much code you need to be able to accurately identify the language.

I second that. I'd also love to see a tool which would allow you to provide a binary and tell you what built it.

TrID[1] has a number of definitions for various executable files, but it's designed for general-purpose file format identification. PEiD[2] is built specifically for identifying packers, compilers, etc. for PE files, and should therefore be able to identify a far wider array of them (the site claims it detects over 600 PE signatures), but I've never done any checking myself, and the project unfortunately seems to be discontinued.

[1] http://mark0.net/soft-trid-e.html [2] http://www.peid.info/

Re: What's That Programming Language?

#100
post #58

That was surprising: http://en.wikipedia.org/wiki/Chef_(programming_language)

I was totally surprised to see that on there too! I love the creator's webcomics too, in high school they were my first introduction to several science/math concepts (the square-cube law and cryptography to name a few).

http://www.irregularwebcomic.net/

Post reply on HN