feat(execution-engine): a new :error: runtime attribute according with FLIP-11 [fixes VM-329] (#683)

* feat(execution-engine): a new :error: runtime attribute according with FLIP-11 [fixes VM-329]
This commit is contained in:
raftedproc
2023-09-04 22:57:51 +03:00
committed by GitHub
parent 2fc1686e19
commit 20afb79e3f
41 changed files with 2165 additions and 1447 deletions

View File

@ -135,7 +135,10 @@ fn parse_sexp_string(inp: Input<'_>) -> IResult<Input<'_>, Sexp, ParseError<'_>>
fn parse_sexp_symbol(inp: Input<'_>) -> IResult<Input<'_>, Sexp, ParseError<'_>> {
map(
recognize(pair(
many1_count(alt((value((), alphanumeric1), value((), one_of("_-.$#%"))))),
many1_count(alt((
value((), alphanumeric1),
value((), one_of("_-.:$#%")),
))),
opt(terminated(
delimited(tag("["), parse_sexp_symbol, tag("]")),
opt(tag("!")),