Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This sounds like a job for middleware. Condensing split code into a single huge file, shortening comments, removing whitespace and such can be done by a preprocessor for the llm.


So now we need an llmpack like we did webpack? Could it be smart enough to truncate comments, white space, etc?


You dont even need an llm for trimming whitespace, just a smart parser with language rules like ide code checkers already use. Existing llms are fine at summarizing comments, especially with language specific grammar constraints.


My point. We don’t need the middleware.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: