oilshell.org

Side By Side Lines Parsed? Parse Process Time (secs) Internal Parse Time (secs) Parsed Lines/sec Translated? Filename
view 169 OK 0.27 0.27 625.9 FAIL action.sh
view 70 OK 0.21 0.21 333.3 OK alias.sh
view 488 FAIL 0.09 - - FAIL break.sh
view 1 OK 0.06 0.06 16.7 OK cmd-hooks.sh
view 145 FAIL 0.1 - - FAIL columnize.sh
view 73 FAIL 0.08 - - FAIL commands.sh
view 111 OK 0.2 0.2 555.0 FAIL complete.sh
view 49 OK 0.14 0.14 350.0 OK dbg-call.sh
view 93 OK 0.17 0.17 547.1 FAIL display.sh
view 123 OK 0.22 0.22 559.1 FAIL file.sh
view 287 OK 0.46 0.46 623.9 FAIL filecache.sh
view 257 FAIL 0.16 - - FAIL fns.sh
view 228 OK 0.32 0.32 712.5 FAIL frame.sh
view 374 FAIL 0.09 - - FAIL help.sh
view 133 OK 0.15 0.15 886.7 FAIL hist.sh
view 288 OK 0.4 0.4 720.0 FAIL hook.sh
view 122 OK 0.22 0.22 554.5 OK info.sh
view 81 FAIL 0.11 - - FAIL journal.sh
view 209 FAIL 0.22 - - FAIL list.sh
view 168 OK 0.31 0.31 541.9 FAIL msg.sh
view 464 OK 0.49 0.49 946.9 FAIL processor.sh
view 24 OK 0.09 0.09 266.7 FAIL run.sh
view 160 FAIL 0.16 - - FAIL save-restore.sh
view 81 OK 0.21 0.21 385.7 FAIL setshow.sh
view 68 OK 0.19 0.19 357.9 FAIL shell.sh
view 278 OK 0.42 0.42 661.9 FAIL sig.sh
view 53 OK 0.17 0.17 311.8 FAIL sort.sh
view 49 OK 0.13 0.13 376.9 OK stepping.sh
view 52 OK 0.17 0.17 305.9 FAIL subcmd.sh
view 55 FAIL 0.11 - - FAIL validate.sh

stderr

Parsing help.sh
        Traceback (most recent call last):
  File "bin/osh", line 469, in <module>
    main(sys.argv)
  File "bin/osh", line 452, in main
    sys.exit(OilMain(argv))
  File "bin/osh", line 435, in OilMain
    status = OshMain(main_argv, login_shell)
  File "bin/osh", line 345, in OshMain
    ui.PrintErrorStack(err, arena, sys.stderr)
  File "/home/andy/git/oil/bin/../core/ui.py", line 143, in PrintErrorStack
    PrettyPrintError(err, arena, f)
  File "/home/andy/git/oil/bin/../core/ui.py", line 100, in PrettyPrintError
    span_id = word.LeftMostSpanForWord(parse_error.word)
  File "/home/andy/git/oil/bin/../core/word.py", line 218, in LeftMostSpanForWord
    return LeftMostSpanForPart(w.parts[0])
  File "/home/andy/git/oil/bin/../core/word.py", line 105, in LeftMostSpanForPart
    return LeftMostSpanForWord(part.words[0])  # Hm this is a=(1 2 3)
IndexError: list index out of range

        
Translating help.sh
        Traceback (most recent call last):
  File "bin/osh", line 469, in <module>
    main(sys.argv)
  File "bin/osh", line 452, in main
    sys.exit(OilMain(argv))
  File "bin/osh", line 435, in OilMain
    status = OshMain(main_argv, login_shell)
  File "bin/osh", line 345, in OshMain
    ui.PrintErrorStack(err, arena, sys.stderr)
  File "/home/andy/git/oil/bin/../core/ui.py", line 143, in PrintErrorStack
    PrettyPrintError(err, arena, f)
  File "/home/andy/git/oil/bin/../core/ui.py", line 100, in PrettyPrintError
    span_id = word.LeftMostSpanForWord(parse_error.word)
  File "/home/andy/git/oil/bin/../core/word.py", line 218, in LeftMostSpanForWord
    return LeftMostSpanForPart(w.parts[0])
  File "/home/andy/git/oil/bin/../core/word.py", line 105, in LeftMostSpanForPart
    return LeftMostSpanForWord(part.words[0])  # Hm this is a=(1 2 3)
IndexError: list index out of range

        
Parsing list.sh
        Line 0 of '<unknown>'
  <no position info for token>
