All the talk on parsers is probably something I'm going to need when l get 
around to working on the following proposal to make Python a even better 
teaching language for programming.

I check out different editors all the time, and the one that inspires ithis is 
called jGrasp, (I even mentioned it on here before). It's written in Java and 
only recently added support for Python. The feature I'm trying talking about is 
CSD, control structure diagrams, a decoration of the code using 3 columns to 
the left of the text plus the white space of indented lines replaced by glphs 
that show control flow.

Now this has to be computed and added to the code then stripped when ever you 
save your code,and I suspect this is something that one of these parsers could 
handle. 

But if we add these glphs to our programming font, (a utf-8 one, in the code 
lock for application use say), we can compile Python with these characters told 
to be treated as whitespace and as a consequence allow the decorated code be 
perfectly runnable -- (this is the proposal).

I'll include a picture of a CSD.
In the next post.

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/6db27c11-3328-4765-96e7-da9c5f6ea7a1%40googlegroups.com.

Reply via email to