+1 for using macros. I'm currently doing something like this. I'm trying to 
integrate Plotly with a Jupyter Notebook-like IDE I'm making. The DSL so far 
looks something basic like:
    
    
    plot LineGraph:
      x:[0,1,2,3,4,5]
      y:[0,1,2,3,4,5]
    
    
    Run

You can abstract away A LOT of code.

Reply via email to