Token (TokenWord token:(token id:Arith_LessEqual val:"<=" span_id:1160)) can't be used in prefix position
---
Line 0 of '<unknown>'
  <no position info for token>
Error parsing for cond
---
Line 0 of '<unknown>'
  <no position info for token>
Parsing for expression failed
---
Line 0 of '<unknown>'
  <no position info for token>
Error parsing AndOr in ParseCommandTerm
---
Line 0 of '<unknown>'
  <no position info for token>
Error parsing AndOr in ParseCommandTerm
---

        
Translating list.sh
        Line 0 of '<unknown>'
  <no position info for token>
Token (TokenWord token:(token id:Arith_LessEqual val:"<=" span_id:1160)) can't be used in prefix position
---
Line 0 of '<unknown>'
  <no position info for token>
Error parsing for cond
---
Line 0 of '<unknown>'
  <no position info for token>
Parsing for expression failed
---
Line 0 of '<unknown>'
  <no position info for token>
Error parsing AndOr in ParseCommandTerm
---
Line 0 of '<unknown>'
  <no position info for token>
Error parsing AndOr in ParseCommandTerm
---

        
Translating hook.sh
        Traceback (most recent call last):
  File "bin/osh", line 469, in <module>
    main(sys.argv)
  File "bin/osh", line 452, in main
    sys.exit(OilMain(argv))
  File "bin/osh", line 435, in OilMain
    status = OshMain(main_argv, login_shell)
  File "bin/osh", line 350, in OshMain
    osh2oil.PrintAsOil(arena, node, opts.debug_spans)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 69, in PrintAsOil
    fixer.DoCommand(node, None, at_top_level=True)  # no local symbols yet
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 473, in DoCommand
    self.DoCommand(child, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 632, in DoCommand
    self.DoCommand(child, new_local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 565, in DoCommand
    self.DoCommand(child, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 609, in DoCommand
    self.DoArithExpr(node.child, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 1196, in DoArithExpr
    raise AssertionError(node.__class__.__name__)
AssertionError: ArithUnary

        
Translating complete.sh
        Traceback (most recent call last):
  File "bin/osh", line 469, in <module>
    main(sys.argv)
  File "bin/osh", line 452, in main
    sys.exit(OilMain(argv))
  File "bin/osh", line 435, in OilMain
    status = OshMain(main_argv, login_shell)
  File "bin/osh", line 350, in OshMain
    osh2oil.PrintAsOil(arena, node, opts.debug_spans)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 69, in PrintAsOil
    fixer.DoCommand(node, None, at_top_level=True)  # no local symbols yet
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 473, in DoCommand
    self.DoCommand(child, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 549, in DoCommand
    self.DoAssignment(node, at_top_level, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 463, in DoAssignment
    self.DoWordAsExpr(pair.rhs, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 820, in DoWordAsExpr
    self.DoWordInCommand(node, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 989, in DoWordInCommand
    self.DoWordPart(part, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 999, in DoWordPart
    span_id = word.LeftMostSpanForPart(node)
  File "/home/andy/git/oil/bin/../core/word.py", line 105, in LeftMostSpanForPart
    return LeftMostSpanForWord(part.words[0])  # Hm this is a=(1 2 3)
IndexError: list index out of range

        
Translating processor.sh
        Traceback (most recent call last):
  File "bin/osh", line 469, in <module>
    main(sys.argv)
  File "bin/osh", line 452, in main
    sys.exit(OilMain(argv))
  File "bin/osh", line 435, in OilMain
    status = OshMain(main_argv, login_shell)
  File "bin/osh", line 350, in OshMain
    osh2oil.PrintAsOil(arena, node, opts.debug_spans)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 69, in PrintAsOil
    fixer.DoCommand(node, None, at_top_level=True)  # no local symbols yet
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 473, in DoCommand
    self.DoCommand(child, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 632, in DoCommand
    self.DoCommand(child, new_local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 695, in DoCommand
    self.DoCommand(node.body, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 652, in DoCommand
    self.DoCommand(child, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 695, in DoCommand
    self.DoCommand(node.body, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 652, in DoCommand
    self.DoCommand(child, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 736, in DoCommand
    self.DoCommand(child, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 711, in DoCommand
    self.DoCommand(sentence, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 570, in DoCommand
    self.DoCommand(node.child, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 609, in DoCommand
    self.DoArithExpr(node.child, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 1196, in DoArithExpr
    raise AssertionError(node.__class__.__name__)
AssertionError: ArithVarRef

        
Translating hist.sh
        Traceback (most recent call last):
  File "bin/osh", line 469, in <module>
    main(sys.argv)
  File "bin/osh", line 452, in main
    sys.exit(OilMain(argv))
  File "bin/osh", line 435, in OilMain
    status = OshMain(main_argv, login_shell)
  File "bin/osh", line 350, in OshMain
    osh2oil.PrintAsOil(arena, node, opts.debug_spans)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 69, in PrintAsOil
    fixer.DoCommand(node, None, at_top_level=True)  # no local symbols yet
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 473, in DoCommand
    self.DoCommand(child, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 549, in DoCommand
    self.DoAssignment(node, at_top_level, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 463, in DoAssignment
    self.DoWordAsExpr(pair.rhs, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 820, in DoWordAsExpr
    self.DoWordInCommand(node, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 989, in DoWordInCommand
    self.DoWordPart(part, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 999, in DoWordPart
    span_id = word.LeftMostSpanForPart(node)
  File "/home/andy/git/oil/bin/../core/word.py", line 105, in LeftMostSpanForPart
    return LeftMostSpanForWord(part.words[0])  # Hm this is a=(1 2 3)
IndexError: list index out of range

        
Translating setshow.sh
        Traceback (most recent call last):
  File "bin/osh", line 469, in <module>
    main(sys.argv)
  File "bin/osh", line 452, in main
    sys.exit(OilMain(argv))
  File "bin/osh", line 435, in OilMain
    status = OshMain(main_argv, login_shell)
  File "bin/osh", line 350, in OshMain
    osh2oil.PrintAsOil(arena, node, opts.debug_spans)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 69, in PrintAsOil
    fixer.DoCommand(node, None, at_top_level=True)  # no local symbols yet
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 473, in DoCommand
    self.DoCommand(child, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 632, in DoCommand
    self.DoCommand(child, new_local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 565, in DoCommand
    self.DoCommand(child, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 609, in DoCommand
    self.DoArithExpr(node.child, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 1196, in DoArithExpr
    raise AssertionError(node.__class__.__name__)
AssertionError: ArithVarRef

        
Translating display.sh
        Traceback (most recent call last):
  File "bin/osh", line 469, in <module>
    main(sys.argv)
  File "bin/osh", line 452, in main
    sys.exit(OilMain(argv))
  File "bin/osh", line 435, in OilMain
    status = OshMain(main_argv, login_shell)
  File "bin/osh", line 350, in OshMain
    osh2oil.PrintAsOil(arena, node, opts.debug_spans)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 69, in PrintAsOil
    fixer.DoCommand(node, None, at_top_level=True)  # no local symbols yet
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 473, in DoCommand
    self.DoCommand(child, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 549, in DoCommand
    self.DoAssignment(node, at_top_level, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 463, in DoAssignment
    self.DoWordAsExpr(pair.rhs, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 820, in DoWordAsExpr
    self.DoWordInCommand(node, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 989, in DoWordInCommand
    self.DoWordPart(part, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 999, in DoWordPart
    span_id = word.LeftMostSpanForPart(node)
  File "/home/andy/git/oil/bin/../core/word.py", line 105, in LeftMostSpanForPart
    return LeftMostSpanForWord(part.words[0])  # Hm this is a=(1 2 3)
IndexError: list index out of range

        
Translating action.sh
        Traceback (most recent call last):
  File "bin/osh", line 469, in <module>
    main(sys.argv)
  File "bin/osh", line 452, in main
    sys.exit(OilMain(argv))
  File "bin/osh", line 435, in OilMain
    status = OshMain(main_argv, login_shell)
  File "bin/osh", line 350, in OshMain
    osh2oil.PrintAsOil(arena, node, opts.debug_spans)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 69, in PrintAsOil
    fixer.DoCommand(node, None, at_top_level=True)  # no local symbols yet
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 473, in DoCommand
    self.DoCommand(child, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 549, in DoCommand
    self.DoAssignment(node, at_top_level, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 463, in DoAssignment
    self.DoWordAsExpr(pair.rhs, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 820, in DoWordAsExpr
    self.DoWordInCommand(node, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 989, in DoWordInCommand
    self.DoWordPart(part, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 999, in DoWordPart
    span_id = word.LeftMostSpanForPart(node)
  File "/home/andy/git/oil/bin/../core/word.py", line 105, in LeftMostSpanForPart
    return LeftMostSpanForWord(part.words[0])  # Hm this is a=(1 2 3)
IndexError: list index out of range

        
Parsing validate.sh
        Line 0 of '<unknown>'
  <no position info for token>
Got redirects in assignment: [(Redir
  op_id: Redir_Great
  fd: -1
  arg_word: (CompoundWord parts:[(LiteralPart token:(token id:Lit_Chars val:/dev/null span_id:159))])
  spids: [158]
), (Redir
  op_id: Redir_GreatAnd
  fd: 2
  arg_word: (CompoundWord parts:[(LiteralPart token:(token id:Lit_Chars val:1 span_id:162))])
  spids: [161]
)]
---
Line 0 of '<unknown>'
  <no position info for token>
Error parsing AndOr in ParseCommandTerm
---
Line 0 of '<unknown>'
  <no position info for token>
Error parsing AndOr in ParseCommandTerm
---

        
Translating validate.sh
        Line 0 of '<unknown>'
  <no position info for token>
Got redirects in assignment: [(Redir
  op_id: Redir_Great
  fd: -1
  arg_word: (CompoundWord parts:[(LiteralPart token:(token id:Lit_Chars val:/dev/null span_id:159))])
  spids: [158]
), (Redir
  op_id: Redir_GreatAnd
  fd: 2
  arg_word: (CompoundWord parts:[(LiteralPart token:(token id:Lit_Chars val:1 span_id:162))])
  spids: [161]
)]
---
Line 0 of '<unknown>'
  <no position info for token>
Error parsing AndOr in ParseCommandTerm
---
Line 0 of '<unknown>'
  <no position info for token>
Error parsing AndOr in ParseCommandTerm
---

        
Translating run.sh
        Traceback (most recent call last):
  File "bin/osh", line 469, in <module>
    main(sys.argv)
  File "bin/osh", line 452, in main
    sys.exit(OilMain(argv))
  File "bin/osh", line 435, in OilMain
    status = OshMain(main_argv, login_shell)
  File "bin/osh", line 350, in OshMain
    osh2oil.PrintAsOil(arena, node, opts.debug_spans)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 69, in PrintAsOil
    fixer.DoCommand(node, None, at_top_level=True)  # no local symbols yet
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 473, in DoCommand
    self.DoCommand(child, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 632, in DoCommand
    self.DoCommand(child, new_local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 711, in DoCommand
    self.DoCommand(sentence, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 570, in DoCommand
    self.DoCommand(node.child, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 609, in DoCommand
    self.DoArithExpr(node.child, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 1196, in DoArithExpr
    raise AssertionError(node.__class__.__name__)
AssertionError: ArithUnary

        
Parsing columnize.sh
        Traceback (most recent call last):
  File "bin/osh", line 469, in <module>
    main(sys.argv)
  File "bin/osh", line 452, in main
    sys.exit(OilMain(argv))
  File "bin/osh", line 435, in OilMain
    status = OshMain(main_argv, login_shell)
  File "bin/osh", line 345, in OshMain
    ui.PrintErrorStack(err, arena, sys.stderr)
  File "/home/andy/git/oil/bin/../core/ui.py", line 143, in PrintErrorStack
    PrettyPrintError(err, arena, f)
  File "/home/andy/git/oil/bin/../core/ui.py", line 100, in PrettyPrintError
    span_id = word.LeftMostSpanForWord(parse_error.word)
  File "/home/andy/git/oil/bin/../core/word.py", line 218, in LeftMostSpanForWord
    return LeftMostSpanForPart(w.parts[0])
  File "/home/andy/git/oil/bin/../core/word.py", line 105, in LeftMostSpanForPart
    return LeftMostSpanForWord(part.words[0])  # Hm this is a=(1 2 3)
IndexError: list index out of range

        
Translating columnize.sh
        Traceback (most recent call last):
  File "bin/osh", line 469, in <module>
    main(sys.argv)
  File "bin/osh", line 452, in main
    sys.exit(OilMain(argv))
  File "bin/osh", line 435, in OilMain
    status = OshMain(main_argv, login_shell)
  File "bin/osh", line 345, in OshMain
    ui.PrintErrorStack(err, arena, sys.stderr)
  File "/home/andy/git/oil/bin/../core/ui.py", line 143, in PrintErrorStack
    PrettyPrintError(err, arena, f)
  File "/home/andy/git/oil/bin/../core/ui.py", line 100, in PrettyPrintError
    span_id = word.LeftMostSpanForWord(parse_error.word)
  File "/home/andy/git/oil/bin/../core/word.py", line 218, in LeftMostSpanForWord
    return LeftMostSpanForPart(w.parts[0])
  File "/home/andy/git/oil/bin/../core/word.py", line 105, in LeftMostSpanForPart
    return LeftMostSpanForWord(part.words[0])  # Hm this is a=(1 2 3)
IndexError: list index out of range

        
Translating sig.sh
        Traceback (most recent call last):
  File "bin/osh", line 469, in <module>
    main(sys.argv)
  File "bin/osh", line 452, in main
    sys.exit(OilMain(argv))
  File "bin/osh", line 435, in OilMain
    status = OshMain(main_argv, login_shell)
  File "bin/osh", line 350, in OshMain
    osh2oil.PrintAsOil(arena, node, opts.debug_spans)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 69, in PrintAsOil
    fixer.DoCommand(node, None, at_top_level=True)  # no local symbols yet
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 473, in DoCommand
    self.DoCommand(child, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 549, in DoCommand
    self.DoAssignment(node, at_top_level, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 463, in DoAssignment
    self.DoWordAsExpr(pair.rhs, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 820, in DoWordAsExpr
    self.DoWordInCommand(node, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 989, in DoWordInCommand
    self.DoWordPart(part, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 999, in DoWordPart
    span_id = word.LeftMostSpanForPart(node)
  File "/home/andy/git/oil/bin/../core/word.py", line 105, in LeftMostSpanForPart
    return LeftMostSpanForWord(part.words[0])  # Hm this is a=(1 2 3)
IndexError: list index out of range

        
Translating msg.sh
        Traceback (most recent call last):
  File "bin/osh", line 469, in <module>
    main(sys.argv)
  File "bin/osh", line 452, in main
    sys.exit(OilMain(argv))
  File "bin/osh", line 435, in OilMain
    status = OshMain(main_argv, login_shell)
  File "bin/osh", line 350, in OshMain
    osh2oil.PrintAsOil(arena, node, opts.debug_spans)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 69, in PrintAsOil
    fixer.DoCommand(node, None, at_top_level=True)  # no local symbols yet
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 473, in DoCommand
    self.DoCommand(child, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 632, in DoCommand
    self.DoCommand(child, new_local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 711, in DoCommand
    self.DoCommand(sentence, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 570, in DoCommand
    self.DoCommand(node.child, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 609, in DoCommand
    self.DoArithExpr(node.child, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 1196, in DoArithExpr
    raise AssertionError(node.__class__.__name__)
AssertionError: ArithVarRef

        
Translating filecache.sh
        Traceback (most recent call last):
  File "bin/osh", line 469, in <module>
    main(sys.argv)
  File "bin/osh", line 452, in main
    sys.exit(OilMain(argv))
  File "bin/osh", line 435, in OilMain
    status = OshMain(main_argv, login_shell)
  File "bin/osh", line 350, in OshMain
    osh2oil.PrintAsOil(arena, node, opts.debug_spans)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 69, in PrintAsOil
    fixer.DoCommand(node, None, at_top_level=True)  # no local symbols yet
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 473, in DoCommand
    self.DoCommand(child, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 549, in DoCommand
    self.DoAssignment(node, at_top_level, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 463, in DoAssignment
    self.DoWordAsExpr(pair.rhs, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 820, in DoWordAsExpr
    self.DoWordInCommand(node, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 989, in DoWordInCommand
    self.DoWordPart(part, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 999, in DoWordPart
    span_id = word.LeftMostSpanForPart(node)
  File "/home/andy/git/oil/bin/../core/word.py", line 105, in LeftMostSpanForPart
    return LeftMostSpanForWord(part.words[0])  # Hm this is a=(1 2 3)
IndexError: list index out of range

        
Parsing fns.sh
        Traceback (most recent call last):
  File "bin/osh", line 469, in <module>
    main(sys.argv)
  File "bin/osh", line 452, in main
    sys.exit(OilMain(argv))
  File "bin/osh", line 435, in OilMain
    status = OshMain(main_argv, login_shell)
  File "bin/osh", line 345, in OshMain
    ui.PrintErrorStack(err, arena, sys.stderr)
  File "/home/andy/git/oil/bin/../core/ui.py", line 143, in PrintErrorStack
    PrettyPrintError(err, arena, f)
  File "/home/andy/git/oil/bin/../core/ui.py", line 100, in PrettyPrintError
    span_id = word.LeftMostSpanForWord(parse_error.word)
  File "/home/andy/git/oil/bin/../core/word.py", line 218, in LeftMostSpanForWord
    return LeftMostSpanForPart(w.parts[0])
  File "/home/andy/git/oil/bin/../core/word.py", line 105, in LeftMostSpanForPart
    return LeftMostSpanForWord(part.words[0])  # Hm this is a=(1 2 3)
IndexError: list index out of range

        
Translating fns.sh
        Traceback (most recent call last):
  File "bin/osh", line 469, in <module>
    main(sys.argv)
  File "bin/osh", line 452, in main
    sys.exit(OilMain(argv))
  File "bin/osh", line 435, in OilMain
    status = OshMain(main_argv, login_shell)
  File "bin/osh", line 345, in OshMain
    ui.PrintErrorStack(err, arena, sys.stderr)
  File "/home/andy/git/oil/bin/../core/ui.py", line 143, in PrintErrorStack
    PrettyPrintError(err, arena, f)
  File "/home/andy/git/oil/bin/../core/ui.py", line 100, in PrettyPrintError
    span_id = word.LeftMostSpanForWord(parse_error.word)
  File "/home/andy/git/oil/bin/../core/word.py", line 218, in LeftMostSpanForWord
    return LeftMostSpanForPart(w.parts[0])
  File "/home/andy/git/oil/bin/../core/word.py", line 105, in LeftMostSpanForPart
    return LeftMostSpanForWord(part.words[0])  # Hm this is a=(1 2 3)
IndexError: list index out of range

        
Translating subcmd.sh
        Traceback (most recent call last):
  File "bin/osh", line 469, in <module>
    main(sys.argv)
  File "bin/osh", line 452, in main
    sys.exit(OilMain(argv))
  File "bin/osh", line 435, in OilMain
    status = OshMain(main_argv, login_shell)
  File "bin/osh", line 350, in OshMain
    osh2oil.PrintAsOil(arena, node, opts.debug_spans)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 69, in PrintAsOil
    fixer.DoCommand(node, None, at_top_level=True)  # no local symbols yet
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 473, in DoCommand
    self.DoCommand(child, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 632, in DoCommand
    self.DoCommand(child, new_local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 736, in DoCommand
    self.DoCommand(child, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 549, in DoCommand
    self.DoAssignment(node, at_top_level, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 463, in DoAssignment
    self.DoWordAsExpr(pair.rhs, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 820, in DoWordAsExpr
    self.DoWordInCommand(node, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 989, in DoWordInCommand
    self.DoWordPart(part, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 999, in DoWordPart
    span_id = word.LeftMostSpanForPart(node)
  File "/home/andy/git/oil/bin/../core/word.py", line 105, in LeftMostSpanForPart
    return LeftMostSpanForWord(part.words[0])  # Hm this is a=(1 2 3)
IndexError: list index out of range

        
Translating file.sh
        Traceback (most recent call last):
  File "bin/osh", line 469, in <module>
    main(sys.argv)
  File "bin/osh", line 452, in main
    sys.exit(OilMain(argv))
  File "bin/osh", line 435, in OilMain
    status = OshMain(main_argv, login_shell)
  File "bin/osh", line 350, in OshMain
    osh2oil.PrintAsOil(arena, node, opts.debug_spans)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 69, in PrintAsOil
    fixer.DoCommand(node, None, at_top_level=True)  # no local symbols yet
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 473, in DoCommand
    self.DoCommand(child, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 632, in DoCommand
    self.DoCommand(child, new_local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 711, in DoCommand
    self.DoCommand(sentence, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 570, in DoCommand
    self.DoCommand(node.child, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 609, in DoCommand
    self.DoArithExpr(node.child, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 1196, in DoArithExpr
    raise AssertionError(node.__class__.__name__)
AssertionError: ArithVarRef

        
Parsing save-restore.sh
        Line 0 of '<unknown>'
  <no position info for token>
Got redirects in assignment: [(Redir
  op_id: Redir_DGreat
  fd: -1
  arg_word: 
    (CompoundWord
      parts: [(SimpleVarSub token:(token id:VSub_Name val:"$_Dbg_statefile" span_id:758))]
    )
  spids: [756]
)]
---
Line 0 of '<unknown>'
  <no position info for token>
Error parsing AndOr in ParseCommandTerm
---
Line 0 of '<unknown>'
  <no position info for token>
Error parsing AndOr in ParseCommandTerm
---

        
Translating save-restore.sh
        Line 0 of '<unknown>'
  <no position info for token>
Got redirects in assignment: [(Redir
  op_id: Redir_DGreat
  fd: -1
  arg_word: 
    (CompoundWord
      parts: [(SimpleVarSub token:(token id:VSub_Name val:"$_Dbg_statefile" span_id:758))]
    )
  spids: [756]
)]
---
Line 0 of '<unknown>'
  <no position info for token>
Error parsing AndOr in ParseCommandTerm
---
Line 0 of '<unknown>'
  <no position info for token>
Error parsing AndOr in ParseCommandTerm
---

        
Translating frame.sh
        Traceback (most recent call last):
  File "bin/osh", line 469, in <module>
    main(sys.argv)
  File "bin/osh", line 452, in main
    sys.exit(OilMain(argv))
  File "bin/osh", line 435, in OilMain
    status = OshMain(main_argv, login_shell)
  File "bin/osh", line 350, in OshMain
    osh2oil.PrintAsOil(arena, node, opts.debug_spans)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 69, in PrintAsOil
    fixer.DoCommand(node, None, at_top_level=True)  # no local symbols yet
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 473, in DoCommand
    self.DoCommand(child, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 632, in DoCommand
    self.DoCommand(child, new_local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 726, in DoCommand
    self.DoCommand(child, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 726, in DoCommand
    self.DoCommand(child, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 609, in DoCommand
    self.DoArithExpr(node.child, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 1196, in DoArithExpr
    raise AssertionError(node.__class__.__name__)
AssertionError: BinaryAssign

        
Translating shell.sh
        Traceback (most recent call last):
  File "bin/osh", line 469, in <module>
    main(sys.argv)
  File "bin/osh", line 452, in main
    sys.exit(OilMain(argv))
  File "bin/osh", line 435, in OilMain
    status = OshMain(main_argv, login_shell)
  File "bin/osh", line 350, in OshMain
    osh2oil.PrintAsOil(arena, node, opts.debug_spans)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 69, in PrintAsOil
    fixer.DoCommand(node, None, at_top_level=True)  # no local symbols yet
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 473, in DoCommand
    self.DoCommand(child, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 632, in DoCommand
    self.DoCommand(child, new_local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 565, in DoCommand
    self.DoCommand(child, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 609, in DoCommand
    self.DoArithExpr(node.child, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 1196, in DoArithExpr
    raise AssertionError(node.__class__.__name__)
AssertionError: ArithVarRef

        
Parsing commands.sh
        Traceback (most recent call last):
  File "bin/osh", line 469, in <module>
    main(sys.argv)
  File "bin/osh", line 452, in main
    sys.exit(OilMain(argv))
  File "bin/osh", line 435, in OilMain
    status = OshMain(main_argv, login_shell)
  File "bin/osh", line 345, in OshMain
    ui.PrintErrorStack(err, arena, sys.stderr)
  File "/home/andy/git/oil/bin/../core/ui.py", line 143, in PrintErrorStack
    PrettyPrintError(err, arena, f)
  File "/home/andy/git/oil/bin/../core/ui.py", line 100, in PrettyPrintError
    span_id = word.LeftMostSpanForWord(parse_error.word)
  File "/home/andy/git/oil/bin/../core/word.py", line 218, in LeftMostSpanForWord
    return LeftMostSpanForPart(w.parts[0])
  File "/home/andy/git/oil/bin/../core/word.py", line 105, in LeftMostSpanForPart
    return LeftMostSpanForWord(part.words[0])  # Hm this is a=(1 2 3)
IndexError: list index out of range

        
Translating commands.sh
        Traceback (most recent call last):
  File "bin/osh", line 469, in <module>
    main(sys.argv)
  File "bin/osh", line 452, in main
    sys.exit(OilMain(argv))
  File "bin/osh", line 435, in OilMain
    status = OshMain(main_argv, login_shell)
  File "bin/osh", line 345, in OshMain
    ui.PrintErrorStack(err, arena, sys.stderr)
  File "/home/andy/git/oil/bin/../core/ui.py", line 143, in PrintErrorStack
    PrettyPrintError(err, arena, f)
  File "/home/andy/git/oil/bin/../core/ui.py", line 100, in PrettyPrintError
    span_id = word.LeftMostSpanForWord(parse_error.word)
  File "/home/andy/git/oil/bin/../core/word.py", line 218, in LeftMostSpanForWord
    return LeftMostSpanForPart(w.parts[0])
  File "/home/andy/git/oil/bin/../core/word.py", line 105, in LeftMostSpanForPart
    return LeftMostSpanForWord(part.words[0])  # Hm this is a=(1 2 3)
IndexError: list index out of range

        
Parsing break.sh
        Traceback (most recent call last):
  File "bin/osh", line 469, in <module>
    main(sys.argv)
  File "bin/osh", line 452, in main
    sys.exit(OilMain(argv))
  File "bin/osh", line 435, in OilMain
    status = OshMain(main_argv, login_shell)
  File "bin/osh", line 345, in OshMain
    ui.PrintErrorStack(err, arena, sys.stderr)
  File "/home/andy/git/oil/bin/../core/ui.py", line 143, in PrintErrorStack
    PrettyPrintError(err, arena, f)
  File "/home/andy/git/oil/bin/../core/ui.py", line 100, in PrettyPrintError
    span_id = word.LeftMostSpanForWord(parse_error.word)
  File "/home/andy/git/oil/bin/../core/word.py", line 218, in LeftMostSpanForWord
    return LeftMostSpanForPart(w.parts[0])
  File "/home/andy/git/oil/bin/../core/word.py", line 105, in LeftMostSpanForPart
    return LeftMostSpanForWord(part.words[0])  # Hm this is a=(1 2 3)
IndexError: list index out of range

        
Translating break.sh
        Traceback (most recent call last):
  File "bin/osh", line 469, in <module>
    main(sys.argv)
  File "bin/osh", line 452, in main
    sys.exit(OilMain(argv))
  File "bin/osh", line 435, in OilMain
    status = OshMain(main_argv, login_shell)
  File "bin/osh", line 345, in OshMain
    ui.PrintErrorStack(err, arena, sys.stderr)
  File "/home/andy/git/oil/bin/../core/ui.py", line 143, in PrintErrorStack
    PrettyPrintError(err, arena, f)
  File "/home/andy/git/oil/bin/../core/ui.py", line 100, in PrettyPrintError
    span_id = word.LeftMostSpanForWord(parse_error.word)
  File "/home/andy/git/oil/bin/../core/word.py", line 218, in LeftMostSpanForWord
    return LeftMostSpanForPart(w.parts[0])
  File "/home/andy/git/oil/bin/../core/word.py", line 105, in LeftMostSpanForPart
    return LeftMostSpanForWord(part.words[0])  # Hm this is a=(1 2 3)
IndexError: list index out of range

        
Translating sort.sh
        Traceback (most recent call last):
  File "bin/osh", line 469, in <module>
    main(sys.argv)
  File "bin/osh", line 452, in main
    sys.exit(OilMain(argv))
  File "bin/osh", line 435, in OilMain
    status = OshMain(main_argv, login_shell)
  File "bin/osh", line 350, in OshMain
    osh2oil.PrintAsOil(arena, node, opts.debug_spans)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 69, in PrintAsOil
    fixer.DoCommand(node, None, at_top_level=True)  # no local symbols yet
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 473, in DoCommand
    self.DoCommand(child, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 632, in DoCommand
    self.DoCommand(child, new_local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 609, in DoCommand
    self.DoArithExpr(node.child, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 1196, in DoArithExpr
    raise AssertionError(node.__class__.__name__)
AssertionError: BinaryAssign

        
Parsing journal.sh
        Line 46 of '/home/andy/src/bashdb-4.4-0.92/lib/journal.sh'
      typeset decl_str; decl_str=$(declare -p $1)
                                              ^~
Variable names must be constant strings, got (CompoundWord parts:[(SimpleVarSub token:(token id:VSub_Number val:"$1" span_id:191))])
---
Line 0 of '<unknown>'
  <no position info for token>
Error parsing AndOr in ParseCommandTerm
---
Line 0 of '<unknown>'
  <no position info for token>
Error parsing commmand list in command sub
---
Line 46 of '/home/andy/src/bashdb-4.4-0.92/lib/journal.sh'
      typeset decl_str; decl_str=$(declare -p $1)
                                 ^~
Error reading command word
---
Line 0 of '<unknown>'
  <no position info for token>
Error parsing AndOr in ParseCommandTerm
---

        
Translating journal.sh
        Line 46 of '/home/andy/src/bashdb-4.4-0.92/lib/journal.sh'
      typeset decl_str; decl_str=$(declare -p $1)
                                              ^~
Variable names must be constant strings, got (CompoundWord parts:[(SimpleVarSub token:(token id:VSub_Number val:"$1" span_id:191))])
---
Line 0 of '<unknown>'
  <no position info for token>
Error parsing AndOr in ParseCommandTerm
---
Line 0 of '<unknown>'
  <no position info for token>
Error parsing commmand list in command sub
---
Line 46 of '/home/andy/src/bashdb-4.4-0.92/lib/journal.sh'
      typeset decl_str; decl_str=$(declare -p $1)
                                 ^~
Error reading command word
---
Line 0 of '<unknown>'
  <no position info for token>
Error parsing AndOr in ParseCommandTerm
---