Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gscript

この言語はGo言語風であり、javascriptにコンパイルされます。

開発状況は、やりたいことが見つかれば追記していきます。

開発状況

  • 変数宣言
  • 関数宣言
  • 関数呼び出し
  • Class
  • クラス呼び出し (new)
  • 非同期処理 (async, await)
  • 計算 & 比較 (+ - / * > < >= <= == !=)
  • for
  • printf
  • セミコロン任意化
  • 型の評価 (コンパイル時)
  • struct構文
  • prototypeチェーン
  • Objectチェーン
import path from "pathlib"

let a string = "a"
let b number = 0.2

func main() bool {
  return true
}

class Person {
  prop object = {}
  method(name string) string {}
}

for(let i number = 0; i < 10; i = i + 1) {}

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages