kiddico / strang

A stringy class that thinks it can do algebraic operations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Strang

Strang is a stringy library that supports (some) algebraic operations.

Originally the goal was to make the old style format strings as confusing as possible. For instance:

'this is %s' % 'strang'

would normally evaluate to "this is strang", but if the first string was a strang string the modulo of the first string by the second would be returned.

What?

Seeing as there's no precedent for how mathmatical operations on strings should work (other than add/concatenate) the semantics of each operation is up for liberal interpretation.

Why?

You clearly don't know me very well.

* Strang is in no way associated with Gilbert Strang. Unless he wants it to be. In which case hmu Gilbert.

About

A stringy class that thinks it can do algebraic operations


Languages

Language:Python 100.0%