Inspiration
React is an extremely popular web framework. Python is an extremely popular programming language. Building a Python-to-React transpiler would expose web development to lots of new developers.
What it does
Add the linespyxyc-setup then pyxyc in your workflow to compile Python(-like) syntax (with JSX extensions) into JavaScript react!
How I built it
The compiled binaries pyxyc-darwin and pyxyc-linux were built from OCaml source.
Challenges I ran into
The most difficult aspect was getting relative paths right! And to display them in a useful format to the user (considering that the package will reside in the node_modules directory, which is a level removed from the user's source directory)
Accomplishments that I'm proud of
Publishing to npmjs.com :D
What I learned
What's next for react-python
Python classes!
Built With
- javascript
- node.js
- npm
- ocaml
- ocamlyacc
- python
- react

Log in or sign up for Devpost to join the conversation.