OSH (and common libraries)

This is the input to the translators, written in statically-typed Python. Note that bash is at least 140K lines of code, and OSH implements a large part of bash and more.

bin/oils_for_unix.py                            263
builtin/assign_osh.py                           643
builtin/bracket_osh.py                          291
builtin/completion_osh.py                       513
builtin/dirs_osh.py                             349
builtin/io_osh.py                               142
builtin/misc_osh.py                             127
builtin/printf_osh.py                           600
builtin/process_osh.py                          816
builtin/pure_osh.py                             593
builtin/read_osh.py                             530
builtin/readline_osh.py                         473
builtin/trap_osh.py                             411
core/alloc.py                                   211
core/bash_impl.py                               629
core/comp_ui.py                                 586
core/completion.py                            1,529
core/dev.py                                     764
core/error.py                                   369
core/executor.py                              1,063
core/main_loop.py                               487
core/num.py                                      24
core/optview.py                                  57
core/process.py                               2,242
core/pyos.py                                    326
core/pyutil.py                                  222
core/runtime.asdl                               196
core/sh_init.py                                 324
core/shell.py                                 1,308
core/state.py                                 3,054
core/util.py                                    170
core/value.asdl                                 236
core/vm.py                                      542
display/ansi.py                                  14
display/pp_hnode.py                             309
display/pp_value.py                             350
display/pretty.asdl                              44
display/pretty.py                               332
display/ui.py                                   615
frontend/args.py                                708
frontend/builtin_def.py                         171
frontend/consts.py                              409
frontend/flag_def.py                            602
frontend/flag_spec.py                           356
frontend/flag_util.py                            69
frontend/id_kind_def.py                         816
frontend/lexer.py                               515
frontend/lexer_def.py                         1,131
frontend/location.py                            616
frontend/match.py                               331
frontend/option_def.py                          441
frontend/parse_lib.py                           409
frontend/py_readline.py                         178
frontend/reader.py                              280
frontend/signal_def.py                           92
frontend/syntax.asdl                            711
frontend/syntax_abbrev.py                       147
frontend/typed_args.py                          675
frontend/types.asdl                              61
osh/arith_parse.py                              197
osh/bool_parse.py                               302
osh/bool_stat.py                                135
osh/braces.py                                   539
osh/cmd_eval.py                               2,621
osh/cmd_parse.py                              2,889
osh/glob_.py                                    565
osh/history.py                                  193
osh/prompt.py                                   368
osh/sh_expr_eval.py                           1,309
osh/split.py                                    449
osh/string_ops.py                               554
osh/tdop.py                                     342
osh/word_.py                                    865
osh/word_compile.py                             310
osh/word_eval.py                              2,666
osh/word_parse.py                             2,365
pyext/fanos.c                                   119
pyext/fastfunc.c                                133
pyext/fastfunc.pyi                               11
pyext/fastlex.c                                 422
pyext/fastlex.pyi                                23
pyext/libc.c                                    441
pyext/libc.pyi                                   26
pyext/line_input.pyi                             58
pyext/posix_.pyi                                213

48,587 lines in 86 files