Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(212)

Issue 3355041: code review 3355041: html: first cut at a parser. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 5 months ago by nigeltao
Modified:
14 years, 5 months ago
Reviewers:
CC:
gri, golang-dev
Visibility:
Public.

Description

html: first cut at a parser.

Patch Set 1 #

Patch Set 2 : code review 3355041: html: first cut at a parser. #

Patch Set 3 : code review 3355041: html: first cut at a parser. #

Total comments: 27

Patch Set 4 : code review 3355041: html: first cut at a parser. #

Total comments: 10

Patch Set 5 : code review 3355041: html: first cut at a parser. #

Total comments: 1

Patch Set 6 : code review 3355041: html: first cut at a parser. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+639 lines, -52 lines) Patch
M src/pkg/html/Makefile View 1 chunk +1 line, -0 lines 0 comments Download
M src/pkg/html/doc.go View 1 2 3 4 5 5 chunks +25 lines, -6 lines 0 comments Download
A src/pkg/html/parse.go View 1 2 3 4 1 chunk +414 lines, -0 lines 0 comments Download
A src/pkg/html/parse_test.go View 1 chunk +153 lines, -0 lines 0 comments Download
M src/pkg/html/token.go View 1 7 chunks +41 lines, -41 lines 0 comments Download
M src/pkg/html/token_test.go View 2 chunks +5 lines, -5 lines 0 comments Download

Messages

Total messages: 8
nigeltao
Hello golang-dev@googlegroups.com, I'd like you to review this change.
14 years, 5 months ago (2010-12-02 06:18:39 UTC) #1
nigeltao
R=gri There are many, many TODOs before this parser is good enough for the tangled ...
14 years, 5 months ago (2010-12-02 06:21:56 UTC) #2
gri
Looks pretty good. Mostly questions, and a few suggestions. http://codereview.appspot.com/3355041/diff/5001/src/pkg/html/doc.go File src/pkg/html/doc.go (right): http://codereview.appspot.com/3355041/diff/5001/src/pkg/html/doc.go#newcode72 src/pkg/html/doc.go:72: ...
14 years, 5 months ago (2010-12-02 22:11:35 UTC) #3
nigeltao
I've rewritten it to have an explicit read instead of an unread, driven by a ...
14 years, 5 months ago (2010-12-03 04:04:24 UTC) #4
gri
Some nitpicking. Regarding the error handling: It's nice that there's only one place that needs ...
14 years, 5 months ago (2010-12-04 00:13:41 UTC) #5
nigeltao
PTAL. Regarding error handling, the spec defines "parse errors" but IIUC they only terminate parsing ...
14 years, 5 months ago (2010-12-05 22:58:25 UTC) #6
gri
LGTM http://codereview.appspot.com/3355041/diff/26001/src/pkg/html/doc.go File src/pkg/html/doc.go (right): http://codereview.appspot.com/3355041/diff/26001/src/pkg/html/doc.go#newcode73 src/pkg/html/doc.go:73: the parse tree (the document element) as a ...
14 years, 5 months ago (2010-12-06 22:17:48 UTC) #7
nigeltao
14 years, 5 months ago (2010-12-07 01:02:48 UTC) #8
*** Submitted as http://code.google.com/p/go/source/detail?r=018e9434af09 ***

html: first cut at a parser.

R=gri
CC=golang-dev
http://codereview.appspot.com/3355041
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b