Danny Freeman

Results 51 comments of Danny Freeman
trafficstars

@sogaiu, I noticed the comment in the issue branch for `regex_lit`. I spent most of yesterday working on the grammar and added this in. ``` regex_lit: $ => seq(field('marker', "#"),...

This issue is resolved as of 7732550fa001c334dd99bea80f0ef6e397197a76 !!!

I think maintaining two branches for the different versions wouldn't be all that bad (I would be happy to do that work). It might be worth upgrading after https://github.com/sogaiu/tree-sitter-clojure/pull/31 is...

> > Mergeable Git Repos - Make it easier to collaborate on grammars by removing generated files from version control. > That's from the https://github.com/tree-sitter/tree-sitter/issues/930 though so perhaps it won't...

Thanks for your reply Sean. > This made me check our codebase at work (~140k lines) and we have ~5,500 threading macro uses and just 16 of them have the...

Instead of including a version tag in the generated C code, would embedding a timestamp in the generated C be easier to swallow? It doesn't have the same problems of...

> I would follow how nvim-treesitter does it for emacs, to have a lockfile of grammar revisions of sorts and use a CI action to auto-update them and see if...

> No, sorry, that's not good enough, since grammars can -- and do -- make multiple breaking changes per day. LuaJIT works around this with a "seconds since epoch" timestamp,...

> Ah, I see. Yes, there's a definite push for that, but it's just not workable given the state of things; we push back hard on that, and our strategy...

I don't know much about this jank project, at a glance it sounds very neat. Are there any new syntax constructs in jank that aren't present in Clojure apart of...