3 Nov 2023
SmokeMachine thanks! 16:53
github.com/lizmat/rak/issues/3 16:56
lizmat: I'm sorry for my terrible memory, but have I ever suggested to search for AST patterns on raku code files? 16:58
lizmat not sure what you mean, could you give an example?
SmokeMachine sure: lets say I want to find everywhere where I have called the method `bla` passing the named parameters `:$ble`. It could exist a way to pattern match the AST generated for multiple code files and search for that. I started playing with AST pattern matching some time ago (I'm not suggesting using it, just an example) github.com/FCO/RakuAST-Matcher Something like what treesiter does for editors... 17:02
lizmat aaah.. so basically $file.IO.slurp.AST and then search the AST for the given condition 17:03
SmokeMachine yes... but some good way to match it... :) 17:04
lizmat hmmmm the needle could be code that translates into an AST, right? 17:06
yes, please, also an issue, please :-) 17:07
SmokeMachine That was my try on that repo... but, for example, on my example (call of method `bla` passing the named parameter `:ble`), it should be a way to accept `$a.bla: :ble`, or `$b.bla: "something", :42ble` or `Class.bla: :ble[], |c` 17:10
lizmat yeah... and the problem is that :foo :foo(True) are codegenned differently 17:11
foo => True is also different
SmokeMachine the way I was trying to do that would be passing: `ANUTHING.bla: :bla(ANITHING), ANYARGUMENTS` but I'm not sure if that's possible 17:12
lizmat so it won't be just a matter of matching classes
but some more heuristics would be neede
d
SmokeMachine yes... that's why it's hard... but I think to that be useful, that's would be required...
lizmat completely agree on the usefulness :-)
SmokeMachine but do you think that's something that would be good to Rak? 17:14
lizmat yes, it would 17:15
SmokeMachine if that's implemented, we could also implement a search for AST on every module... :) 17:16
I mean a site
lizmat rak will never be able to beat rg on performance, but it should be able to do on unique features! :-)
SmokeMachine github.com/lizmat/rak/issues/4 17:20
and maybe if it uses treesiter it could do the same for many languages as well (that's something I'not aware it any grep-like is able to do) 17:22
sorry, just fixing: `ANYTHING.bla: :bla(ANYTHING), ANYARGUMENTS` 17:24
7 Nov 2023
Geth rak/main: 7a92b2aca6 | (Elizabeth Mattijsen)++ | META6.json
Dummy commit to trigger Geth to debug IRC::Client issue
12:30
rak/main: a7c622f886 | (Elizabeth Mattijsen)++ | META6.json
Revert "Dummy commit to trigger Geth to debug IRC::Client issue"

This reverts commit 7a92b2aca6bff21ebadf92e879cb224ac072f3b3.
12:48
rak/main: 77ecab5258 | (Elizabeth Mattijsen)++ | META6.json
Revert "Revert "Dummy commit to trigger Geth to debug IRC::Client issue""

This reverts commit a7c622f8867ee051f66d84fa5288cea3937af356.
13:01
rak/main: 471e1fb9f3 | (Elizabeth Mattijsen)++ | META6.json
Revert "Revert "Revert "Dummy commit to trigger Geth to debug IRC::Client issue"""

This reverts commit 77ecab5258ed2284355c95a2c2014b85557faa34.
13:14
31 Mar 2024
SmokeMachine Good easter to every body! lizmat sorry for interrupt, but is the wexpected? usercontent.irccloud-cdn.com/file/.../image.png 20:34
1 Apr 2024
I'm asking that because I'm playing with the idea of creating a plugin for nvim's telescope for Rak usercontent.irccloud-cdn.com/file/....54.41.gif 02:56
lizmat SmokeMachine: PRs welcome: I'm not a user of --vimgrep myself, Damian Conway asked for the feature 11:04
SmokeMachine But is that expected or can be changed? 12:41
lizmat I'm not sure, actually 12:42
what happens if you disable that check? 12:43
--vimgrep is an output formatter 12:44
and only makes sense inside vim, afaik
github.com/lizmat/App-Rak/blob/mai...3388-L3389 13:03