Stephen Searles

Results 13 comments of Stephen Searles

Websockets have marginally more support across browsers (latest IE versions being the notable one missing from Server Sent Events). http://caniuse.com/#search=server vs http://caniuse.com/#search=websocket Does anybody have any significant opinion on which...

It's designed after [Rob Pike's talk](https://blog.golang.org/two-go-talks-lexical-scanning-in-go-and) on the text/template lexer. Possible I got it wrong, but the idea is that the lexer is concurrent with its client (typically the parser),...

I started moving towards parsing a whole project. You can do it in code by continually parsing using the same [Parser](https://godoc.org/github.com/stephens2424/php/parser#Parser). There isn't (yet) a great frontend CLI or anything...

Short answer: yes, I totally want to have line numbers available, and I'd love some help with that! That said, it's a feature I've worked toward a bit. I originally...

I think migrating toward pointers for all the node types will be the long term goal, but accepting both in the printer type switch seems like a good idea, especially...

The comments aren't in the AST at the moment, but I have some pending work that should address this.

The changes I pushed just now make the comments available in the lexed token stream, but there's still no association with AST nodes.

Yep, that's the one. It's really a work in progress, though, since it's pretty difficult to use in a meaningful way. I'd like to get phpdoc comments into the ast,...

So I _think_ what's going on here is that `ast.ExpressionStmt` is hiding a real type from you. In the first case, it's hiding `*ast.FunctionCallExpression` and in the second case it's...

Oh, an added benefit of that idea: one of my thoughts with how the ast package is organized: if you can write it as a struct literal, it should equate...