You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
YANG Huan edited this page Oct 31, 2018
·
7 revisions
CSharp.lua is an industrial-quality compiler that converts C # code into lua code, generates an equivalent and readable lua code, and makes a reasonably efficient transition to lua syntax, supporting all the syntax features of C# 7.0 and implementing the Coresystem.lua library to support the most core and basic interfaces in the. NET class Library.
Compile the source code directory using command line arguments. If successful, a compiled lua files is generated in the output directory, and there is also a Manifest.lua manifest file.
Use and load Coresystem.lua library, require "All.lua" file.
Loads all generated lua files through the Manifest.lua file. Manifest.lua processes dependencies between modules to ensure that all code is loaded correctly in this order.
Sample
fibonacci
refer to the configuration of this instance, which completes the complete process of C # code--> lua Code--> load lua and run.