oilshell.org

Side By Side Lines Parsed? Parse Process Time (secs) Translated? Filename
view 45 OK 0.151601 FAIL filelock
view 22 OK 0.109688 OK hilow_broken
view 22 OK 0.114605 OK hilow_fixed
view 27 OK 0.13207 OK initializeANSI
view 52 OK 0.130956 OK inpath
view 43 OK 0.134176 OK library_test
view 66 OK 0.135617 OK nicenumber
view 45 OK 0.134576 FAIL normdate
view 17 OK 0.110345 FAIL scriptbc
view 92 OK 0.150381 FAIL valid-date
view 32 OK 0.115546 OK validalnum
view 74 OK 0.151194 FAIL validfloat
view 52 OK 0.170277 FAIL validint

stderr

Translating scriptbc
        Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 358, in <module>
    sys.exit(main(sys.argv))
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 301, in main
    return AppBundleMain(argv)
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 272, in AppBundleMain
    return OshCommandMain(main_argv)
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 156, in OshCommandMain
    osh2oil.PrintAsOil(arena, node)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 80, in PrintAsOil
    fixer.DoCommand(node, None, at_top_level=True)  # no local symbols yet
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 572, in DoCommand
    self.DoCommand(child, local_symbols, at_top_level=at_top_level)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 635, in DoCommand
    self.DoRedirect(r, local_symbols)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 344, in DoRedirect
    raise AssertionError(node.__class__.__name__)
AssertionError: redir

        
Parsing hilow_broken
          number=$(( $$ % $biggest )    # random number, between 1 and $biggest
                            ^~~~
'_tmp/wild/src/books/wicked_cool_shell_scripts_2e/1/hilow_broken':7: Expected second ) to end arith sub

        
Translating hilow_broken
          number=$(( $$ % $biggest )    # random number, between 1 and $biggest
                            ^~~~
'_tmp/wild/src/books/wicked_cool_shell_scripts_2e/1/hilow_broken':7: Expected second ) to end arith sub

        
Translating normdate
        Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 358, in <module>
    sys.exit(main(sys.argv))
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 301, in main
    return AppBundleMain(argv)
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 272, in AppBundleMain
    return OshCommandMain(main_argv)
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 156, in OshCommandMain
    osh2oil.PrintAsOil(arena, node)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 80, in PrintAsOil
    fixer.DoCommand(node, None, at_top_level=True)  # no local symbols yet
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 739, in DoCommand
    self.DoCommand(child, new_local_symbols)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 900, in DoCommand
    self.DoCommand(child, local_symbols)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 669, in DoCommand
    self.DoCommand(node.child, local_symbols)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 635, in DoCommand
    self.DoRedirect(r, local_symbols)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 344, in DoRedirect
    raise AssertionError(node.__class__.__name__)
AssertionError: redir

        
Translating filelock
        Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 358, in <module>
    sys.exit(main(sys.argv))
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 301, in main
    return AppBundleMain(argv)
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 272, in AppBundleMain
    return OshCommandMain(main_argv)
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 156, in OshCommandMain
    osh2oil.PrintAsOil(arena, node)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 80, in PrintAsOil
    fixer.DoCommand(node, None, at_top_level=True)  # no local symbols yet
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 572, in DoCommand
    self.DoCommand(child, local_symbols, at_top_level=at_top_level)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 844, in DoCommand
    self.DoCommand(child, local_symbols)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 635, in DoCommand
    self.DoRedirect(r, local_symbols)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 344, in DoRedirect
    raise AssertionError(node.__class__.__name__)
AssertionError: redir

        
Translating validint
        Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 358, in <module>
    sys.exit(main(sys.argv))
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 301, in main
    return AppBundleMain(argv)
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 272, in AppBundleMain
    return OshCommandMain(main_argv)
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 156, in OshCommandMain
    osh2oil.PrintAsOil(arena, node)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 80, in PrintAsOil
    fixer.DoCommand(node, None, at_top_level=True)  # no local symbols yet
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 739, in DoCommand
    self.DoCommand(child, new_local_symbols)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 844, in DoCommand
    self.DoCommand(child, local_symbols)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 669, in DoCommand
    self.DoCommand(node.child, local_symbols)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 635, in DoCommand
    self.DoRedirect(r, local_symbols)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 344, in DoRedirect
    raise AssertionError(node.__class__.__name__)
AssertionError: redir

        
Translating validfloat
        Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 358, in <module>
    sys.exit(main(sys.argv))
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 301, in main
    return AppBundleMain(argv)
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 272, in AppBundleMain
    return OshCommandMain(main_argv)
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 156, in OshCommandMain
    osh2oil.PrintAsOil(arena, node)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 80, in PrintAsOil
    fixer.DoCommand(node, None, at_top_level=True)  # no local symbols yet
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 572, in DoCommand
    self.DoCommand(child, local_symbols, at_top_level=at_top_level)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 739, in DoCommand
    self.DoCommand(child, new_local_symbols)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 844, in DoCommand
    self.DoCommand(child, local_symbols)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 844, in DoCommand
    self.DoCommand(child, local_symbols)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 635, in DoCommand
    self.DoRedirect(r, local_symbols)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 344, in DoRedirect
    raise AssertionError(node.__class__.__name__)
AssertionError: redir

        
Translating valid-date
        Traceback (most recent call last):
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 358, in <module>
    sys.exit(main(sys.argv))
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 301, in main
    return AppBundleMain(argv)
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 272, in AppBundleMain
    return OshCommandMain(main_argv)
  File "/home/andy/git/oilshell/oil/bin/oil.py", line 156, in OshCommandMain
    osh2oil.PrintAsOil(arena, node)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 80, in PrintAsOil
    fixer.DoCommand(node, None, at_top_level=True)  # no local symbols yet
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 572, in DoCommand
    self.DoCommand(child, local_symbols, at_top_level=at_top_level)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 739, in DoCommand
    self.DoCommand(child, new_local_symbols)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 900, in DoCommand
    self.DoCommand(child, local_symbols)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 669, in DoCommand
    self.DoCommand(node.child, local_symbols)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 635, in DoCommand
    self.DoRedirect(r, local_symbols)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 344, in DoRedirect
    raise AssertionError(node.__class__.__name__)
AssertionError: redir