-
- Downloads
exp/regexp/syntax: syntax data structures, parser
Parser is a work in progress but can populate most of the interesting parts of the data structure, so a good checkpoint. All the complicated Perl syntax is missing, as are various important optimizations made during parsing to the syntax tree. The plan is that exp/regexp's API will mimic regexp, and exp/regexp/syntax provides the parser directly for programs that need it (and for implementing exp/regexp). Once finished, exp/regexp will replace regexp. R=r, sam.thorogood, kevlar, edsrzf CC=golang-dev https://golang.org/cl/4538123
Showing
- src/pkg/Makefile 1 addition, 0 deletionssrc/pkg/Makefile
- src/pkg/exp/regexp/syntax/Makefile 12 additions, 0 deletionssrc/pkg/exp/regexp/syntax/Makefile
- src/pkg/exp/regexp/syntax/parse.go 561 additions, 0 deletionssrc/pkg/exp/regexp/syntax/parse.go
- src/pkg/exp/regexp/syntax/parse_test.go 266 additions, 0 deletionssrc/pkg/exp/regexp/syntax/parse_test.go
- src/pkg/exp/regexp/syntax/regexp.go 210 additions, 0 deletionssrc/pkg/exp/regexp/syntax/regexp.go
Loading
Please register or sign in to comment