On Sun, Mar 2, 2014 at 8:51 PM, Michele La Monaca
mikele.chic...@lamonaca.net wrote:
While writing my own version of irregex-replace can be (hopefully) an
enjoyable
6-line coding experience (btw, irregex-apply-match is not documented):
Oops, thanks, I'll document it.
(define
On 02/03/14 17:27, John Cowan wrote:
Daniel Carrera scripsit:
Does that apply to other languages like Python?
Python does not work in the Chicken interpreter either. :-) (Though in
principle one could write a Python egg using the Python/C API.)
There's slightly more to it than this,
On 3 March 2014 17:57, Alaric Snell-Pym ala...@snell-pym.org.uk wrote:
Python does not work in the Chicken interpreter either. :-) (Though in
principle one could write a Python egg using the Python/C API.)
There's slightly more to it than this, however.
The FFI only works in compiled
On 03/03/14 17:10, Daniel Carrera wrote:
I guess I'll continue playing with both Chicken and Racket until I know
enough to form a preference.
Depending on what kind of code you want to write, you can do a lot in
the language they have in common and then run the same code in whatever
Alaric Snell-Pym scripsit:
Depending on what kind of code you want to write, you can do a lot in
the language they have in common and then run the same code in whatever
environment best suits your current activity...
Indeed.
The Schemer with just one Scheme is not the true Schemer.
That
(define (my-own-irregex-replace irx s . o)
(let ((m (irregex-search irx s)))
(and m (string-append
(substring s 0 (irregex-match-start-index m 0))
(apply string-append (reverse (irregex-apply-match m o)))
(substring s (irregex-match-end-index m 0)