Skip to content

riya-amemiya/aioc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

最強言語AIOC

Cの型とRubyを混ぜてスパイスにPythonを隠し味にJavaScriptを加えた言語

AIOの特徴

複数言語に変換可能

型がある

定数も勿論ある

今までにない気持ち悪いクールな書き方が可能

セミコンが必須

四則演算はコンパイル時に計算

チュートリアル

Hello World

log("Hello");
/*or*/
("Hello");
/*or*/
l"Hello";

変数

定数にする時は先頭にconst

char s = "Hello";
int age = 10;
float num = 13.1;

//定数
const char s = "Hello";
const int age = 10;
const float num = 13.1;

見にくいコード禁止!

処理は一行に一つ

//bat
log("Hello");("World");

//good
log("Hello");
("World");

関数はまるでRubyでPython

int a(int b){
    log(b);
    return 0;
}
/*or*/
int a(int b):
    log(b);
    return 0;
}
/*or*/
int a(int b):
    log(b);
    return 0;
end
/*or*/
int a(int b){
    log(b);
    return 0;
end

呼び出し

int a(int b){
    log(b);
    return 0;
}
a(8);

標準入力

const int name = input("名前を入力");

forとbreak

for (int i = 0;i < 10;i++):
    li;
    if (1 == i){
        break;
    end
end

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages