Much improved. So 2.0. Very wow.

Overthrow the oppressive dictatorship!

Guido rejecting your awesome syntactic proposals? He's not in charge anymore.

Annoy advocates of the category theory!

With Haskell's syntax but none of its type system, dg is the best way to make fans of static typing shut up already.

Be on the verge of progress!

Syntactic sugar is the most important thing nowadays. And don't let those Java guys tell you otherwise.

Add one more language to your résumé!

Read this awesome tutorial and tell everyone how impossibly smart you are.

It even runs on PyPy!

Got to wait for a JIT-enabled PyPy 3.3 first, though.

Seriously, what IS this?

A programming language that compiles to CPython bytecode, much like Scala compiles to JVM's. That essentially means that dg is an alternative syntax for Python 3. It allows you to use all of the existing libraries, too.

Still not convinced?

import '/sys/stdin'

IOTools = subclass object where
  #: Compute the average line length of a file.
  #: avglen :: TextIOBase -> NoneType
  avglen = staticmethod $ fd ->
    lengths = list $ map len fd
    count   = len lengths
    total   = sum lengths
    print 'Average line length:' $ if
      count > 0 => total / count
      otherwise => 0

IOTools.avglen stdin

Just download the damn thing already.

pip3 install git+

Ready to learn!