Re: [elixir-core:8583] Re: [proposal] Tree-Sitter grammar parser for Elixir

2019-04-03 Thread Rich Morin
Writing regexes to parse programming languages is painful at best and impossible at worst. (I looked into trying to improve BBEdit's rules for Elixir and backed away quickly :-/). So, I'm glad to see a Real Parser (TM) being applied to the problem of code parsing in text editors. That said, I

[elixir-core:8583] Re: [proposal] Tree-Sitter grammar parser for Elixir

2019-04-03 Thread João Paulo Silva de Souza
Ben, thank you for the attention. I held myself off elaborating further because the introductory content in the project's page does a much better job. Tree-Sitter parses code and builds an AST out of the nodes. That same tree can then be smartly updated continuously by providing the locations