James Drew

Results 22 comments of James Drew

Hey @lunexnocty I don't think there is any documentation like this. There are still a few options though: - I've a project that generated SQL from the AST output by...

I've been thinking about this for a little while now and looking around to see what others are doing. I think esprima has a reasonably good way of handling this....

Hi @Darshansgit I know this is a bit late but hopefully this might help (if not you then maybe someone else with the same problem). First, check if there is...

This would be best implemented as a separate library. This is how many other projects handle this. There is one change still to be made to the AST (standardising the...

Hey @gurvinder372, I thought I'd give a quick update on this. I'm working on the AST walker at the moment. Im hoping to have this finished this weekend. It's not...

Hey, The AST is generated from this library. It's just a simple JSON object. The walker works exactly the same as the [estraverse](https://github.com/estools/estraverse) library does for the JavaScript AST. The...

Hey, @gurvinder372 Better late than never, [here's the preliminary repo](https://github.com/jdrew1303/sqltraverse). It will work at the moment for the majority of cases. I'll be spending today cleaning up the docs and...

Traverser is good to go. (You'll have to use the iterator fallback until I finish pull requests for some ast changes in the sqlite-parser as there are some nodes that...

@nwronski Thanks 😃 I think you've hit most of the ones I was looking at. 👍 If I come across any more I'll give you a shout for the more...

Hey @nwronski ! Cool. I was waiting until the majority of the changes were in before working on the generator. I'll be spending tomorrow reworking the traverser to accommodate the...