{"id":19258855,"url":"https://github.com/lucascompython/nanql","last_synced_at":"2025-10-07T20:54:55.429Z","repository":{"id":107554036,"uuid":"501419978","full_name":"lucascompython/NANQL","owner":"lucascompython","description":"NANQL (Not a Normal Query Language) is yet another simple query language for json, that I made to learn better about parsers and F#. It's syntax is very declarative and easy to understand.","archived":false,"fork":false,"pushed_at":"2022-12-05T20:37:12.000Z","size":1360,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-03-04T17:11:40.013Z","etag":null,"topics":["fsharp","language","query-language"],"latest_commit_sha":null,"homepage":"","language":"F#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lucascompython.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-06-08T21:45:22.000Z","updated_at":"2024-04-23T12:42:06.890Z","dependencies_parsed_at":"2023-05-02T07:24:41.530Z","dependency_job_id":null,"html_url":"https://github.com/lucascompython/NANQL","commit_stats":null,"previous_names":[],"tags_count":4,"template":null,"template_full_name":null,"purl":"pkg:github/lucascompython/NANQL","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucascompython%2FNANQL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucascompython%2FNANQL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucascompython%2FNANQL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucascompython%2FNANQL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lucascompython","download_url":"https://codeload.github.com/lucascompython/NANQL/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucascompython%2FNANQL/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278846350,"owners_count":26056090,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fsharp","language","query-language"],"created_at":"2024-11-09T19:14:34.155Z","updated_at":"2025-10-07T20:54:55.413Z","avatar_url":"https://github.com/lucascompython.png","language":"F#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NANQL (Not a Normal Query Language)\n\n## What is NANQL?\n\nNANQL is yet another simple (and quite normal) query language for json, that I made to learn better about parsers and F#.  \nIt's syntax is very declarative and easy to understand.  \nCheck the change log [here](CHANGELOG.md).\n\n## Code Preview\n\n```SQL\nfilterby Category = 'Fantasy'\norderby Rating asc\ntake 1\n```\n\n## How to get it\n\n\u003c!--You can get it from just cloning this repository and then running it (`dotnet run`).  \nOr you can clone this repository and then install it globally as a dotnet package (`./install_globally.ps1`) and then just use `nanql`  \nOr download the executable [here](https://github.com/lucascompython/NANQL/releases) and then you can just use that file.--\u003e\nDownload the binary [here](https://github.com/lucascompython/NANQL/releases).  \nOR  \nBuild it  \n\n```pwsh\ngit clone https://github.com/lucascompython/NANQL.git\ncd NANQL/NANQL\n./build.ps1 -help\n```\n\n## How to use it\n\u003c!--\n```powershell\n# this example is using the files found in the NANQL directory\nnanql quary.nanql data.json # use --help to see more details\n\n# or with no arguments to input the query inside the program\n\n# OUTPUT\n{ Title = \"The Fellowship of the Ring\"\n  Author = \"J.R.R. Tolkien\"\n  Category = \"Fantasy\"\n  PublishYear = 1954\n  Rating = 4.36 }\n```\n--\u003e\nCheck the [examples](https://github.com/lucascompython/NANQL/tree/master/Examples).\n\n## TODOs\n\n- [X] Add \"interactive\" mode\n- [X] Add a binary release\n- [X] Add support for building the project with powershell helper\n- [ ] Add YAML support\n- [ ] Documentation\n- [ ] Add some more complex queries, for example let's say you have this piece of json: `[{\"x\": 2, \"y\": 0}, {\"x\": 3, \"y\": 1}, {\"x\": 4, \"y\": 1}]`, I wan't to add something like `SUM(X) WHERE Y \u003e 0     (would equate to 7)` and `LIST(X) WHERE Y \u003e 0    (would equate to [3,4])`\n\n# LICENSE\nThis project is licensed under the GPL3 license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucascompython%2Fnanql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flucascompython%2Fnanql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucascompython%2Fnanql/lists"}