lynx   »   [go: up one dir, main page]

ラベル Gravity の投稿を表示しています。 すべての投稿を表示
ラベル Gravity の投稿を表示しています。 すべての投稿を表示

2022年10月26日水曜日

AlmaLinux 9/Rocky Linux 9でGravity言語をインストールする

Gravity言語は、軽量の動的型付け言語です。

ビルド&インストール方法 以下のコマンドを実行します。
sudo dnf -y groupinstall "Development Tools"

git clone https://github.com/marcobambini/gravity.git

sudo mv gravity /opt

cd /opt/gravity

make

sudo ln -s /opt/gravity/gravity /usr/local/bin/gravity

テスト実行
cd

cat << EOF > helloworld.gravity
func main()
{
  System.print("Hello World!");
}
EOF

gravity -q helloworld.gravity

関連情報 ・プロジェクトwebサイト
https://marcobambini.github.io/gravity/#/

2021年12月21日火曜日

Debian 11(Bullseye)でGravity言語をインストールする。

Gravity言語は、軽量の動的型付け言語です。Debian 11(Bullseye)にインストールするには、以下の手順を実行します。

ビルド&インストール方法 以下のコマンドを実行します。
sudo apt-get update

sudo apt-get -y install build-essential git

git clone https://github.com/marcobambini/gravity.git

sudo mv gravity /opt

cd /opt/gravity

make

sudo ln -s /opt/gravity/gravity /usr/local/bin/gravity

テスト実行 以下のコマンドで、Hello World!を表示します。
cd

cat << EOF > helloworld.gravity
func main()
{
  System.print("Hello World!");
}
EOF

gravity -q helloworld.gravity

関連情報 ・プロジェクトwebサイト
https://marcobambini.github.io/gravity/#/

2021年9月5日日曜日

Rocky Linux 8.4でGravity言語をインストールする

Gravity言語は、軽量の動的型付け言語です。

ビルド&インストール方法 以下のコマンドを実行します。
sudo dnf -y groupinstall "Development Tools"

git clone https://github.com/marcobambini/gravity.git

sudo mv gravity /opt

cd /opt/gravity

make

sudo ln -s /opt/gravity/gravity /usr/local/bin/gravity

テスト実行 以下のコマンドを実行してHello, Worldを実行します。
cd

cat << EOF > helloworld.gravity
func main()
{
  System.print("Hello World!");
}
EOF

gravity -q helloworld.gravity

関連情報 ・プロジェクトwebサイト
https://marcobambini.github.io/gravity/#/

2021年6月4日金曜日

AlmaLinux8.3でGravity言語をインストールする

Gravity言語は、軽量の動的型付け言語です。

ビルド&インストール方法 以下のコマンドを実行します。
sudo dnf -y groupinstall "Development Tools"

git clone https://github.com/marcobambini/gravity.git

sudo mv gravity /opt

cd /opt/gravity

make

sudo ln -s /opt/gravity/gravity /usr/local/bin/gravity

テスト実行 以下のコマンドでGravity言語でのHello Worldを実行します。
cd

cat << EOF > helloworld.gravity
func main()
{
  System.print("Hello World!");
}
EOF

gravity -q helloworld.gravity

関連情報 ・プロジェクトwebサイト
https://marcobambini.github.io/gravity/#/

2021年2月27日土曜日

CentOS 8-StreamでGravity言語をインストールする

Gravity言語は、軽量の動的型付け言語です。

ビルド&インストール方法 以下のコマンドを実行します。
sudo dnf -y groupinstall "Development Tools"

git clone https://github.com/marcobambini/gravity.git

sudo mv gravity /opt

cd /opt/gravity

make

sudo ln -s /opt/gravity/gravity /usr/local/bin/gravity

テスト実行 gravityでのHello Worldを実行します。
cd

cat << EOF > helloworld.gravity
func main()
{
  System.print("Hello World!");
}
EOF

gravity -q helloworld.gravity

〇関連情報
・プロジェクトwebサイト
https://marcobambini.github.io/gravity/#/

Лучший частный хостинг