oilshell.org

Side By Side Lines Parsed? Parse Process Time (secs) Internal Parse Time (secs) Parsed Lines/sec Translated? Filename
view 139 OK 0.29 0.29 479.3 FAIL crossexec.sh
view 460 FAIL 0.21 - - FAIL ditto.sh
view 179 OK 0.29 0.29 617.2 OK execrate.sh
view 98 OK 0.19 0.19 515.8 OK filter.sh
view 207 FAIL 0.14 - - FAIL hurl.sh
view 4,668 OK 8.53 8.53 547.2 FAIL iffe.sh
view 43 OK 0.16 0.16 268.8 OK ignore.sh
view 267 OK 0.4 0.4 667.5 FAIL mamprobe.sh
view 80 OK 0.18 0.18 444.4 OK mkdir.sh
view 641 FAIL 0.25 - - FAIL mktest.sh
view 30 OK 0.15 0.15 200.0 OK mprobe.sh
view 7,347 OK 14.89 14.89 493.4 FAIL package.sh
view 1,463 FAIL 0.16 - - FAIL regress.sh
view 479 FAIL 0.31 - - FAIL rt.sh
view 42 OK 0.12 0.12 350.0 OK silent.sh

stderr

Translating package.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 777, in DoCommand
    self.cursor.PrintUntil(rparen_spid)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 39, in PrintUntil
    span = self.arena.GetLineSpan(span_id)
  File "/home/andy/git/oil/bin/../core/alloc.py", line 97, in GetLineSpan
    assert span_id >= 0, span_id
AssertionError: -1

        
Translating crossexec.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 777, in DoCommand
    self.cursor.PrintUntil(rparen_spid)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 39, in PrintUntil
    span = self.arena.GetLineSpan(span_id)
  File "/home/andy/git/oil/bin/../core/alloc.py", line 97, in GetLineSpan
    assert span_id >= 0, span_id
AssertionError: -1

        
Parsing ditto.sh
        Line 183 of '/home/andy/git/other/ast/src/cmd/INIT/ditto.sh'
  else	(cd $src_dir && read && eval "${tw[@]}") 2>&1 |&
      	 ^~
Expected word type Right_FuncDef, got (CompoundWord parts:[(LiteralPart token:(token id:Lit_Chars val:cd span_id:1114))])
---
Line 0 of '<unknown>'
  <no position info for token>
Error parsing command after pipe
---
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 ditto.sh
        Line 183 of '/home/andy/git/other/ast/src/cmd/INIT/ditto.sh'
  else	(cd $src_dir && read && eval "${tw[@]}") 2>&1 |&
      	 ^~
Expected word type Right_FuncDef, got (CompoundWord parts:[(LiteralPart token:(token id:Lit_Chars val:cd span_id:1114))])
---
Line 0 of '<unknown>'
  <no position info for token>
Error parsing command after pipe
---
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
---

        
Parsing rt.sh
        Line 278 of '/home/andy/git/other/ast/src/cmd/INIT/rt.sh'
  	'## ---'*(-)'--- ##')
  	         ^
Expected word type Right_CasePat, got (TokenWord token:(token id:Op_LParen val:"(" span_id:1896))
---
Line 0 of '<unknown>'
  <no position info for token>
ParseCase: error parsing case list
---
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 command after pipe
---
Line 0 of '<unknown>'
  <no position info for token>
Error parsing AndOr in ParseCommandTerm
---

        
Translating rt.sh
        Line 278 of '/home/andy/git/other/ast/src/cmd/INIT/rt.sh'
  	'## ---'*(-)'--- ##')
  	         ^
Expected word type Right_CasePat, got (TokenWord token:(token id:Op_LParen val:"(" span_id:1896))
---
Line 0 of '<unknown>'
  <no position info for token>
ParseCase: error parsing case list
---
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 command after pipe
---
Line 0 of '<unknown>'
  <no position info for token>
Error parsing AndOr in ParseCommandTerm
---

        
Translating mamprobe.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 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 777, in DoCommand
    self.cursor.PrintUntil(rparen_spid)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 39, in PrintUntil
    span = self.arena.GetLineSpan(span_id)
  File "/home/andy/git/oil/bin/../core/alloc.py", line 97, in GetLineSpan
    assert span_id >= 0, span_id
AssertionError: -1

        
Parsing hurl.sh
        Line 99 of '/home/andy/git/other/ast/src/cmd/INIT/hurl.sh'
  	*:+([0-9]))
  	   ^
Expected word type Right_CasePat, got (TokenWord token:(token id:Op_LParen val:"(" span_id:510))
---
Line 0 of '<unknown>'
  <no position info for token>
