News for hackers. Stuff that matters.
Re:Writing a SQL database from scratch in Go by papaf on Monday April 13, 2020 @03:22AM (#22853810)
which is a parser combinator library, and it was way easier

I like parser combinators but a word of warning.

A lot of parser combinators (not all) have problems with recursive grammar such as Json and SQL [1].

For instance, a JSON map can contain a JSON map and this can lead to stack overflows when defining the grammar.

[1] https://fsharpforfunandprofit.com/posts/understanding-parser...

Re:Writing a SQL database from scratch in Go by throwlaplace on Monday April 13, 2020 @10:30AM (#22856139)
thanks for the link will take a look. like i said i don't have that much experience.