Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Panagiotis Halatsako |
As a weekend project, I need a process that would parse a script file of a “custom” language, read into godot and populate some scenes with logic (hint: it’s part of an adventure game concept).
Is using GDNative C/C++ a good idea to implement a small lexer/parser and eval, assuming that in godot I might not be as comfortable to do these operations and they might clunky and slower?
From my experience, small interpreters dont use too much cpu or ram, so gdscript should be fine, it has a pretty good match statement, but if you are more comfortable in c++, then just use that.
RazorSh4rk | 2020-05-24 21:48