Parsing reader.sh
|
Error compiling regex: Un-matched parenthesis group operators.
Line 122 of '/home/andy/git/wild/esoteric/mal/bash/reader.sh'
[[ "${str}" =~ ^^([][{}\(\)^@])|^(~@)|(\"(\\.|[^\\\"])*\")|^(;[^$'\n']*)|^([~\'\`])|^([^][ ~\`\'\";{}\(\)^@\,]+)|^[,]|^[[:space:]]+ ]]
^
Invalid regex: '^^([][{}()^@])|^(~@)|("(\\.|[^\\"])*")|^('
---
Line 122 of '/home/andy/git/wild/esoteric/mal/bash/reader.sh'
[[ "${str}" =~ ^^([][{}\(\)^@])|^(~@)|(\"(\\.|[^\\\"])*\")|^(;[^$'\n']*)|^([~\'\`])|^([^][ ~\`\'\";{}\(\)^@\,]+)|^[,]|^[[:space:]]+ ]]
^
Unexpected extra word (CompoundWord
parts: [
(LiteralPart token:(token id:Lit_Other val:'^' span_id:1255))
(LiteralPart token:(token id:Lit_Other val:'^' span_id:1256))
(LiteralPart token:(token id:Lit_Chars val:'(' span_id:1257))
(LiteralPart token:(token id:Lit_Other val:'[' span_id:1258))
(LiteralPart token:(token id:Lit_Other val:']' span_id:1259))
(LiteralPart token:(token id:Lit_Other val:'[' span_id:1260))
(LiteralPart token:(token id:Lit_LBrace val:'{' span_id:1261))
(LiteralPart token:(token id:Lit_RBrace val:'}' span_id:1262))
(EscapedLiteralPart token:(token id:Lit_EscapedChar val:'\\(' span_id:1263))
(EscapedLiteralPart token:(token id:Lit_EscapedChar val:'\\)' span_id:1264))
(LiteralPart token:(token id:Lit_Other val:'^' span_id:1265))
(LiteralPart token:(token id:Lit_Other val:'@' span_id:1266))
(LiteralPart token:(token id:Lit_Other val:']' span_id:1267))
(LiteralPart token:(token id:Lit_Chars val:')' span_id:1268))
(LiteralPart token:(token id:Lit_Chars val:'|' span_id:1269))
(LiteralPart token:(token id:Lit_Other val:'^' span_id:1270))
(LiteralPart token:(token id:Lit_Chars val:'(' span_id:1271))
(LiteralPart token:(token id:Lit_Tilde val:'~' span_id:1272))
(LiteralPart token:(token id:Lit_Other val:'@' span_id:1273))
(LiteralPart token:(token id:Lit_Chars val:')' span_id:1274))
(LiteralPart token:(token id:Lit_Chars val:'|' span_id:1275))
(LiteralPart token:(token id:Lit_Chars val:'(' span_id:1276))
(EscapedLiteralPart token:(token id:Lit_EscapedChar val:'\\"' span_id:1277))
(LiteralPart token:(token id:Lit_Chars val:'(' span_id:1278))
(EscapedLiteralPart token:(token id:Lit_EscapedChar val:'\\\\' span_id:1279))
(LiteralPart token:(token id:Lit_Chars val:. span_id:1280))
(LiteralPart token:(token id:Lit_Chars val:'|' span_id:1281))
(LiteralPart token:(token id:Lit_Other val:'[' span_id:1282))
(LiteralPart token:(token id:Lit_Other val:'^' span_id:1283))
(EscapedLiteralPart token:(token id:Lit_EscapedChar val:'\\\\' span_id:1284))
(EscapedLiteralPart token:(token id:Lit_EscapedChar val:'\\"' span_id:1285))
(LiteralPart token:(token id:Lit_Other val:']' span_id:1286))
(LiteralPart token:(token id:Lit_Chars val:')' span_id:1287))
(LiteralPart token:(token id:Lit_Other val:'*' span_id:1288))
(EscapedLiteralPart token:(token id:Lit_EscapedChar val:'\\"' span_id:1289))
(LiteralPart token:(token id:Lit_Chars val:')' span_id:1290))
(LiteralPart token:(token id:Lit_Chars val:'|' span_id:1291))
(LiteralPart token:(token id:Lit_Other val:'^' span_id:1292))
(LiteralPart token:(token id:Lit_Chars val:'(' span_id:1293))
]
)
---
Line 122 of '/home/andy/git/wild/esoteric/mal/bash/reader.sh'
[[ "${str}" =~ ^^([][{}\(\)^@])|^(~@)|(\"(\\.|[^\\\"])*\")|^(;[^$'\n']*)|^([~\'\`])|^([^][ ~\`\'\";{}\(\)^@\,]+)|^[,]|^[[:space:]]+ ]]
^~
Error parsing [[
---
*** Error has no source location info ***
Error parsing AndOr in ParseCommandTerm
---
*** Error has no source location info ***
Error parsing AndOr in ParseCommandTerm
---
*** Error has no source location info ***
Error parsing AndOr in ParseCommandTerm
---
*** Error has no source location info ***
Error parsing AndOr in ParseCommandTerm
---
|