You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
The text was updated successfully, but these errors were encountered: