IRC channel logs

2023-11-07.log

back to list of logs

<apteryx>hm, I'm trying to run the compiler.test alone; how do I do that?
<apteryx>I thought './meta/guile -L test-suite test-suite/tests/compiler.test' should work, but I get: no code for module (test-suite lib)
<apteryx>this works: ./meta/guile -L $PWD/test-suite -L . test-suite/tests/compiler.test
<apteryx>s,$PWD/,,
<apteryx>is there a simple API to get the source file mapping from a .go file?
<apteryx>brute force way: (system "strings hello.go | grep -q '^hello.scm$'")
<apteryx>works in the context of my test
<dsmith>apteryx, re source name from a .go file, wingo would know.
<mwette>apteryx: not clean, but https://paste.debian.net/1297464/
<sneek>Welcome back mwette, you have 1 message!
<sneek>mwette, apteryx says: whippet reminds me of that grand-parents' favorite: https://us-browse.startpage.com/av/anon-image?piurl=https%3A%2F%2Fwww.darefoodsus.com%2Fwp-content%2Fuploads%2F2021%2F08%2FWhippet_Original_250g_US.jpg&sp=1699035235Tc72ea1025efb7c2c37665f68993d8a230a578ced965519e09656d2e45686b756
<mwette>also: https://github.com/mwette/guile-jtd/blob/425f86ae954d6445aaedacfd4ecd50aa0022e59d/jtd.scm#L155
<mwette>^ I think there is a functino in system/base/compile.scm to do the same to find full path