NFun icon indicating copy to clipboard operation
NFun copied to clipboard

Allow to use ',' instead of ';'

Open tmteam opened this issue 2 years ago • 0 comments

General rule is that , ; /n are equal

y = x, z = y+1
f(x) = x**2, out = f(12)
winter = [
       'Dec'
       'Jan'
       'Febr'
]

summer = [`Jun`; `Jul`; `Aug`]
point1 = {x = 1, y = 2, z = 3}
point2 = {x = 1; y = 2; z = 3}
a = if true: 
    print('hi), x  
elif: 
    true
else:
    false

tmteam avatar Feb 01 '23 10:02 tmteam