Get the latest tech news

Why I love Rust for tokenising and parsing


Macros, iterators, patterns, error handling and match make Rust almost perfect

Furthermore, I want to be able to show the user high quality error messages with context, explainations and the ability to mute certain diagnostics. The failing tests check wheter the parser correctly asserts the conditions the sql standard lays out, see sqlite - sql-stmt. I know you aren’t supposed to use unwrap and all derivates, however in this situation the parser either way does not accept empty strings as valid numbers, thus it will fail either way on the default value.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Rust

Rust

Related news:

News photo

Bringing Faster Exceptions to Rust

News photo

Show HN: Whirlwind – Async concurrent hashmap for Rust

News photo

PropelAuth (YC W22) is hiring Fullstack and Rust engineers