HN user

ArneCode

6 karma

Hi! I am Arne, a 20 year old programmer from Germany. Currently studying at Karlsruhe Institute of Technology. Interested in parsing and algorithms.

Posts2
Comments12
View on HN

they propably have a lot of training data from their users, which might be useful for SpaceX which has a lot of compute

Hello everyone!

I am the author of marser, a parser-combinator library in rust.

I have tried outlining the reasons for writing this library in this blog post: https://blog.arnedebo.com/posts/a-grammar-first-approach-to-...

The main aim of the library is to make parsers readable and understandable by enabling users to write code that resembles formal grammars / ebnf (more on that in the blog post). It also has additional features like error recovery, custom error diagnostics and a TUI for debugging the parsers.

This is my first library, so I would really appreciate some feedback on design decisions / usability etc.

Disclaimer: I have used AI for parts of the documentation, for some of the macro code and things like the TUI viewer but the core parsing code has been written by me.

I think there are costs beyond having to sacrifice writing code yourself. When prototyping yourself you learn a lot about the problem, see what design decisions lead to what tradeofs. While you write code your brain is always running in the background, giving you thoughts about how things could break, where the structure could be simplified, where the code could be extended. I feel this is lost or at least reduced a lot when an LLM writes code because you have a lot less contact with the software.