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

TypeScriptコンパイラに手をいれる方法を調べる #6

Closed
vvakame opened this issue Apr 28, 2015 · 2 comments
Closed

TypeScriptコンパイラに手をいれる方法を調べる #6

vvakame opened this issue Apr 28, 2015 · 2 comments
Assignees

Comments

@vvakame
Copy link
Owner

vvakame commented Apr 28, 2015

AST芸人を目指すぞ!

babelとか見たくASTの変換やら何やらができる仕組みを入れてみる。
最終的な野望としてはプラグイン作れるtsc作って流行らせる。

@vvakame vvakame self-assigned this Apr 28, 2015
@vvakame
Copy link
Owner Author

vvakame commented Apr 29, 2015

microsoft/TypeScript#2944 メモ。

@vvakame
Copy link
Owner Author

vvakame commented May 8, 2015

SourceFile#update とかいろいろあったけど効率よくAST組み替えるのはなかなかむずかしそうなので後日またリトライかなぁ…。
試作したもの。
https://gist.github.com/vvakame/9f7d1ccc759a41616809
http://goo.gl/qoimdq

@vvakame vvakame closed this as completed May 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant