[gambit-list] format & regex

Alex Shinn alexshinn at gmail.com
Thu Feb 5 01:55:10 EST 2009


lowly coder <lowlycoder at huoyanjinjing.com> writes:

> 1) sed/awk/grep/perl
>   if possible, i'd like to use gambit for these type of apps instead (being
> slower is fine; i just want everything in scheme for now) -- is there a good
> way to do regex matching in gambit?

http://synthcode.com/scheme/irregex/

> 2) fprintf/format
>   pp and display are cool -- but sometimes, I really really want control over
> my output; how is this generally done in gambit? things like "print this
> number with 8 chars width, 3 digits after the decimal point" seems kind of
> hard to phrase

http://synthcode.com/scheme/fmt/

Both are fully portable R5RS Scheme and much more flexible
than the standard alternatives.

-- 
Alex



More information about the Gambit-list mailing list