IRC channel logs

2013-08-25.log

back to list of logs

<aidalgol>ijp: Check out cunning bot.
<ijp>I see 'housekeeping' and 'add repl'
<aidalgol>The REPL is what I'm pointing out.
<aidalgol>Where's the most recent version of your DDG script?
<aidalgol>er, client... thingy
<aidalgol>Who let SHODAN in here?!!
<ijp>I've put it up on github, though the only difference is a docstring
<aidalgol>cool, thanks!
***chaos_ is now known as Chaos`Eternal
***sneek_ is now known as sneek
<amz3>regex doesn't support utf-8, does it ?
<mark_weaver>does this question relate to Guile? afaik, Guile's regexp procedures should work on arbitrary strings.
<mark_weaver>UTF-8 actually has special properties that make it work very well for regexps and other string operations. in practice, most operations can be done byte-wise.
<amz3>yes it's related to guile
<amz3>then I made a mistake in my program
<amz3>I don't always talk OT ;)
<mark_weaver>that's fine
<mark_weaver>I didn't mean to say "if this is not about Guile, don't talk about it here".
<mark_weaver>I asked only because I wanted to understand the question.
<mark_weaver>what platform are you on?
<mark_weaver>guile uses the system regex library, so I suppose the answer to your question might depend on what system you're on.
*mark_weaver tries it
<amz3>debian sid
<mark_weaver>what did you try to do that failed?
<mark_weaver>are you using a UTF-8 locale?
<mark_weaver>simple tests with non-ASCII chars work for me, e.g. (string-match "[λy]" "this is a λ test") => #("this is a λ test" (10 . 11))
<amz3>Ok i got it wrong because I used "[a-z]+" as a matching pattern
<mark_weaver>I'm using debian wheezy
<mark_weaver>okay
<stis>evening folks!
<mark_weaver>hi stis!
***ijp` is now known as ijp
<stis>mark_weaver: how goes with the rtl compiler?
<mark_weaver>a lot of stuff works now, but there are no doubt many remaining bugs. and prompts don't yet work.
<mark_weaver>and there are also some important optimization passes missing from the RTL compiler.
<mark_weaver>but it successfully runs my continued fractions arithmetic code (a work in progress), which I can use to compute infinite streams of digits of many irrational numbers.
<stis>cool!
<mark_weaver>if you want to play with it, build the 'wip-cps-bis' branch, and then do: (begin (use-modules (system base compile) (system vm objcode)) (define (run-rtl x) ((load-thunk-from-memory (compile x #:env (current-module) #:to 'rtl)))))
<mark_weaver>and then things like (run-rtl '(define (foo x) (+ x y)))
<mark_weaver>gotta go afk for a while... have fun!
<stis>I will :-)
<mark_weaver>(even on that branch, the stack VM is still used by default)