ParseCase: error parsing case list
---
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 hurl.sh
        Line 99 of '/home/andy/git/other/ast/src/cmd/INIT/hurl.sh'
  	*:+([0-9]))
  	   ^
Expected word type Right_CasePat, got (TokenWord token:(token id:Op_LParen val:"(" span_id:510))
---
Line 0 of '<unknown>'
  <no position info for token>
ParseCase: error parsing case list
---
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
---

        
Parsing regress.sh
        Line 235 of '/home/andy/git/other/ast/src/cmd/INIT/regress.sh'
  			!($KEEP))	j="$j $i" ;;
  			 ^
Expected word type Right_CasePat, got (TokenWord token:(token id:Op_LParen val:"(" span_id:1432))
---
Line 0 of '<unknown>'
  <no position info for token>
ParseCase: error parsing case list
---
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>
ParseCase: error parsing case list
---
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 regress.sh
        Line 235 of '/home/andy/git/other/ast/src/cmd/INIT/regress.sh'
  			!($KEEP))	j="$j $i" ;;
  			 ^
Expected word type Right_CasePat, got (TokenWord token:(token id:Op_LParen val:"(" span_id:1432))
---
Line 0 of '<unknown>'
  <no position info for token>
ParseCase: error parsing case list
---
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>
ParseCase: error parsing case list
---
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
---

        
Parsing mktest.sh
        Line 209 of '/home/andy/git/other/ast/src/cmd/INIT/mktest.sh'
  	if	(( ${#STATE.RESET[@]} ))
  	  	           ^
Expected } after length expression, got (token id:Unknown_Tok val:. span_id:1251)
---
Line 209 of '/home/andy/git/other/ast/src/cmd/INIT/mktest.sh'
  	if	(( ${#STATE.RESET[@]} ))
  	  	           ^
Unknown token in arith context: (token id:Unknown_Tok val:. span_id:1251)
---
Line 209 of '/home/andy/git/other/ast/src/cmd/INIT/mktest.sh'
  	if	(( ${#STATE.RESET[@]} ))
  	  	           ^
Expected } after length expression, got (token id:Unknown_Tok val:. span_id:1251)
---
Line 209 of '/home/andy/git/other/ast/src/cmd/INIT/mktest.sh'
  	if	(( ${#STATE.RESET[@]} ))
  	  	           ^
Unknown token in arith context: (token id:Unknown_Tok val:. span_id:1251)
---
Line 0 of '<unknown>'
  <no position info for token>
Error reading arith word in ArithParser
---
Line 0 of '<unknown>'
  <no position info for token>

---
Line 0 of '<unknown>'
  <no position info for token>
Error parsing dparen statement
---
Line 209 of '/home/andy/git/other/ast/src/cmd/INIT/mktest.sh'
  	if	(( ${#STATE.RESET[@]} ))
  	  	^~
Error parsing ((
---
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 mktest.sh
        Line 209 of '/home/andy/git/other/ast/src/cmd/INIT/mktest.sh'
  	if	(( ${#STATE.RESET[@]} ))
  	  	           ^
Expected } after length expression, got (token id:Unknown_Tok val:. span_id:1251)
---
Line 209 of '/home/andy/git/other/ast/src/cmd/INIT/mktest.sh'
  	if	(( ${#STATE.RESET[@]} ))
  	  	           ^
Unknown token in arith context: (token id:Unknown_Tok val:. span_id:1251)
---
Line 209 of '/home/andy/git/other/ast/src/cmd/INIT/mktest.sh'
  	if	(( ${#STATE.RESET[@]} ))
  	  	           ^
Expected } after length expression, got (token id:Unknown_Tok val:. span_id:1251)
---
Line 209 of '/home/andy/git/other/ast/src/cmd/INIT/mktest.sh'
  	if	(( ${#STATE.RESET[@]} ))
  	  	           ^
Unknown token in arith context: (token id:Unknown_Tok val:. span_id:1251)
---
Line 0 of '<unknown>'
  <no position info for token>
Error reading arith word in ArithParser
---
Line 0 of '<unknown>'
  <no position info for token>

---
Line 0 of '<unknown>'
  <no position info for token>
Error parsing dparen statement
---
Line 209 of '/home/andy/git/other/ast/src/cmd/INIT/mktest.sh'
  	if	(( ${#STATE.RESET[@]} ))
  	  	^~
Error parsing ((
---
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 iffe.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 777, in DoCommand
    self.cursor.PrintUntil(rparen_spid)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 39, in PrintUntil
    span = self.arena.GetLineSpan(span_id)
  File "/home/andy/git/oil/bin/../core/alloc.py", line 97, in GetLineSpan
    assert span_id >= 0, span_id
AssertionError: -1