Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support python #60845

Open
1 task done
STofone opened this issue Dec 23, 2024 · 2 comments
Open
1 task done

Support python #60845

STofone opened this issue Dec 23, 2024 · 2 comments
Labels
Out of Scope This idea sits outside of the TypeScript language design constraints

Comments

@STofone
Copy link

STofone commented Dec 23, 2024

Acknowledgement

  • I acknowledge that issues using this template may be closed without further explanation at the maintainer's discretion.

Comment

typescript makes js like an optional static language, and I hope to use it in python as well.
I make a topic in python

@alextraub
Copy link

I'm confused what you're trying to achieve here. Are you looking for a type checking layer for python? Or are you actually trying to use typescript in Python?

If the first, a quick google search brought up mypy: https://github.com/python/mypy

If the second, that fundamentally wouldn't work. Python syntax rules are so different from JavaScript the ASTs wouldn't look even remotely similar. You need a language specific solution.

@jakebailey
Copy link
Member

jakebailey commented Dec 26, 2024

Use https://github.com/microsoft/pyright to typecheck, and any language proposals to Python should be made to Python, not TypeScript

@jakebailey jakebailey added the Out of Scope This idea sits outside of the TypeScript language design constraints label Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Out of Scope This idea sits outside of the TypeScript language design constraints
Projects
None yet
Development

No branches or pull requests

3 participants