Skip to content

Trying to do C# to Logix conversion. Got a first PoC working.

License

Notifications You must be signed in to change notification settings

vr-voyage/SharpLogix

Repository files navigation

About

sharplogix-first-tease.mp4

An attempt at converting C# to Logix

The generated script is sent manually

A special branch of my NeosVR Plugin is required : https://github.com/vr-voyage/voyage-neosvr-plugin/tree/SharpLogix

Also, a WebSocket server able to send the content of the generated files is required, at the moment.
I'm using my WebSocket Relay Server written with Godot https://github.com/vr-voyage/websocket-relay-server

Current status

First proof of concept kind-of-working.

Mostly a "Hello World" kinf of PoC. It's able to convert a small script, with user function definition and calling.

If you display (unpack) the result, it's a mess, however, it works and provide the expected results.

  • Basic float arithmetic
  • Basic if/else flows
  • User defined functions, parameters and return

It's still far for being useable, though...

Next steps

  • Make a simple UI where the script to convert can be copy-pasted. Add the WebSocket server to it.
  • Handle basic flow control mechanisms (if/else and for loops)
    IN PROGRESS
  • Autocasting for arithmetics. So that "1 + 1" use Add_Int and "1.0 + 1.0" use Add_Float. Also, that "1.0 + 1" uses Add_Float with a IntToFloat cast in-between.
  • User-editable translation database for handling translation of existing C# method call to Logix call.
  • Proper Logix look on unpack. Some people suggested the use of "Blueprints", on "Remote Logix" twitter feed.

Support

You can also add me as "Voyage Voyage" on NeosVR, though I mostly work offline generally.

About

Trying to do C# to Logix conversion. Got a first PoC working.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages