jwendl / functions-simulator

An IoT Device Simulator using Azure Functions and Event Grid
4 stars 1 forks source link

Need to flesh out DSL more #1

Closed jwendl closed 6 years ago

jwendl commented 6 years ago

So the Antlr lexer and grammar are really generic right now (I wanted E2E experience to work). Need to flesh this out to the point of supporting the following use cases.

# Fridge temperatures RANDOM(25, 100) TO temperature IF temperature > 100 THEN "high" TO pressure

These values will be essentially injected into the POST message for every property that we wish to "tweak" on an iteration of a send message event.