Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 294 Bytes

README.md

File metadata and controls

20 lines (14 loc) · 294 Bytes

MAYAR Query Languge

Agnostic query language for infrastructure as a code.

Example

from mql import MQLParser
import pprint

p = MQLParser(debug=False)

def query(query):
	result = p.parse(query)
	pprint.pprint(result)

while True:
	q = input("MQL> ")
	query("{};".format(q))