3 ms·
Go to http://hyperpolyglot.org/ http://hyperpolyglot.org/ directly. Included there: Scripting Languages: PHP, Perl, Python, Ruby Embeddable La
by snprbob86 15y ago
Go to http://hyperpolyglot.org/ http://hyperpolyglot.org/ directly.
Included there:
Scripting Languages: PHP, Perl, Python, Ruby
Embeddable Languages: Tcl, Lua, JavaScript, Io
Shell Languages: Bash, Zsh, AppleScript, PowerShell
C Style Languages: C, C++, Objective C, Java, C#
Pascal Style Languages: Pascal, Ada, PL/SQL, SQL/PSM
Lisp Dialects: Common Lisp, Scheme, Clojure, Emacs Lisp
Type Inference Languages: Standard ML, OCaml, Scala, Haskell
Declarative Languages: Prolog, Erlang, Oz
Concatenative Languages: Forth, PostScript, Factor
Computer Algebra Software: Mathematica, Sage, Maxima
Numerical Analysis Software: MATLAB, R
- polynomial 15y agoI would have liked for Go to have been included, (C style languages) not to mention Smalltalk.
- enneff 15y agoI'd like to add Go, but I have a couple of reservations. First, I can't edit the page. Second, the list of features in each table is so specific. Go has a lot that the C-like languages in that table don't and vice versa. It seems there aren't enough axes along which to adequately compare.
- prodigal_erik 15y agoSmalltalk definitely belongs on the list, it's the only one that takes "object-oriented" to its logical conclusion (dispatch can replace control structures). I'd suggest omitting Elisp and ObjC—they're both lackluster imitations of better languages that will do far more for the way you think, unless you happen to be developing for their captive platform (Emacs and iOS, respectively).
- zem 15y ago> Smalltalk definitely belongs on the list, it's the only one that takes "object-oriented" to its logical conclusion (dispatch can replace control structures). i believe io does this as well.
- Volpe 15y agoUnless I misunderstand what you mean, don't a host of languages do this? io, ruby, javascript?
- draegtun 15y agoRuby & Javascript have syntax defined in their parsers for control structures. for eg: # Ruby if someThing() doThis() else doThisInstead() end # Javascript/Perl/etc if (someThing()) { doThis() } else { doThisInstead() } Whereas Io & Smalltalk requires no new syntax and uses objects & messages: # Io if(someThing, doThis, doThisInstead) # Io like Ruby,etc if(something) then(doThis) else(doThisInstead) # Io like Smalltalk someThing ifTrue(doThis) ifFalse(doThisInstead) # Smaltalk someThing ifTrue: [doThis] ifFalse: [doThisInstead].
- eru 15y agoAs an aside, Haskell wouldn't need syntax for something like `if', but has it as a convenience. There's no syntax for looping, you can do that with higher-order functions.
- belial 15y ago> "it's the only one that takes object-oriented to its logical conclusion"... Can you elaborate more on what you mean by that?
- draegtun 15y agoI'm pretty sure it use to have Smalltalk on there when I last looked. Its been updated a bit so must of got removed :(
- gfodor 15y agoAh didn't notice that. This site suddenly got a whole lot more awesome :)