QSPFoundation / Qsp.FSharp

QSP ecosystem written in F# environment. Contains: language core (AST, parser, printer), language server (LSP) and CLI utility for manipulating language sources.
4 stars 1 forks source link

feat(core): add comments support after `if`, `else`, `act`, `loop` #49

Open gretmn102 opened 2 months ago

gretmn102 commented 2 months ago

С версии QSP 5.9 можно писать комментарии после if, else, act, loop

Примеры

if 0: ! test 1
 'valid'
else if 123: ! sdfsdfsdf
 'dsfsdf'
elseif 33: ! test 2
 '!1'
else: ! test 3
 '!2'
else ! test 4
 '!3'
end

act 'ssdsd': ! test 5
end

loop while 0: ! test 6
end