GCYou are absolutely correct! It would be better to check the length of the token queue before trying to emit new tokens. I edited the code accordinglyReply·Article·Aug 3, 2025·Build a Compiler from Scratch, Part 1.1: A Hello World of sorts
GCIt’s fixed, thanks a lot for the report!Reply·Article·Dec 26, 2024·Build your own SQLite, Part 3: SQL parsing 101
GCThanks a lot, Part 2 is in the works!Reply·Article·Aug 18, 2024·Build your own SQLite, Part 1: Listing tables
GCThanks for your kind words!Reply·Article·Jul 24, 2024·Build your own SQLite, Part 1: Listing tables
GCAbsolutely! The next parts will focus on the implementation of « SELECT », including building a small parser for SQL commands.Reply·Article·Jul 24, 2024·Build your own SQLite, Part 1: Listing tables
GCHi Russ, Thanks a lot for your interest ! As the project is still very much in it's infancy, the doc is in the works, but it should be online in the coming days. I'll make sure to keep you posted !Reply·Article·Aug 11, 2022·Building a JSON validator with Sylver - Part1/3 : Writing a JSON parser in 49 lines of code