(begin of a perhaps funny speculation)
Would be funny to make this lexical
rule more orthogonal, and allow to use it outside strings:
procedure main()
wri_
te("el perro de san roque no tiene_
rabo")
end
in that way, the rule would be a lexical general rule. Of course
would be necessary to forbid "_" to appear in the end of a literal
identifier.
(end of the speculation)
Personally, for thinks as SQL embedding, i would prefer to use
a preprocessor (of course also written in Icon!) to the sources, to
write something like:
query := __verbatim_to_string$
SELECT
f1,
f2,
f3,
f4
FROM
table1,
table2
WHERE
table1.id = table2.id $
Note that the '$' character delimiting the verbatim could be
any ASCII character that does not appear into the environment (TECO used that
form of delimitation, because any ASCII was a valid TECO string
constituent).
Perhaps to write a general purpose meta-ASCII preprocessor would be
a useful tarea.
Or perhaps not :)
--
--
Jose E. Marchesi <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
GNU Spain http://es.gnu.org
GNUs Not Unix! http://www.gnu.org
--
"And if cynics ridicule freedom, ridicule community... if 'hard nosed
realists' say that profit is the only ideal...just ignore them, and
use copyleft all the same." -- RMS
---
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Unicon-group mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unicon-group