[{"data":1,"prerenderedAt":172},["ShallowReactive",2],{"project-24929993":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":28,"sentiment":29,"stance_mix":30,"scored_comments":34,"aspects":35,"strip":37,"post_text":38,"what":39,"said":71,"maker_in_thread":104,"shape":113,"grid":118,"attempts":135,"same_week":136,"maker_shows":15,"maker_hidden":164,"reader_version":165,"card":166},"24929993","Grasp","grep Clojure code using clojure.spec regexes","title","Show HN: Grasp – grep Clojure code using clojure.spec regexes","https:\u002F\u002Fgithub.com\u002Fborkdude\u002Fgrasp","github.com","Borkdude",1603976278,2020,123,8,519,3028,18,"notable","dev_tools","code search","cli",[24,21,25,26,27],"clojure","grep","clojure.spec","regex","mixed",0.308,{"positive":31,"neutral":32,"mixed":33,"critical":33},3,2,0,5,{"idea":36},{"positive":31,"critical":33},[34,33,34,31,33,33,34,31],null,{"problem":40,"audience":49,"pricing":38,"motivation":58,"time_to_build":38,"stack":62,"openness":70,"stage":70,"team_size":70},{"value":41,"source":42,"evidence":43},"Searching Clojure code structurally using spec-style regex patterns","maker",[44,46],{"id":45},"post",{"id":47,"by":11,"text":48},"24931432","I wrote a Rust \u002F tree-sitter program to detect reify usage in Clojure code a while ago: https:\u002F\u002Fgithub.com\u002Fborkdude\u002Fanalyze-reify (partially for learning Rust but also…",{"value":50,"source":51,"evidence":52},"Clojure developers","inferred",[53,57],{"id":54,"by":55,"text":56},"24931235","sitkack","This is really cool. What is your motivation for making this? Refactoring? Code Indexing, if so for academic analysis, defect detection or ? I could see this being a really nifty…",{"id":47,"by":11,"text":48},{"value":59,"source":42,"evidence":60},"Maker wanted to know how relevant reify usage is in Clojure code, extending an earlier tree-sitter reify detector",[61],{"id":47,"by":11,"text":48},[63,67],{"value":64,"source":42,"evidence":65},"Clojure",[66],{"id":47,"by":11,"text":48},{"value":26,"source":42,"evidence":68},[69],{"id":47,"by":11,"text":48},"unknown",{"praise":72,"objections":82,"requests":83,"questions":84,"alternatives":96},[73],{"value":74,"source":75,"evidence":76},"Cool, useful idea, especially for searching large code libraries","commenter",[77,78],{"id":54,"by":55,"text":56},{"id":79,"by":80,"text":81},"24931690","pgt","Whoop whoop! Borkdude delivers again. Happy to see this shipped. In 2018 I Tweeted about searching Clojure code with Spec:…",[],[],[85,89],{"value":86,"source":75,"evidence":87},"What is the motivation behind the tool (refactoring, indexing, analysis)?",[88],{"id":54,"by":55,"text":56},{"value":90,"source":75,"evidence":91},"How mature is tree-sitter-clojure compared to buggy implementations?",[92],{"id":93,"by":94,"text":95},"24932420","ievans","@Borkdude I love your project & the name! I work on a similar tool (https:\u002F\u002Fgithub.com\u002Freturntocorp\u002Fsemgrep), we've recently switched to using tree-sitter under the hood so that…",[97],{"value":98,"source":75,"evidence":99},"grape, a command-line tool to grep Clojure code",[100],{"id":101,"by":102,"text":103},"24937255","gleenn","Just saw this posted recently as well - A command-line tool to grep Clojure code. https:\u002F\u002Fgithub.com\u002Fbfontaine\u002Fgrape",{"comments":31,"answered":31,"key":105},[106,107,110],{"id":47,"text":48},{"id":108,"text":109},"24932436","Semgrep looks really interesting! I know the owner of that repo and I'll refer him to your question since he can answer this better than I can.",{"id":111,"text":112},"24936336","Response from the repo owner: it's unclear to me what exactly they rely on in tree-sitter grammars so it's hard to say whether tree-sitter-clojure would be helpful for them. i…",{"commenters":114,"max_depth":115,"maker_replies":31,"first_comment_mins":116,"lifespan_hours":117},6,4,126,10,[119,121,124,125,127,129,130,134],[54,33,34,120,55,33],"maker\u002Fpositive\u002Fidea",[47,33,33,122,11,123],"project\u002Fneutral\u002Fidea",1,[79,33,34,120,80,33],[93,33,31,126,94,33],"project\u002Fneutral\u002Fnone",[108,33,33,128,11,123],"commenter\u002Fneutral\u002Fnone",[111,33,33,126,11,123],[131,33,34,132,133,33],"24934271","project\u002Fpositive\u002Fidea","seg_lol",[101,123,31,122,102,33],[],[137,142,146,151,155,159],{"id":138,"name":139,"points":140,"category":141},"24934722","What would mechanical programming look like?",719,"languages",{"id":143,"name":144,"points":145,"category":20},"24992517","Ugliest.app",441,{"id":147,"name":148,"points":149,"category":150},"24929732","Nhost",210,"infrastructure",{"id":152,"name":153,"points":154,"category":141},"24978255","Kord",173,{"id":156,"name":157,"points":158,"category":141},"24970653","dataclassframe",122,{"id":160,"name":161,"points":162,"category":163},"24969993","Ninja Cookie",77,"security_privacy",false,"v2",{"id":167,"name":5,"line":6,"ai":164,"cat":20,"year":13,"points":14,"comments":15,"rec":28,"s":168,"top":18,"kw":169,"maker":11,"domain":10,"tier":19,"attempts":33,"strip":170,"url":9,"mix":171,"praise":74,"objection":-1,"sub":21},24929993,0.31,[24,21,25,26,27],"50530053",[31,32,33,33],1793991018215]