oilshell.org

Side By Side Lines Parsed? Parse Process Time (secs) Translated? Filename
view 39 OK 0.115893 FAIL lambda.sh
view 43 OK 0.116786 FAIL let.sh
view 34 OK 0.115277 FAIL letstar.sh
view 29 OK 0.114915 OK test.sh

stderr

Translating let.sh
        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 648, in DoCommand
    self.DoShAssignment(node, at_top_level, local_symbols)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 536, in DoShAssignment
    self.DoWordAsExpr(pair.rhs, local_symbols)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 958, in DoWordAsExpr
    self.DoWordInCommand(node, local_symbols)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 1113, in DoWordInCommand
    self.DoWordPart(part, local_symbols)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 1292, in DoWordPart
    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 letstar.sh
        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 648, in DoCommand
    self.DoShAssignment(node, at_top_level, local_symbols)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 536, in DoShAssignment
    self.DoWordAsExpr(pair.rhs, local_symbols)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 958, in DoWordAsExpr
    self.DoWordInCommand(node, local_symbols)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 1113, in DoWordInCommand
    self.DoWordPart(part, local_symbols)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 1292, in DoWordPart
    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 lambda.sh
        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 648, in DoCommand
    self.DoShAssignment(node, at_top_level, local_symbols)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 536, in DoShAssignment
    self.DoWordAsExpr(pair.rhs, local_symbols)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 958, in DoWordAsExpr
    self.DoWordInCommand(node, local_symbols)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 1113, in DoWordInCommand
    self.DoWordPart(part, local_symbols)
  File "/home/andy/git/oilshell/oil/tools/osh2oil.py", line 1292, in DoWordPart
    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