lagash has quit [Ping timeout: 264 seconds]
lagash has joined #picolisp
<
abu[m]>
Yeah, 'match' recurses on parts of the argument list. One way around might be increasing the stack size with "ulimit -s unlimited" in .bashrc
<
abu[m]>
kced: What is your use case?
<
tankf33der>
i gonna spent time for toml parser
<
aw->
tankf33der: cool
beneroth has joined #picolisp
beneroth_ has joined #picolisp
beneroth has quit [Read error: Connection reset by peer]
beneroth__ has joined #picolisp
beneroth_ has quit [Ping timeout: 252 seconds]
beneroth__ has quit [Quit: Leaving]
<
kced>
I was using it as a quick and dirty solution to parse HTML
<
kced>
The list was a list of characters of an HTML page
<
abu[m]>
I see, yes, 'match' is not very useful for that.
<
abu[m]>
I would do it similar to @lib/xm.l
<
abu[m]>
Basically the '_xml' function
<
kced>
Ah I missed that
<
abu[m]>
Reading the whole page into a list first is a huge overhead
<
kced>
Yeah, I was trying to find/parse a specific tag
<
abu[m]>
This can be done even simpler and
*very* efficiently with 'from'
<
kced>
Does (xml) read from the FD?
<
abu[m]>
yes, as always, current input stream
<
abu[m]>
Sorry, must go, bbl
seninha has joined #picolisp
seninha has quit [Remote host closed the connection]
seninha has joined #picolisp
<
abu[m]>
I think xm.l is ok here, but 'from' is better
<
abu[m]>
Not tested: (make (while (from "<Student Name=\"") (link (till "\"" T]
<
abu[m]>
Or 'printll' instead of make/link
seninha has left #picolisp [Leaving]
kced has quit [Remote host closed the connection]
kced has joined #picolisp
LoopyCandy has joined #picolisp
LoopyCandy has quit [Ping timeout: 252 seconds]