oilshell.org

Side By Side Lines Parsed? Parse Process Time (secs) Internal Parse Time (secs) Parsed Lines/sec Translated? Filename
view 73 OK 0.18 0.18 405.6 OK configure.sh
view 63 OK 0.12 0.12 525.0 OK env.sh
view 36 OK 0.14 0.14 257.1 OK etcd-down.sh
view 60 OK 0.17 0.17 352.9 OK etcd-up.sh
view 28 OK 0.1 0.1 280.0 OK guestbook-down.sh
view 28 OK 0.11 0.11 254.5 OK guestbook-up.sh
view 23 OK 0.08 0.08 287.5 OK vitess-down.sh
view 165 OK 0.32 0.32 515.6 FAIL vitess-up.sh
view 28 OK 0.1 0.1 280.0 OK vtctld-down.sh
view 40 OK 0.1 0.1 400.0 OK vtctld-up.sh
view 28 OK 0.09 0.09 311.1 OK vtgate-down.sh
view 38 OK 0.14 0.14 271.4 OK vtgate-up.sh
view 51 OK 0.16 0.16 318.8 OK vttablet-down.sh
view 68 OK 0.19 0.19 357.9 OK vttablet-up.sh

stderr

Translating vitess-up.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 726, 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 838, 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 1167, in DoWordPart
    self.DoArithExpr(node.anode, local_symbols)
  File "/home/andy/git/oil/bin/../tools/osh2oil.py", line 1196, in DoArithExpr
    raise AssertionError(node.__class__.__name__)
AssertionError: TernaryOp