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                            198
builtin/assign_osh.py                           564
builtin/bracket_osh.py                          285
builtin/completion_osh.py                       508
builtin/dirs_osh.py                             336
builtin/io_osh.py                               181
builtin/meta_osh.py                             469
builtin/misc_osh.py                             115
builtin/printf_osh.py                           504
builtin/process_osh.py                          381
builtin/pure_osh.py                             483
builtin/read_osh.py                             524
builtin/readline_osh.py                         142
builtin/trap_osh.py                             274
core/alloc.py                                   320
core/ansi.py                                     14
core/comp_ui.py                                 584
core/completion.py                            1,503
core/dev.py                                     766
core/error.py                                   343
core/executor.py                                692
core/main_loop.py                               395
core/num.py                                      99
core/optview.py                                  58
core/process.py                               1,944
core/pyos.py                                    402
core/pyutil.py                                  214
core/runtime.asdl                               173
core/shell.py                                 1,118
core/state.py                                 2,402
core/ui.py                                      523
core/util.py                                    168
core/value.asdl                                 171
core/vm.py                                      336
frontend/args.py                                659
frontend/builtin_def.py                         162
frontend/consts.py                              340
frontend/flag_def.py                            513
frontend/flag_spec.py                           349
frontend/flag_util.py                            69
frontend/id_kind_def.py                         796
frontend/lexer.py                               459
frontend/lexer_def.py                         1,111
frontend/location.py                            571
frontend/match.py                               292
frontend/option_def.py                          399
frontend/parse_lib.py                           405
frontend/py_readline.py                         104
frontend/reader.py                              256
frontend/signal_def.py                           94
frontend/syntax.asdl                            680
frontend/syntax_abbrev.py                       141
frontend/typed_args.py                          561
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,170
osh/cmd_parse.py                              2,773
osh/glob_.py                                    494
osh/history.py                                  193
osh/prompt.py                                   373
osh/sh_expr_eval.py                           1,118
osh/split.py                                    311
osh/string_ops.py                               601
osh/tdop.py                                     342
osh/word_.py                                    805
osh/word_compile.py                             280
osh/word_eval.py                              2,374
osh/word_parse.py                             2,195
pyext/fanos.c                                   119
pyext/fastfunc.c                                107
pyext/fastfunc.pyi                                8
pyext/fastlex.c                                 351
pyext/fastlex.pyi                                19
pyext/libc.c                                    416
pyext/libc.pyi                                   18
pyext/line_input.pyi                             32
pyext/posix_.pyi                                210

41,663 lines in 81 files