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                            212
builtin/assign_osh.py                           654
builtin/bracket_osh.py                          292
builtin/completion_osh.py                       513
builtin/dirs_osh.py                             349
builtin/io_osh.py                               142
builtin/misc_osh.py                             127
builtin/printf_osh.py                           552
builtin/process_osh.py                          685
builtin/pure_osh.py                             588
builtin/read_osh.py                             536
builtin/readline_osh.py                         378
builtin/trap_osh.py                             322
core/alloc.py                                   221
core/bash_impl.py                               631
core/comp_ui.py                                 585
core/completion.py                            1,529
core/dev.py                                     767
core/error.py                                   369
core/executor.py                              1,053
core/main_loop.py                               484
core/num.py                                      24
core/optview.py                                  58
core/process.py                               2,182
core/pyos.py                                    326
core/pyutil.py                                  225
core/runtime.asdl                               193
core/sh_init.py                                 320
core/shell.py                                 1,297
core/state.py                                 3,051
core/util.py                                    172
core/value.asdl                                 236
core/vm.py                                      528
display/ansi.py                                  15
display/pp_hnode.py                             311
display/pp_value.py                             354
display/pretty.asdl                              44
display/pretty.py                               333
display/ui.py                                   649
frontend/args.py                                698
frontend/builtin_def.py                         171
frontend/consts.py                              409
frontend/flag_def.py                            588
frontend/flag_spec.py                           356
frontend/flag_util.py                            69
frontend/id_kind_def.py                         813
frontend/lexer.py                               455
frontend/lexer_def.py                         1,142
frontend/location.py                            598
frontend/match.py                               310
frontend/option_def.py                          441
frontend/parse_lib.py                           409
frontend/py_readline.py                         178
frontend/reader.py                              280
frontend/signal_def.py                           94
frontend/syntax.asdl                            702
frontend/syntax_abbrev.py                       146
frontend/typed_args.py                          675
frontend/types.asdl                              61
osh/arith_parse.py                              197
osh/bool_parse.py                               272
osh/bool_stat.py                                135
osh/braces.py                                   539
osh/cmd_eval.py                               2,582
osh/cmd_parse.py                              2,879
osh/glob_.py                                    511
osh/history.py                                  193
osh/prompt.py                                   368
osh/sh_expr_eval.py                           1,309
osh/split.py                                    319
osh/string_ops.py                               554
osh/tdop.py                                     342
osh/word_.py                                    828
osh/word_compile.py                             309
osh/word_eval.py                              2,696
osh/word_parse.py                             2,269
pyext/fanos.c                                   119
pyext/fastfunc.c                                133
pyext/fastfunc.pyi                               11
pyext/fastlex.c                                 385
pyext/fastlex.pyi                                21
pyext/libc.c                                    441
pyext/libc.pyi                                   26
pyext/line_input.pyi                             58
pyext/posix_.pyi                                210

47,608 lines in 86 files