[Python-ideas] Transportable indent level markers. /// ; ; ; \\\

Oleg Broytman phd at phdru.name
Mon Dec 12 23:36:38 CET 2011


On Mon, Dec 12, 2011 at 04:07:13PM -0600, Ron Adam wrote:
>     ///   # indent level +1
>     ;;;   # indent level +0
>     \\\   # indent level -1
[skip]
>   def acc(n): /// s=n ;;; def add(i): /// nonlocal s \ 
>   ;;; s+=i ;;; return s \\\ return add

   from __future__ import brainfuck (I mean well-known esoteric
programming language)?

Oleg.
-- 
     Oleg Broytman            http://phdru.name/            phd at phdru.name
           Programmers don't die, they just GOSUB without RETURN.



More information about the Python-ideas mailing list