Live data from Hacker News

What's this programming language?

demo.nithinbekal.com

31–36 of 36 posts

Re: What's this programming language?

#31

Impressive that it doesn't just take the best guess; it also informs you of its alternative hypotheses: http://i.imgur.com/wITwa.png Update: Reading your blog post, I see that this is a wrapper around highlight.js, which is doing the language-guessing (including the second-best guess): http://softwaremaniacs.org/wiki/doku.php/highlight.js:api

In conclusion, the site is a very good idea, but highlight.js is really too bad for this kind of use. Raise a ticket on highlight.js

Re: What's this programming language?

#33
Input (Go):

-----------------------

package main

import "fmt"

func main() { fmt.Println("Hello, 世界") }

-----------------------

Response: "This looks like actionscript. It could also be haskell, though. I'm not completely sure."

FAIL

Re: What's this programming language?

#35
Doesn't seem to be familiar with factor:

  : foo ( seq -- nseq ) [ 1 + ] map ;
"This looks like ruby. It could also be lua, though. I'm not completely sure."

I would have expected a guess at forth, but I really don't think it looks like ruby...

Post reply on HN