Skip to content

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.

License

Notifications You must be signed in to change notification settings

lucascompython/NANQL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NANQL (Not a Normal Query Language)

What is NANQL?

NANQL is yet another simple (and quite normal) query language for json, that I made to learn better about parsers and F#.
It's syntax is very declarative and easy to understand.
Check the change log here.

Code Preview

filterby Category = 'Fantasy'
orderby Rating asc
take 1

How to get it

Download the binary here.
OR
Build it

git clone https://github.com/lucascompython/NANQL.git
cd NANQL/NANQL
./build.ps1 -help

How to use it

Check the examples.

TODOs

  • Add "interactive" mode
  • Add a binary release
  • Add support for building the project with powershell helper
  • Add YAML support
  • Documentation
  • 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 > 0 (would equate to 7) and LIST(X) WHERE Y > 0 (would equate to [3,4])

LICENSE

This project is licensed under the GPL3 license.

About

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.

Topics

Resources

License

Stars

Watchers

Forks