ArneCode

Joined 5 months ago

Karma
24
Submissions
19
Member since
May 31
Hi! I am Arne, a 21 year old programmer from Germany. Currently studying at Karlsruhe Institute of Technology. Interested in parsing and algorithms.
View on Hacker News

Recent submissions

Comment · 12 days ago
I think parser generators and parser combinators both have their advantages and disadvantages. For example with parser combinators you can use the already existing tools of the language. If you want the specific advantages of parser combinators, this could be a reason for not wanting to mix this.
Comment · 13 days ago
In this case yes, but I would argue this is because the roll grammar is a relatively simple grammar, you have no nesting of different combinators etc. (I have used it in the README because it is simple to understand). The winnow code also using seperated_pair to ignore the "d" value, which is also adding some logic to retain only the count and sides result.

One grammar I have been using to make a comparison is a function signature. I tried comparing with nom and chumsky: https://blog.arnedebo.com/posts/a-grammar-first-approach-to-...

These libraries have found ways to replace "unwrapping" code with combinators like separated_by or .ignore_then etc. but this still leaves a lot of code for result handling, in my opinon making the code harder to read and reason about, which is what I attempt to improve.

These are of course very subjective things, so another person might prefer the ways the other libraries do this.

Comment · 13 days ago
Comment · 13 days ago
Comment · 4 months ago
Comment · 4 months ago
Comment · 4 months ago
I use it because their pro plan is free for students
Comment · 4 months ago
they propably have a lot of training data from their users, which might be useful for SpaceX which has a lot of compute
Comment · 4 months ago
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.

Comment · 4 months ago
Works for me
Comment · 5 months ago
Interesting!

Would be nice to have a way to tell the scan that some parts are intentional, like #[allow(...)] in rust

Comment · 5 months ago
I remember being able to have unlimited Claude opus queries on the free student plan, they must have had to change something to not loose too much koney
Comment · 5 months ago
Ok, that's cool

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton