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

propsal-typescript: support eval() #3

Open
frank-dspeed opened this issue May 20, 2022 · 0 comments
Open

propsal-typescript: support eval() #3

frank-dspeed opened this issue May 20, 2022 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@frank-dspeed
Copy link
Owner

frank-dspeed commented May 20, 2022

Problem

Typescript does not support eval so it is hard to get code into it programatical while coding we have the need to dynamical load and eval code in the ide

Solution

Support eval() and add the result to the ast

can at present be done via transpileFile inside a checker programm that will add that file to the ast
missing part is to have multiple ast views represenatations of the already created ast under diffrent conditions for example the same code can be in a file that use stric is enabled and if so it needs to be clear where that got started.

Motivation

imagin how cool that would be for api's lile the notebook api from vscode.

Related issues

@frank-dspeed frank-dspeed added enhancement New feature or request help wanted Extra attention is needed labels May 20, 2022
@frank-dspeed frank-dspeed changed the title typescript-proposal: support eval() propsal-typescript: support eval() May 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant