]> Cypherpunks repositories - gostls13.git/commit
exp/template: lexical scanner for new template package.
authorRob Pike <r@golang.org>
Mon, 13 Jun 2011 06:08:35 +0000 (16:08 +1000)
committerRob Pike <r@golang.org>
Mon, 13 Jun 2011 06:08:35 +0000 (16:08 +1000)
commit7bc8e90e362177ef0003688e2f9c99d2b19c17d3
treed42e1aba05a010bb0359322ae21c197e2cae1cc7
parent9ded954a3b024ce1d8d73b21475697c6a5f76963
exp/template: lexical scanner for new template package.
An unusual design using slice and a goroutine makes for a
compact scanner with very little allocation.

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