by pansa2 · 6y ago · 0 comments
Is that so? Or is inline MoonScript code within C files not common?
I recommend doing the MoonScript compile time at program build time to avoid any unnecessary compilation during runtime.
I’ve been thinking about the syntax of an embeddable language myself, and have ruled out significant indentation because of the difficulty of writing such code inline inside C files. If that’s not a common use case, maybe I should reconsider...
This means that MoonScript compiled ahead of time will have the same exact result as running it on the fly.