]> Cypherpunks repositories - gostls13.git/commit
Add the beginnings of the template execution code. Lots still to do,
authorRob Pike <r@golang.org>
Tue, 28 Jun 2011 13:04:08 +0000 (23:04 +1000)
committerRob Pike <r@golang.org>
Tue, 28 Jun 2011 13:04:08 +0000 (23:04 +1000)
commit81592c298b3b55bda7eaeedc000f02eecc7a2165
treecc57f85f76a60c30b0a1eafc65df5f43abae262f
parent5c15f8710cb570e27d1ccf04143d31c7bff52581
Add the beginnings of the template execution code.  Lots still to do,
including evaluation up the data tree (in this code all fields must be
in dot itself), plus more control structure, but the basics are in place.

R=rsc, r
CC=golang-dev
https://golang.org/cl/4665041
src/pkg/exp/template/Makefile
src/pkg/exp/template/exec.go [new file with mode: 0644]
src/pkg/exp/template/exec_test.go [new file with mode: 0644]
src/pkg/exp/template/lex.go
src/pkg/exp/template/lex_test.go
src/pkg/exp/template/parse.go
src/pkg/exp/template/parse_test.go