JSX-like syntax extension #1582
pabloruizetc
announced in
Ideas
Replies: 1 comment
-
This is something we have thought about, but by not doing everything in Python, you miss out on some flexibility and end up recreating a different language of sorts. Not to say this is something we would never do, I think we would need to evaluate how exactly this would look. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This project is amazing! I wonder if you've thought about implementing a syntax extension like JSX does with JavaScript? A syntactic sugar for Python that allows you to write HTML-like markup inside a Python file. Something similar has been developed before (.pyxl). Only the .pyxl code would need to be transpiled to .py at build time. I think that it is totally in line with the project and that it can greatly improve the developer experience.
Beta Was this translation helpful? Give feedback.
All reactions