I don't know of one off hand, but I believe RacketCon 2018 (?)
included a presenter that showed a PostScript-like DSL for
designers and artists. If pict not cover your needs, maybe dig
into the presentations?
Failing that, can you show what you'd hope the syntax would look
like? That would probably help point you in the right direction,
I have to do a bunch of .jpg and .png image resizings and was looking for a programmatic way to do it. Is their a Racket DSL for this? --
You received this message because you are subscribed to the Google Groups "Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to racket-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/0d576c32-7d4d-4944-9cbc-c12f04406fccn%40googlegroups.com.
-- ~slg
-- ~slg --
You received this message because you are subscribed to the Google Groups "Racket Users" group.To unsubscribe from this group and stop receiving emails from it, send an email to racket-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/6e3aacdc-015b-2484-3bee-0c08e3fb612d%40sagegerard.com.
I hope that has what Robert is looking for, but I don't recognize that speech. In fact, I have a false memory, because I'm not finding the speech I'm looking for on https://con.racket-lang.org/2018/#speakers
To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/1620742795-01b81de5d6862fd390ec60605ee3bc9d%40pckswarms.ch.
-- ~slg
To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/404c8fad-befc-4b01-8728-48ce9b912117%40mtasv.net.
To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/9266c91c-83a6-4d78-95c0-d70c29e4b4e3n%40googlegroups.com.
On 5/12/21, Robert Haisfield <roberthh...@gmail.com> wrote:
> Daniel, that's awesome. How would I filter down this list according to the
> regex?
>
> (define list-of-files (map path->string (directory-list starting-path)))
You can wrap it in a filter:
(define list-of-files (filter (lambda (str) (regexp-match? "\\.png$"
str)) (map path->string (directory-list starting-path))))