A compiler using to compile .Net bytecode(.dll) to uvm/lua bytecode
- Many core .Net features/C# syntax support
- base types, user defined C# types, Map, Array, etc. types support
- operators, control flows(if, for, while, break, continue, etc.)
- function call, function define, function return, function parameters
- interate Array and Map
- etc.
- use csc.exe to compile C# file to .dll file(.Net bytecode file)
- use this program to compile .dll file to xxxx.uvms file, xxxx.uvms is the output uvm assembler file
gsharpc xxxx.dllto compile .net .dll file to uvm bytecodeuvm xxxx.outto run compiled bytecode filepackage_gpc xxxx.out xxxx.meta.jsonto package the bytecode and meta info file to .gpc file- you can also use
gsharpc --gpc xxxx.dllto directly compile .net .dll file to .gpc file
- install .netcore 2.1+
dotnet build -r win10-x64ordotnet build -r ubuntu16.10-x64ordotnet build -r osx.10.11-x64
dotnet publish -r win10-x64ordotnet publish -r ubuntu16.10-x64ordotnet publish -r osx.10.11-x64