-
Notifications
You must be signed in to change notification settings - Fork 329
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
TypeScript support #150
Comments
@alex-dixon thanks for writing this up! To pick one version to implement first, I think we should go with the compile and run. I played around with compile time a few weeks ago and was dissatisfied. It seems things are trending towards just running Typescript files and makes more sense for us to build in that direction. What's your preference? Any problems you see with focusing on this first? cc @MadcowD |
@emfastic Sounds good to me. The AST code can be used for both and we have a start on it in the PR. I have a plan for the |
this is awesome! let me know if I can help! |
Is someone developing this? @alex-dixon |
@shivaylamba yes! Pr going here #162 |
We’re getting close to a release. Check out the PR for a sneak peak:
Run an example:
|
Ell TypeScript
Goals
Challenges
Implementation requirements
Given this we need to get the source code at compile time.
HOWEVER:
Compile only
DX
Instead of:
Users run:
Or
This compiles TS and all LMPs using a TypeScript compiler plugin.
A source file is created and imported at runtime by ell typescript that contains LMP names by file path relative to the compilation root. Note: Matching this key at runtime is sound only if we match on greatest common substring of the __filename / path to file.
Requirements
Compile+run
DX
Requirements
React with 👍 to help us prioritize this issue!
The text was updated successfully, but these errors were encountered: