Is there any chance to get hold of the AST in a language construct where you 
define your own pipe operator as found e.g. in F#? (The point being that it 
should span multiple lines.)
    
    
    "Hello"
    |> echo
    
    
    Run

It parses but it seems impossible to get access to the whole thing and 
manipulate it:
    
    
    dumpTree:
      "Hello"
      |> echo
    
    
    Run

The result is: 
    
    
    StmtList
      StrLit "Hello"
      Prefix
        Ident "|>"
        Ident "echo"
    
    
    Run

Reply via email to