The information about which inputs are possible is available, because the code is parsed up to the current position when the tab key is pressed.
Easylang is a small programming language designed for teaching and learning, but not only for that. It is also open source.
Have fun with it! C