|
|
#16 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,528
Karma: 6774048
Join Date: Nov 2009
Device: many
|
I had 3 different C++ files and their headers that I want to use in a new PrettyPrinter plugin I am creating. These Cpp files made heavy use of C++ Qt Containers along with QString QHash, etc.
First I converted TagLister.cpp/.h to its standalone TagLister.py equivalent with a single github CoPilot (Claude sonnet 4.6) command as it was the most self contained that did not pull in much support code. Then I used Claude to convert the gitee/sigil-modified XhtmlFromatParser code to python, and that also worked nicely. Then finally I gave it the PrettyPrinter.cpp.h code that relied on the TagLister and XhtmlFormatParser C++ code along with a prettyprinter.pcss file (that the user edits to change the format) and asked it to convert PrettyPrinter.cpp/.h to python making sure to use the previously created TagLister.py and XhtmlFormatParser.py. It happily did that. I added some test python code and everything works without a single change needed from what the AI code produced!! AI code development with the right AI engine like Claude 4.6 is already extremely powerful. It can do its work in the background while you move on to other things. It is even better than having a competent co-op or junior developer at your beck and call! I am 65 and feel I have about another 8 to 10 years of programming in me yet, but I now honestly believe you could use an AI like Claude to maintain a working project as big as Sigil with little extra help long before I retire from developing completely. And to think that back in the mid 1970s when I started to get into this new thing called software development that I could be replaced at it within my lifetime! Last edited by KevinH; 04-09-2026 at 04:51 PM. |
|
|
|
|
|
#17 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,185
Karma: 29626604
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Yes current LLMs work well for software maintenance. But they do need careful guidance to do things well though (in performant, normalized, maintainable, modular ways). And then when code cant be unit tested in isolation they often fail. So still some need for human oversight. But yes for things like parsing/transformation of data, they are fairly robust as long as you get them to write tests alongwith the code.
|
|
|
|
| Advert | |
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Errors Using plugins with Sigil | increase | Plugins | 3 | 03-06-2020 05:08 AM |
| Sigil Plugins! | DiapDealer | Sigil | 33 | 03-19-2016 08:18 PM |
| Sigil Plugins (for Sigil 0.7xx Alpha) | DiapDealer | Sigil | 15 | 09-27-2014 05:21 PM |
| Sigil translations: how to generate .qm from .ts? | yucca | Sigil | 8 | 04-10-2013 09:25 PM |
| Have sigil not generate inline CSS | Hellmark | Sigil | 3 | 01-27-2012 01:16 PM |