LoginSignup
2
1

More than 5 years have passed since last update.

mruby覚え書き

Last updated at Posted at 2015-09-10

概要

mruby覚書です。常時更新です。

インストール

ソースから入れる

### mrubyをclone
$ git clone https://github.com/mruby/mruby.git

### mrubyをビルド
cd mruby
ruby ./minirake

実行

### 適当なディレクトリに移動
$ cd ..

### テストスクリプトの作成
$ vi mruby_test.rb
=======================================
p "HelloWorld"
=======================================

### 実行
$ mruby/bin/mruby mruby_test.rb
=======================================
"HelloWorld"
=======================================

### コンパイルしてできたmrbファイルを実行
$ mruby/bin/mrbc mruby_test.rb
$ mruby/bin/mruby -b mruby_test.mrb
=======================================
"HelloWorld"
=======================================

[作成中] Arduinoで使う

https://github.com/kyab/mruby-arduino
を利用。

統合開発環境は1.5.6-r2を使う

インストール

参考

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