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による実装 #61

Closed
11 of 12 tasks
marihachi opened this issue Feb 25, 2023 · 2 comments
Closed
11 of 12 tasks

TypeScriptによる実装 #61

marihachi opened this issue Feb 25, 2023 · 2 comments

Comments

@marihachi
Copy link
Member

marihachi commented Feb 25, 2023

https://github.com/uguisu-dev/uguisu/tree/develop

Parser (および Scanner)

状況: 実装済み

ソースコードからASTを生成するモジュール

TODO

  • 連続したsuffix演算子
  • comment line
  • comment range
  • call args
  • special char (\nなど)
  • assign (+=など)

Analyzer

状況: 進行中

静的解析を行うモジュール

  • 型チェック
  • break文が使用できる場所かどうかのチェック

TODO

  • エラーメッセージを改善
  • function型変数 #69
  • break文が使用できる場所かどうかのチェック

Runner

状況: 実装済み

ASTとその他の情報を使ってスクリプトの実行を行うモジュール (インタプリタ)

TODO

  • 未定義の変数宣言
  • ビルトイン関数
  • 静的スコープにする
@marihachi
Copy link
Member Author

整数の演算にしたい

@marihachi
Copy link
Member Author

とりあえずClose

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