]> Cypherpunks repositories - gostls13.git/commit
exp/norm: implementation of decomposition and composing functionality.
authorMarcel van Lohuizen <mpvl@golang.org>
Wed, 17 Aug 2011 08:12:39 +0000 (18:12 +1000)
committerRob Pike <r@golang.org>
Wed, 17 Aug 2011 08:12:39 +0000 (18:12 +1000)
commitb40bd5efb719f88a46f0ecf87090470252e32d30
treecf1438464ebb0569368e5a70d50caf45d28f4f77
parent6b5962c2744f65d61dfadb4a1dc8308cb43324b7
exp/norm: implementation of decomposition and composing functionality.
forminfo.go:
- Wrappers for table data.
- Per Form dispatch table.
composition.go:
- reorderBuffer type.  Implements decomposition, reordering, and composition.
- Note: decompose and decomposeString fields in formInfo could be replaced by
  a pointer to the trie for the respective form.  The proposed design makes
  testing easier, though.
normalization.go:
- Temporarily added panic("not implemented") methods to make the tests run.
  These will be removed again with the next CL, which will introduce the
  implementation.

R=r, rogpeppe, mpvl, rsc
CC=golang-dev
https://golang.org/cl/4875043
src/pkg/exp/norm/Makefile
src/pkg/exp/norm/composition.go [new file with mode: 0644]
src/pkg/exp/norm/composition_test.go [new file with mode: 0644]
src/pkg/exp/norm/forminfo.go [new file with mode: 0644]
src/pkg/exp/norm/normalize.go