Hi

On Tue, 21 Feb 2012 14:40:52 -0600 (CST), Roy Stogner 
<royst...@ices.utexas.edu> wrote:
> For instance, after discovering that ',' made a lousy delimiter
> between vector components (at least if you don't want to also
> inadvertently disable non-unary functions) in my first version, I'm
> now discovering that '#' makes a lousy delimiter too (at least if you
> don't want hairy interactions with GetPot comments).
> 
> At this point I'm leaning towards hideous syntax like:
> 
> function_list = '0 {1} {cos(x)}{sin(y)}'
> 
> for putting lists of functions (in this case: two scalar-valued, braces
> optional; one vector-valued) into GetPot.  And best not to let any
> spaces slip into your functions, because GetPot doesn't skip even
> quoted spaces as a vector-of-strings delimiter...

That's an awful syntax. Why not simply fix getpot to keep spaces within
strings, and enhance it to accept something like '''triple quoted strings'''
(which go unparsed) in Python?

Martin


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Libmesh-devel mailing list
Libmesh-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to