[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Lout and prg2lout : mixing code and filled text in Python
From: |
Jeff Kingston |
Subject: |
Lout and prg2lout : mixing code and filled text in Python |
Date: |
Fri, 22 Nov 2002 10:17:23 +1100 |
Fixed for next release. I discovered that Lout escape comments for Python
(beginning, by analogy with the other languages, with #@) had been left out
of prg2lout by mistake. After adding them I was able to get this to work
without any problems:
@ID @Python {
import Html;
#@@ID ragged @Break {
address@hidden is pretty clever -- it's a long sequence of lines which
address@hidden on the fact that escape comments are passed through
#@@I prg2lout absolutely raw, and hence multiple lines of them
address@hidden be given provided the whole assembly makes sense.
address@hidden
}
This same arrangement works in any language. I've documented it,
including why it has to be done this way, in the relevant section
of the User's Guide.
Jeff Kingston
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Lout and prg2lout : mixing code and filled text in Python,
Jeff Kingston <=