jackdaniel changed the topic of #commonlisp to: Common Lisp, the #1=(programmable . #1#) programming language | Wiki: <https://www.cliki.net> | IRC Logs: <https://irclog.tymoon.eu/libera/%23commonlisp> | Cookbook: <https://lispcookbook.github.io/cl-cookbook> | Pastebin: <https://plaster.tymoon.eu/>
gpiero has quit [Quit: Quitting...]
gpiero has joined #commonlisp
bilegeek has joined #commonlisp
random-nick has quit [Ping timeout: 255 seconds]
robin has quit [Remote host closed the connection]
robin has joined #commonlisp
rgherdt_ has joined #commonlisp
dcb has quit [Quit: MSN Messenger 4.0.5]
Lord_of_Life has quit [Ping timeout: 272 seconds]
Lord_of_Life has joined #commonlisp
rgherdt_ has quit [Remote host closed the connection]
rgherdt_ has joined #commonlisp
rgherdt_ has quit [Remote host closed the connection]
zaemington has joined #commonlisp
zaemington has quit [Remote host closed the connection]
akoana has quit [Quit: leaving]
zaymington has quit [Quit: Sleep]
habamax has joined #commonlisp
PuercoPop has joined #commonlisp
jello_pudding has quit [Ping timeout: 260 seconds]
<doulos05> I'm having a bit of a mental block on a string parsing problem. I have a data format that I'm taking from another program, so I can't change it.
<doulos05> The format for each line which isn't a comment (marked by a #) is {chassis/exact} [model] [image filename]
<doulos05> An example would be "exact \"Centurion CNT-1D\" \"fighter/centurion.png\""
<doulos05> I have the string "Centurion CNT-1D" and I need to find the filepath immediately following it.
<doulos05> Currenly, I'm reading the whole file in via `uiop:read-file-lines and then using `(car (member search-term file-stream :test #'search))` to pull out the line containing the match.
<doulos05> Where I'm blanking is how to strip out all the quotation marks and just grab the filename from the end so I can use `merge-pathnames` to generate the full path to the image.
jello_pudding has joined #commonlisp
<mfiano> The grammar is simple and it would help to build a syntax tree of objects that can be transformed in any way you need to, rather than working with character streams all the way down
<PuercoPop> doulos05: you can strip the the quotation marks using STRING-TRIM iirc.
<mfiano> Or strings, same difference
<doulos05> mfiano: So create a struct with something like image-type image-unit and image-path, then match it
<doulos05> Or just a list by splitting on the spaces and then STRING-TRIMming the quotation marks. Ok, I think it see it now
zaymington has joined #commonlisp
cosmeve has joined #commonlisp
wonko-the-sane has joined #commonlisp
randm has quit [Remote host closed the connection]
randm has joined #commonlisp
wonko-the-sane has quit [Ping timeout: 252 seconds]
wonko-the-sane has joined #commonlisp
wonko-the-sane has quit [Client Quit]
cosmeve has quit [Read error: Connection reset by peer]
cosmeve has joined #commonlisp
wonko-the-sane has joined #commonlisp
dom2 has joined #commonlisp
shka has joined #commonlisp
tibfulv has quit [Remote host closed the connection]
tibfulv has joined #commonlisp
Pixel_Outlaw has joined #commonlisp
Algernon69 has joined #commonlisp
Algernon69 has quit [Ping timeout: 258 seconds]
wonko-the-sane has quit [Ping timeout: 252 seconds]
cosmeve has quit [Read error: Connection reset by peer]
cosmeve has joined #commonlisp
cosmeve has quit [Read error: Connection reset by peer]
cosmeve has joined #commonlisp
cosmeve has quit [Read error: Connection reset by peer]
cosmeve has joined #commonlisp
bilegeek has quit [Quit: Leaving]
wonko-the-sane has joined #commonlisp
dom2 has quit [Remote host closed the connection]
rtypo has quit [Ping timeout: 258 seconds]
Pirx has joined #commonlisp
cosmeve has quit [Read error: Connection reset by peer]
cosmeve has joined #commonlisp
overclucker has joined #commonlisp
seok66 has joined #commonlisp
igemnace has joined #commonlisp
<hayley> Oops, now I have positive LOC contributed.
<hayley> Wrong channel.
* hayley too quick on the keyboard
agm has joined #commonlisp
cosmeve has quit [Read error: Connection reset by peer]
cosmeve has joined #commonlisp
Pixel_Outlaw has quit [Quit: Leaving]
rgherdt has joined #commonlisp
ronald_ has quit [Ping timeout: 248 seconds]
ronald has quit [Ping timeout: 255 seconds]
ronald has joined #commonlisp
ronald_ has joined #commonlisp
ronald has quit [Read error: Connection reset by peer]
ronald__ has joined #commonlisp
makomo has joined #commonlisp
agm has quit [Ping timeout: 248 seconds]
cosmeve has quit [Quit: Textual IRC Client: www.textualapp.com]
wonko-the-sane has quit [Ping timeout: 252 seconds]
cosmeve has joined #commonlisp
cosmeve has quit [Client Quit]
wonko-the-sane has joined #commonlisp
_cymew_ has joined #commonlisp
azimut has quit [Ping timeout: 252 seconds]
justHaunting has quit [Quit: ZNC 1.8.2 - https://znc.in]
justache has joined #commonlisp
cosmeve has joined #commonlisp
wonko-the-sane has quit [Ping timeout: 252 seconds]
wonko-the-sane has joined #commonlisp
attila_lendvai has joined #commonlisp
anticrisis has quit [Read error: Connection reset by peer]
anticomputer has quit [Remote host closed the connection]
anticomputer_ has joined #commonlisp
thollief has joined #commonlisp
cosmeve has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pve has joined #commonlisp
mgl has joined #commonlisp
cosmeve has joined #commonlisp
pve has quit [Ping timeout: 240 seconds]
mgl has quit [Ping timeout: 255 seconds]
pve has joined #commonlisp
dino_tutter has quit [Ping timeout: 260 seconds]
makomo has quit [Ping timeout: 240 seconds]
shka has quit [Read error: Connection reset by peer]
shka has joined #commonlisp
makomo has joined #commonlisp
dino_tutter has joined #commonlisp
markb1 has quit [Ping timeout: 260 seconds]
markb1 has joined #commonlisp
random-nick has joined #commonlisp
bike has quit [Ping timeout: 258 seconds]
bike has joined #commonlisp
aliosablack has joined #commonlisp
morganw has joined #commonlisp
contrapunctus has quit [Ping timeout: 240 seconds]
contrapunctus has joined #commonlisp
seok66 has quit [Quit: Client closed]
contrapunctus has left #commonlisp [#commonlisp]
wonko-th3-sane has joined #commonlisp
wonko-the-sane has quit [Ping timeout: 252 seconds]
wonko-th3-sane has quit [Remote host closed the connection]
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
jrx has joined #commonlisp
townsfolkPravda has joined #commonlisp
tyson2 has joined #commonlisp
ronald_ has quit [Ping timeout: 240 seconds]
justache has quit [Quit: ZNC 1.8.2 - https://znc.in]
luna-is-here has joined #commonlisp
justache has joined #commonlisp
wonko-the-sane has joined #commonlisp
wonko-the-sane has quit [Remote host closed the connection]
contrapunctus has joined #commonlisp
wonko-th1-sane has joined #commonlisp
attila_lendvai has quit [Ping timeout: 240 seconds]
_cymew_ has quit [Ping timeout: 248 seconds]
rendar has quit [Quit: Leaving]
rendar has joined #commonlisp
rendar has quit [Changing host]
rendar has joined #commonlisp
karlosz has joined #commonlisp
mgl has joined #commonlisp
rgherdt has quit [Ping timeout: 240 seconds]
pequod has joined #commonlisp
rendar has quit [Ping timeout: 240 seconds]
McParen has joined #commonlisp
msavoritias has joined #commonlisp
Alfr has quit [Remote host closed the connection]
Alfr has joined #commonlisp
simendsjo has joined #commonlisp
habamax has quit [Remote host closed the connection]
rendar has joined #commonlisp
rendar has joined #commonlisp
rendar has quit [Changing host]
McParen has quit [Ping timeout: 260 seconds]
jjnkn has joined #commonlisp
igemnace has quit [Read error: Connection reset by peer]
yitzi has joined #commonlisp
ec has quit [Remote host closed the connection]
ec has joined #commonlisp
pequod has quit [Ping timeout: 260 seconds]
jrx has quit [Quit: ERC 5.4 (IRC client for GNU Emacs 28.2)]
pequod has joined #commonlisp
igemnace has joined #commonlisp
rgherdt has joined #commonlisp
luna-is-here has quit []
cosmeve has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rgherdt has quit [Remote host closed the connection]
son0p has quit [Quit: Bye]
slyrus has joined #commonlisp
cayley58 has joined #commonlisp
slyrus_ has quit [Read error: Connection reset by peer]
cayley5 has quit [Quit: Ping timeout (120 seconds)]
cayley58 is now known as cayley5
aeth has quit [Ping timeout: 240 seconds]
dino_tutter has quit [Ping timeout: 260 seconds]
aeth has joined #commonlisp
Inline has quit [Read error: Connection reset by peer]
yitzi_ has joined #commonlisp
yitzi_ has quit [Client Quit]
yitzi has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
yitzi has joined #commonlisp
Inline has joined #commonlisp
son0p has joined #commonlisp
simendsjo has quit [Ping timeout: 258 seconds]
gxt_ is now known as gxt
morganw has quit [Remote host closed the connection]
yitzi has quit [Remote host closed the connection]
tyson2 has quit [Remote host closed the connection]
rtypo has joined #commonlisp
yitzi has joined #commonlisp
Algernon69 has joined #commonlisp
cage has joined #commonlisp
epolanski has joined #commonlisp
dom2 has joined #commonlisp
LW has joined #commonlisp
son0p has quit [Remote host closed the connection]
pve has quit [Ping timeout: 240 seconds]
Catie has quit [Quit: ZNC 1.8.2 - https://znc.in]
Catie has joined #commonlisp
son0p has joined #commonlisp
pve has joined #commonlisp
splatt9990 has joined #commonlisp
townsfolkPravda has quit [Remote host closed the connection]
townsfolkPravda has joined #commonlisp
dom2 has quit [Quit: rcirc on GNU Emacs 30.0.50]
attila_lendvai has joined #commonlisp
attila_lendvai has quit [Remote host closed the connection]
tyson2 has joined #commonlisp
bjorkintosh has quit [Ping timeout: 248 seconds]
azimut has joined #commonlisp
luna-is-here has joined #commonlisp
bjorkintosh has joined #commonlisp
bjorkintosh has joined #commonlisp
bjorkintosh has quit [Changing host]
attila_lendvai has joined #commonlisp
dino_tutter has joined #commonlisp
yitzi has quit [Remote host closed the connection]
notzmv has quit [Ping timeout: 272 seconds]
amb007 has quit [Ping timeout: 272 seconds]
amb007 has joined #commonlisp
Algernon69 has quit [Ping timeout: 240 seconds]
townsfolkPravda has quit [Quit: townsfolkPravda]
tyson2 has quit [Remote host closed the connection]
notzmv has joined #commonlisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
_cymew_ has joined #commonlisp
msavoritias has quit [Remote host closed the connection]
amb007 has quit [Ping timeout: 240 seconds]
amb007 has joined #commonlisp
epolanski has quit [Quit: Connection closed for inactivity]
tyson2 has joined #commonlisp
simendsjo has joined #commonlisp
bilegeek has joined #commonlisp
Brucio-61 has quit [Remote host closed the connection]
jjnkn has quit [Quit: leaving]
notzmv has quit [Ping timeout: 258 seconds]
wonko-th1-sane has quit [Ping timeout: 252 seconds]
Brucio-61 has joined #commonlisp
cage has quit [Remote host closed the connection]
anticrisis has joined #commonlisp
dcb has joined #commonlisp
waleee has joined #commonlisp
cage has joined #commonlisp
cage has quit [Client Quit]
splatt9990 has quit [Quit: ERC 5.6-git (IRC client for GNU Emacs 30.0.50)]
LW has quit [Quit: WeeChat 3.8]
waleee has quit [Ping timeout: 255 seconds]
simendsjo has quit [Ping timeout: 240 seconds]
pfdietz has joined #commonlisp
hineios2 has quit [Quit: The Lounge - https://thelounge.chat]
waleee has joined #commonlisp
hineios2 has joined #commonlisp
hineios2 has quit [Client Quit]
notzmv has joined #commonlisp
hineios2 has joined #commonlisp
hineios2 has quit [Client Quit]
hineios2 has joined #commonlisp
tyson2 has quit [Ping timeout: 255 seconds]
jello_pudding has quit [Ping timeout: 272 seconds]
rogersm_ has quit [Quit: Leaving...]
gxt has quit [Remote host closed the connection]
gxt has joined #commonlisp
jello_pudding has joined #commonlisp
luna-is-here has quit [Ping timeout: 240 seconds]
shka has quit [Ping timeout: 260 seconds]
pequod has quit [Ping timeout: 245 seconds]
azimut has quit [Remote host closed the connection]
azimut has joined #commonlisp
epolanski has joined #commonlisp
thollief has quit [Quit: Leaving]
makomo has quit [Quit: WeeChat 4.0.4]
_cymew_ has quit [Ping timeout: 255 seconds]
notzmv has quit [Ping timeout: 240 seconds]
thuna` has quit [Remote host closed the connection]
notzmv has joined #commonlisp
tyson2 has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
tyson2 has joined #commonlisp
igemnace has quit [Remote host closed the connection]
lucasta has joined #commonlisp
ldb has joined #commonlisp
notzmv has quit [Ping timeout: 240 seconds]
luna-is-here has joined #commonlisp
triffid has quit [Remote host closed the connection]
dom2 has joined #commonlisp
habamax has joined #commonlisp
aliosablack has quit [Ping timeout: 272 seconds]
Pirx has quit [Ping timeout: 272 seconds]
pequod has joined #commonlisp
mgl has quit [Ping timeout: 264 seconds]
pequod has quit [Ping timeout: 258 seconds]
pve has quit [Quit: leaving]
bjorkintosh has quit [Quit: Leaving]
anticomputer_ has quit [Remote host closed the connection]
anticomputer has joined #commonlisp
bjorkintosh has joined #commonlisp
bjorkintosh has joined #commonlisp
bjorkintosh has quit [Changing host]
ldb has quit [Ping timeout: 240 seconds]
Gleefre has joined #commonlisp
louis77 has joined #commonlisp
dino_tutter has quit [Ping timeout: 260 seconds]
Pixel_Outlaw has joined #commonlisp
Inline has quit [Ping timeout: 272 seconds]
attila_lendvai has quit [Ping timeout: 260 seconds]
cosmeve has joined #commonlisp
ldb has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
lucasta has quit [Quit: Leaving]
flip214 has quit [Read error: Connection reset by peer]
flip214 has joined #commonlisp
PuercoPop has quit [Remote host closed the connection]
tyson2 has joined #commonlisp
Oladon has joined #commonlisp
gxt has quit [Remote host closed the connection]
gxt has joined #commonlisp
cosmeve has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]