rewrite the stage2 parser to be recursive and adhere to the official grammar #1729
Labels
contributor friendly
This issue is limited in scope and/or knowledge of Zig internals.
frontend
Tokenization, parsing, AstGen, Sema, and Liveness.
standard library
This issue involves writing Zig code for the standard library.
Milestone
I'm creating this issue in case any contributors want to take a stab at it.
Now that @Hejsil created the formal grammar, and now that we know recursion is OK, there are 2 things that need to happen to
std/zig/parse.zig
:It's a fairly large project, that will probably take a couple weeks for someone who isn't already familiar with the parser to do. You can look at
src/parser.cpp
and almost directly port the code.The text was updated successfully, but these errors were encountered: