1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

この記事を読んでいるそこの皆さん!自作言語に興味はありませんか?
今回は自作コンパイル言語Muteを開発しようと思います。

1. 理想

Muteは超厳密な型付けをします。
これは筆者が静的型付け好きだからです。それ以外ありません。
例は:

index.mt
int x = 0;
int y = 10;
int c = x + y //err: int_zero and int_2 cannot be compared.
// 桁数でもエラーになります(?)

のようにします。(いるのかどうかもわからないけど趣味なので続行)

スペック

コンパイラ自体のバックエンドは llvm-ir + llcを使います。
言語はC++を使います。なのでメモリの自由度が比較的高いし、自由な設計ができると思うので。

最後に

今回は構想だけなので、ここで終わろうと思います
次回をお楽しみに!

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?