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

In my lifetime parsers have gone from: written by hand with great effort, to: use a parser generator to be sure the grammar is correct and save effort, to: just write by hand because it's not that hard and error reporting, to: just use AI.


Out of curiosity, have you had luck using LLMs for parser generation? I should really try it out with my parser combinator library; would be cool to be able to throw in sample code and some basic instructions and get a usable parser out for prototyping. Think I might try that next time I build a new language, just for fun.


> just use AI

I suspect you might spend more time trying to specify what you want to the AI than just writing it.




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

Search: