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

Issue 4629053: code review 4629053: First cut at the parser for the new template package. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 11 months ago by r
Modified:
13 years, 11 months ago
Reviewers:
CC:
rsc, golang-dev
Visibility:
Public.

Description

First cut at the parser for the new template package. This is not a full grammar, but the pieces are there to implement whatever we converge on.

Patch Set 1 #

Patch Set 2 : diff -r ff04812c6feb https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r ff04812c6feb https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r a30da34972bf https://go.googlecode.com/hg/ #

Total comments: 19

Patch Set 5 : diff -r acba2aaede28 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+823 lines, -55 lines) Patch
M src/pkg/exp/template/Makefile View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/pkg/exp/template/lex.go View 1 2 3 11 chunks +96 lines, -25 lines 0 comments Download
M src/pkg/exp/template/lex_test.go View 1 2 3 5 chunks +33 lines, -30 lines 0 comments Download
A src/pkg/exp/template/parse.go View 1 2 3 4 1 chunk +518 lines, -0 lines 0 comments Download
A src/pkg/exp/template/parse_test.go View 1 2 3 1 chunk +175 lines, -0 lines 0 comments Download

Messages

Total messages: 4
r
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 11 months ago (2011-06-22 05:18:58 UTC) #1
rsc
LGTM i have some qualms about merging if and for but they can wait. http://codereview.appspot.com/4629053/diff/6006/src/pkg/exp/template/parse.go ...
13 years, 11 months ago (2011-06-22 23:12:20 UTC) #2
r
http://codereview.appspot.com/4629053/diff/6006/src/pkg/exp/template/parse.go File src/pkg/exp/template/parse.go (right): http://codereview.appspot.com/4629053/diff/6006/src/pkg/exp/template/parse.go#newcode85 src/pkg/exp/template/parse.go:85: return &listNode{nodeType: nodeText} On 2011/06/22 23:12:20, rsc wrote: > ...
13 years, 11 months ago (2011-06-22 23:27:08 UTC) #3
r
13 years, 11 months ago (2011-06-22 23:27:36 UTC) #4
*** Submitted as http://code.google.com/p/go/source/detail?r=6be80da495a0 ***

First cut at the parser for the new template package.

This is not a full grammar, but the pieces are there to implement whatever we
converge on.

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

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