swiftlang/swift

[SR-339] SILParser needs grammar documentation

Open

#42,961 opened on Dec 22, 2015

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Swift (10,719 forks)batch import
compilergood first issueimprovementnfc

Repository metrics

Stars
 (69,989 stars)
PR merge metrics
 (Avg merge 8d 17h) (510 merged PRs in 30d)

Description

Previous ID SR-339
Radar None
Original Reporter @gottesmm
Type Improvement
Votes 0
Component/s Compiler
Labels Improvement, StarterBug
Assignee None
Priority Medium

md5: 5302b54da94f1f9b716db2124c316e90

Issue Description:

The SILParser is a recursive descent parser. In general when one implements a recursive descent parser, one should above the routine that does the various parts of the parsing show the grammar being parsed. SILParser has inconsistently done this. I would go through all of the methods and see which are missing this documentation and fix the documentation.

Contributor guide