2
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?

偽中国語プログラミング言語を作った話

Last updated at Posted at 2025-01-05

言語の概要

・計算・変数定義・関数定義・オブジェクト定義などができる普通の言語
・漢字以外を使ってはいけない
・偽中国語っぽい記法

コード例

GCD

スクリーンショット 2025-01-05 8.11.43.png

フィボナッチ

スクリーンショット 2025-01-05 8.12.46.png

使い方

ビルド

git clone https://github.com/natsuakane/Wei-lang.git
cd Wei-lang
mkdir build
cd build
cmake ..
cmake --build .

実行

buildディレクトリ内で

./weilang ファイル名

文法

wiki参照

作った感想

どうやったら偽中国語っぽい文字列になるか考えるのが楽しかったです。

2
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
2
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?