-rob
https://github.com/iNamik/lexer.go
On Nov 18, 5:39 am, "Rob 'Commander' Pike" <r...@golang.org> wrote:
> Why?
>
> -rob
As we've said to you several times, there is already a lexer and
parser in the Go standard libraries. What you're linked is a framework
for creating a lexer using Go, which it seems quite clearly is not
what you want to do. You should look at the go/parser [1] package.
[1]: http://golang.org/pkg/go/parser
- Jim
Does anybody could say me if the design of my function Compile (loop
for) is right? Or is there any better way to get it?
https://github.com/kless/GotoJS/blob/master/tojs/tojs.go#L38
On Nov 18, 11:39 am, Jim Whitehead II <jnwhi...@gmail.com> wrote:
Why use the scanner directly? The parser's already been written for
you. You'd be much better off using that.
- Evan
On Nov 18, 7:49 pm, Evan Shaw <eds...@gmail.com> wrote:
That strikes me as very paranoid. We're on the path to Go 1, a stable
version of the language, and all changes to non-experimental packages
come with gofix rewriters.
It's your project, though. Have fun.
- Evan
how can i implement a GO lexer in c??any ideas?