├── .gitignore ├── compiler ├── __init__.py ├── binop.py ├── call.py ├── compare.py ├── constants.py ├── context.py ├── control_flow.py ├── functiondef.py ├── id.py ├── importdef.py ├── indexing.py ├── parser.py ├── static_transforms.py ├── structdef.py ├── translation_unit.py ├── type_system.py ├── typeof.py ├── unaryop.py └── variabledef.py ├── kpm.py ├── kpm ├── __init__.py ├── cli.py ├── commands │ ├── create.py │ ├── install.py │ └── remove.py ├── package_def.py ├── project_context.py ├── repo.py ├── requirements.py └── xreader.py ├── legacy_compiler ├── codegen.py ├── equivalences.py ├── header.py ├── sysnake_builtins.py └── types.py ├── old_src ├── codegen │ └── __init__.py ├── equivalences │ └── __init__.py ├── infering │ └── __init__.py ├── sysnake.py └── sysnake_builtins │ └── __init__.py ├── sysnake.py └── tests ├── basic_io.py ├── basic_io.py.c ├── basic_op.py └── basic_unary.py /.gitignore: -------------------------------------------------------------------------------- 1 | __pycache__ 2 | *.out 3 | tests/ -------------------------------------------------------------------------------- /compiler/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /compiler/binop.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaemonOnUnix/Chython/HEAD/compiler/binop.py -------------------------------------------------------------------------------- /compiler/call.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaemonOnUnix/Chython/HEAD/compiler/call.py -------------------------------------------------------------------------------- /compiler/compare.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaemonOnUnix/Chython/HEAD/compiler/compare.py -------------------------------------------------------------------------------- /compiler/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaemonOnUnix/Chython/HEAD/compiler/constants.py -------------------------------------------------------------------------------- /compiler/context.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaemonOnUnix/Chython/HEAD/compiler/context.py -------------------------------------------------------------------------------- /compiler/control_flow.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaemonOnUnix/Chython/HEAD/compiler/control_flow.py -------------------------------------------------------------------------------- /compiler/functiondef.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaemonOnUnix/Chython/HEAD/compiler/functiondef.py -------------------------------------------------------------------------------- /compiler/id.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaemonOnUnix/Chython/HEAD/compiler/id.py -------------------------------------------------------------------------------- /compiler/importdef.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaemonOnUnix/Chython/HEAD/compiler/importdef.py -------------------------------------------------------------------------------- /compiler/indexing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaemonOnUnix/Chython/HEAD/compiler/indexing.py -------------------------------------------------------------------------------- /compiler/parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaemonOnUnix/Chython/HEAD/compiler/parser.py -------------------------------------------------------------------------------- /compiler/static_transforms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaemonOnUnix/Chython/HEAD/compiler/static_transforms.py -------------------------------------------------------------------------------- /compiler/structdef.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaemonOnUnix/Chython/HEAD/compiler/structdef.py -------------------------------------------------------------------------------- /compiler/translation_unit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaemonOnUnix/Chython/HEAD/compiler/translation_unit.py -------------------------------------------------------------------------------- /compiler/type_system.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaemonOnUnix/Chython/HEAD/compiler/type_system.py -------------------------------------------------------------------------------- /compiler/typeof.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaemonOnUnix/Chython/HEAD/compiler/typeof.py -------------------------------------------------------------------------------- /compiler/unaryop.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaemonOnUnix/Chython/HEAD/compiler/unaryop.py -------------------------------------------------------------------------------- /compiler/variabledef.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaemonOnUnix/Chython/HEAD/compiler/variabledef.py -------------------------------------------------------------------------------- /kpm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaemonOnUnix/Chython/HEAD/kpm.py -------------------------------------------------------------------------------- /kpm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /kpm/cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaemonOnUnix/Chython/HEAD/kpm/cli.py -------------------------------------------------------------------------------- /kpm/commands/create.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaemonOnUnix/Chython/HEAD/kpm/commands/create.py -------------------------------------------------------------------------------- /kpm/commands/install.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaemonOnUnix/Chython/HEAD/kpm/commands/install.py -------------------------------------------------------------------------------- /kpm/commands/remove.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaemonOnUnix/Chython/HEAD/kpm/commands/remove.py -------------------------------------------------------------------------------- /kpm/package_def.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaemonOnUnix/Chython/HEAD/kpm/package_def.py -------------------------------------------------------------------------------- /kpm/project_context.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaemonOnUnix/Chython/HEAD/kpm/project_context.py -------------------------------------------------------------------------------- /kpm/repo.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /kpm/requirements.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaemonOnUnix/Chython/HEAD/kpm/requirements.py -------------------------------------------------------------------------------- /kpm/xreader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaemonOnUnix/Chython/HEAD/kpm/xreader.py -------------------------------------------------------------------------------- /legacy_compiler/codegen.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaemonOnUnix/Chython/HEAD/legacy_compiler/codegen.py -------------------------------------------------------------------------------- /legacy_compiler/equivalences.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaemonOnUnix/Chython/HEAD/legacy_compiler/equivalences.py -------------------------------------------------------------------------------- /legacy_compiler/header.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaemonOnUnix/Chython/HEAD/legacy_compiler/header.py -------------------------------------------------------------------------------- /legacy_compiler/sysnake_builtins.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaemonOnUnix/Chython/HEAD/legacy_compiler/sysnake_builtins.py -------------------------------------------------------------------------------- /legacy_compiler/types.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaemonOnUnix/Chython/HEAD/legacy_compiler/types.py -------------------------------------------------------------------------------- /old_src/codegen/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /old_src/equivalences/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /old_src/infering/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /old_src/sysnake.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaemonOnUnix/Chython/HEAD/old_src/sysnake.py -------------------------------------------------------------------------------- /old_src/sysnake_builtins/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /sysnake.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaemonOnUnix/Chython/HEAD/sysnake.py -------------------------------------------------------------------------------- /tests/basic_io.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaemonOnUnix/Chython/HEAD/tests/basic_io.py -------------------------------------------------------------------------------- /tests/basic_io.py.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaemonOnUnix/Chython/HEAD/tests/basic_io.py.c -------------------------------------------------------------------------------- /tests/basic_op.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaemonOnUnix/Chython/HEAD/tests/basic_op.py -------------------------------------------------------------------------------- /tests/basic_unary.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DaemonOnUnix/Chython/HEAD/tests/basic_unary.py --------------------------------------------------------------------------------