compiler construction - Statically typed Lua -


I'm looking for a leua front-end compiler which is type-checked at compile time, but standard luA 5.1 Byte-code (which is the only run-time type) I would like to have is static, compile-time syntax analysis and a decent amount of alternative typing, which detects trivial errors from time to time. As a result the byte-code would have to play well with existing Lua byte-code which was compiled with standard loadstring ().

To be clear - there is a difference at the byte-compile time, at runtime, the byte code does not seem to know that during the compilation phase something unusual / unusual happened with it.

Whatever is in my mind seems like an action script; I also do not pay attention to an action script compiler which outputs Lua byte code!

Has anyone heard about this kind of effort? I have seen some references to using Metalli to do this, but sincerely I am not bright enough for the tail of my documents

In 2005 or summer, I probably worked on Leah's problem of finding some compile-time type, possibly supported by annotation. This problem becomes incredibly difficult! (My student wrote a small technical note, but this is not really for normal circulation.)

If I want to solve your problem, then with two connecting obstacles that Allow important static type check and interoperate with standard bytecode-compiled lu code , to complete these two hurdles from scratch to a new language Design I'll overcome this Ra may work but is much easier than trying to go back to a kind of system in Lua.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -