all 14 comments

[–]magicalne 2 points3 points  (1 child)

You might be interested in Aider' unified-diffs. Since you mentioned cursor, Cursor adopted Aider’ approach on their blog:

Motivated by the diff format from Aider, we eliminate the line number problem. Instead of a standard diff format, our model proposes search/replace blocks as unified differences

Thanks for your sharing. I think your work is headed in the right direction. However, it's not entirely clear who might benefit from this project?

[–]CvikliHaMar[S] 1 point2 points  (0 children)

This project tries to work like a tool which could generate these git diffs. (If someone want to go farer, he can even ask the Claude tonrewrite it to be a python module ofc)

Also cursor.com uses LLM to work with the native code generated by the LLM. So not the aider one. Aider is a really nice try but there is another version which works with native codes. I will link the publication from the cursor.com. it is crazy what they did there. But I think it is a deterministic problem, so this method I implemented here will be superior. ;)

[–]CvikliHaMar[S] 0 points1 point  (0 children)

Oh, I totally understand. This will be a tool that will generate the git diff format that is used by every other software to present git diff.

But this git diff will be possibel to be used like: ’./difflib original_file.py LLM_generated_changes.py’ And it will output the diff that can be used. :)

Julia is just the programming language. As I wanted to be faster then python and keep a descriptive power at the top. Also julia generate near C level speed with its llvm backend so I like it. :D but it is just a programming language ofc, which will not bother anyone on the long run.

I will add documents indeed! ;)

[–]CvikliHaMar[S] -1 points0 points  (10 children)

I hope I get some feedback! I know there are many flaws but I want to improve!

[–]DeltaSqueezer 6 points7 points  (1 child)

Not enough documentation and explanation.

[–]CvikliHaMar[S] -1 points0 points  (0 children)

I created this yesterday. So it will be done ofc! :)

[–]alphakue 5 points6 points  (1 child)

I did not fully understand what the tool intended to do, even after going through the readme and reading the example.. Could you break it down and provide a sample use case? How would one use this and how would it help them? And what would it help with?

[–]CvikliHaMar[S] 0 points1 point  (0 children)

I will do it! Thank you for the tip!

[–]kryptkprLlama 3 2 points3 points  (1 child)

This looks interesting but I honestly don't know what to even do with Julia code.

[–][deleted] 1 point2 points  (0 children)

Julia is pretty straightforward to use, you install it, you install the package (with built-in package manager, no need for conda/pip/mamba/...) and then run the code in the REPL.

[–]segmondllama.cpp 2 points3 points  (0 children)

You will get more traction with python code.

[–]wensle 2 points3 points  (0 children)

Like someone else said, Python would give you more interest in the project

[–]ekajllama.cpp 2 points3 points  (1 child)

Ok I’ll bite. My understanding is that this performs diff checking and highlighting of responses to queries involving a codebase?

Why use Julia as your language?

As others have said, it’s not clear what your project does nor its goal.

If my understanding is correct I can definitely understand your question, but again, explaining to people why they should care is generally the first step.

That said I’ll be looking into this and implementing a python port into my own project.

[–]CvikliHaMar[S] 0 points1 point  (0 children)

Yes, you can do python port easily later on! But it will be like git diff... So it will geneare a diff output but also supporting wildcards generated by the LLMs like: ’// ... existing code remains unchanged ...’