oilshell.org

Side By Side Lines Parsed? Parse Process Time (secs) Internal Parse Time (secs) Parsed Lines/sec Translated? Filename
view 53 OK 0.11 0.11 481.8 OK annotate.sh
view 44 OK 0.09 0.09 488.9 FAIL args.sh
view 37 OK 0.09 0.09 411.1 OK autoeval.sh
view 49 OK 0.12 0.12 408.3 OK autolist.sh
view 38 OK 0.1 0.1 380.0 OK basename.sh
view 31 OK 0.11 0.11 281.8 OK debug.sh
view 31 OK 0.08 0.08 387.5 OK debugging.sh
view 34 OK 0.1 0.1 340.0 OK different.sh
view 43 OK 0.09 0.09 477.8 OK dollar0.sh
view 64 OK 0.1 0.1 640.0 OK editing.sh
view 86 OK 0.15 0.15 573.3 FAIL highlight.sh
view 76 OK 0.13 0.13 584.6 OK history.sh
view 79 OK 0.13 0.13 607.7 OK linetrace.sh
view 54 OK 0.17 0.17 317.6 OK listsize.sh
view 29 OK 0.1 0.1 290.0 OK prompt.sh
view 48 OK 0.12 0.12 400.0 OK showcommand.sh
view 79 FAIL 0.13 - - FAIL style.sh
view 43 OK 0.09 0.09 477.8 OK trace-commands.sh
view 66 OK 0.1 0.1 660.0 OK tty.sh
view 45 OK 0.11 0.11 409.1 OK width.sh

stderr

Translating args.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 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 style.sh
        Line 66 of '/home/andy/src/bashdb-4.4-0.92/command/set_sub/style.sh'
  	typeset -a list=( $_Dbg_pygments_styles )
  	                  ^~~~~~~~~~~~~~~~~~~~~
Unexpected array literal: (CompoundWord
  parts: [
    (ArrayLiteralPart
      words: [
        (CompoundWord
          parts: [(SimpleVarSub token:(token id:VSub_Name val:"$_Dbg_pygments_styles" span_id:388))]
        )
      ]
    )
  ]
)
---
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
---
Line 0 of '<unknown>'
  <no position info for token>
Error parsing AndOr in ParseCommandTerm
---

        
Translating style.sh
        Line 66 of '/home/andy/src/bashdb-4.4-0.92/command/set_sub/style.sh'
  	typeset -a list=( $_Dbg_pygments_styles )
  	                  ^~~~~~~~~~~~~~~~~~~~~
Unexpected array literal: (CompoundWord
  parts: [
    (ArrayLiteralPart
      words: [
        (CompoundWord
          parts: [(SimpleVarSub token:(token id:VSub_Name val:"$_Dbg_pygments_styles" span_id:388))]
        )
      ]
    )
  ]
)
---
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
---
Line 0 of '<unknown>'
  <no position info for token>
Error parsing AndOr in ParseCommandTerm
---

        
Translating highlight.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