On Fri, Mar 07, 2008 at 01:12:06PM -0800, Kon Lovett wrote:
>
> On Mar 7, 2008, at 9:08 AM, Robin Lee Powell wrote:
>
>>
>> I'd like to define my own %[...%] sort of formatter using
>> format-modular, but it seems to be impossible without copying most
>> of the egg into my own code!  Could this be added as a general
>> feature?
>
> No quite sure what you mean. Is '%' to be the escape character,
> instead of '~'? This is possible but you would need to override
> the  "*formatter-cond*" to provide new semantics. And all format
> codes would need to use '%' as the escape.
>
> Or are you asking for a user defined multi-character escape+code
> sequence that would coexist with the default escape+code
> sequences? I  suppose this could be done but would require some
> surgery.

I don't think I'm asking for either of those, but I'm not sure.

I'm asking how to do before-and-after escape sequences, like
~[...~] or ~(...~), but with my own code behind them.

-Robin

-- 
Lojban Reason #17: http://en.wikipedia.org/wiki/Buffalo_buffalo
Proud Supporter of the Singularity Institute - http://singinst.org/
http://www.digitalkingdom.org/~rlpowell/ *** http://www.lojban.org/


_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to