https://github.com/ccxt/crosspile
A cross-compiler from JavaScript to any language (currently, Python and PHP) // WORK IN PROGRESS (early stages)
https://github.com/ccxt/crosspile
Last synced: 10 months ago
JSON representation
A cross-compiler from JavaScript to any language (currently, Python and PHP) // WORK IN PROGRESS (early stages)
- Host: GitHub
- URL: https://github.com/ccxt/crosspile
- Owner: ccxt
- License: unlicense
- Created: 2017-09-06T22:13:58.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-01-22T11:29:24.000Z (over 2 years ago)
- Last Synced: 2025-06-14T01:54:09.286Z (11 months ago)
- Language: JavaScript
- Homepage:
- Size: 21.5 KB
- Stars: 61
- Watchers: 10
- Forks: 21
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# crosspile
A cross-compiler from JavaScript to any language (currently, Python and PHP).
**WORK IN PROGRESS (early stages, not usable/hackable yet)**
## Goal
To replace the current regexp-based [`transpile.js`](https://github.com/kroitor/ccxt/blob/master/transpile.js) script (that drives the multi-language support in the [CCXT Library](https://github.com/kroitor/ccxt/)) with a more robust AST-based solution.
## Current State
Trying to figure out how to do AST transformation properly, while maintaining a human-readable formatting and comments attached to proper places (which is not an easy thing to do...)
## Hacking The Project
Please keep in mind that at the moment we do not accept contributions, as the project structure is not established yet and everything changes rapidly, as we're experimenting with things.