{"repo":"yaacov/tree-search-language","free":true,"listed":false,"github":"https://github.com/yaacov/tree-search-language","clone":"git clone https://github.com/yaacov/tree-search-language.git","description":"Tree Search Language (TSL) is a wonderful search langauge.","language":"Go","stars":61,"topics":["golnag","sql","antlr4-grammar","searching","query-parser","query-language","mongodb"],"license":"Apache-2.0","category":"databases-storage","readme_excerpt":"Tree Search Language (TSL) Tree Search Language (TSL) is a wonderful human readable filtering language. The TSL language grammar is human readable and similar to SQL syntax. Awesome: - What I can do with it ? - What does it do ? - Cool logo - Install - Syntax examples - Types - Code examples - CLI tools - Grammar What I can do with it ? You can use the TSL package to add uniform and powerful filtering to your RESTful API or GraphQL services, implement brewing-recipe searches on your smart tea brewer, or even make your own memory based \"SQL like\" server as we do in our tsl mem CLI example. (more examples) kubestl-sql uses TSL to select Kubernetes resources based on the value of one or more resource fields. Here is our tsl mem CLI tool (code), it's an in-memory search engine, it is using the TSL package to filter through an in-memory array of books using \"SQL like\" tsl phrases : What does it do ? The TSL package parses tsl phrases into tsl trees , it also include extra walkers that iterate (walk) over the tsl tree to perform exhilarating tasks, for example, convert a tsl tree into an SQL expression, create in-memory search engines, BSON object exporters and even more exciting stuff. Parsing tsl phrases For example, this tsl phrase : Will be parsed into this tsl tree : Cool logo Awesome logo image by gophers.... Install Building from source using go modules Clone the TSL git repository, and run make : Other make options include make lint for linting check and make test for tests","default_branch":null,"files":null,"tree":[],"storefront":"/r/yaacov","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/yaacov/tree-search-language/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}