NetRay Compile - IDL Compiler - v0.1.1

Yes, CLI is planned, just haven’t had any time recently to do it, and I don’t fully understand rokit :sob:

1 Like

Hi there is an issue that APIs made by compiler uses ’ . ’ instead of ’ : ', I thought document means ’ : ’ and led to argument wrong. By the way old NetRay had few same issue but inside its own scripts too

1 Like

You’re correct I never properly showed it in the documentation

The intended method and correct one is

‘.’ So for example

‘Client.MyEvent.Fire()’

I’ll add a example in the documentation soon

This IDL Compiler is great! I had a hard time deciding whether to choose Blink or NetRay Compile.

After comparing both, I found that Blink is very stable and well-documented, making it a great choice for developers who want something reliable and easy to use. On the other hand, NetRay Compile offers noticeably better performance, with faster execution speed and slightly lower bandwidth usage.

However, NetRay Compile is still relatively new and in beta, so it may lack the maturity and ecosystem that Blink already has. If you prioritize stability and proven reliability, Blink is a solid option. But if you want cutting-edge performance and are okay with experimenting, NetRay Compile is currently the faster choice. Yet it is still great to use!!!

1 Like

Thank you, yes you’re right it’s still in beta but I hoped it was well documented for everyone with the new documentation :sob: hopefully it is it’s pretty similar to blink for compatibility with people who want to try it.

Hopefully soon I’ll be able to release the cli so people can use the compiler in vscode etc via rokit (still trying to understand how to use rokit)

For reliability, yes blink can be seen as mor reliable as it’s been out longer and used longer so others can find things that don’t work, hopefully as others try NetRay they can also find anything I’ve missed

NetRay Compile v0.1.1-cli.1 [BETA]

Summary

  • New CLI
  • Updated Documentation for CLI workflow

CLI

Install With Rokit
rokit add AstaWasTaken/NetRay-Compile@<version> netray

Compile a Schema
netray compile path/to/schema.idl --out-dir generated --scope NetRay

Note: Default CLI alias is NetRay-Compile. Doing netray or NetRay after NetRay-Compile@<version> will set the alias to netray/NetRay in the CLI for easier use.

netray --help for additional help, documentation also provides support