0
0

NeosVR コンパイラ その8

Last updated at Posted at 2023-09-25

概要

NeosVRのオブジェクトを外部で生成するコンパイラを開発した。
俺コードの言語仕様を見直しする。

俺コードの言語仕様

  • use Ore test0
    rootのオブジェクトを実体化して、「test0」と名前を付ける。

  • new LogiX.T
    LogiXオブジェクトの「T」を実体化する。

  • add LogiX.T
    LogiXオブジェクトの「T」をrootのChildrenにpushする。

  • {a} = LogiX.T
    aは、バーチャルワイヤーでLogiX.Tの出力に繋ぐ
    入力は無し。

  • {} = LogiX.Display a
    バーチャルワイヤーaを、LogiX.Displayの入力に繋ぐ
    出力は無し。

俺コードのサンプル

LogiXノード、TとDisplayを繋ぐコード。

use Ore test0
new LogiX.T
new LogiX.Display
{a} = LogiX.T
{} = LogiX.Display a
add LogiX.T
add LogiX.Display

以上。

0
0
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
0
0