Is it possible to create a dictionary like python by typing only: 
    
    
    var a = {"key_1": "value_1", "key_2": "value_2"}
    
    
    Run

Instead of? 
    
    
    var a = {"key_1": "value_1", "key_2": "value_2"}.toTable
    
    
    Run

or something similar to what is used by sequences: 
    
    
    var x = @[1, 2, 3]
    
    var a = %{"key_1": "value_1", "key_2": "value_2"}
    
    
    Run

It reminds me Perl arrays (@) and hashes (%).

How to make a macro to implement the "%" before "{}"?

Reply via email to