lua Interpreter for vioengine
This blue prints describes how the vioengine going to interpret lua.
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- Samith Sandanayake
- Direction:
- Needs approval
- Assignee:
- Samith Sandanayake
- Definition:
- Drafting
- Series goal:
- None
- Implementation:
-
Unknown
- Milestone target:
- None
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
The current lua interpreter works as a line reader and puts the line into a buffer then, then execute that.
Therefore the program cannot use original lua features like calling functions directly.
To overcome this problem there are 2 main methods.
1. write the functions, objects separately form the story and load them first in order to create a cache of commands in the memory.
2. change the scripting style and handle functions, conditions internally.
Though the 1 st choice looks something in efficient, for a long term go it is the best choice as we may need to give the freedom to the story writer to include his/her own logic into the game.
Work Items
Dependency tree

* Blueprints in grey have been implemented.