Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 461 Bytes

README.md

File metadata and controls

12 lines (8 loc) · 461 Bytes

integrated-query-language

This repository contains an AST, Parser and Evaluator for a simple JSON query and transform language, implemented in scala using fastparse for parser combinators.

Example

.foo.bar = "hello"
.foo.baz = .bar

This, when evaluated and run with some JSON input, would output JSON with the string "hello" inserted into the "bar" field inside "foo", and the contents of "bar" from the input inserted into "baz" inside "foo".