Answer the question
In order to leave comments, you need to log in
How to integrate new programming languages into Godot Engine (particularly Lisp)?
I'm interested in the Godot Engen engine. There is only one problem, it does not support my beloved Cammon Lisp, and I am not ready to waste time on mastering the proposed languages. Is it possible to integrate Lisp into Godot without having to write a new implementation from scratch? At the same time, all built-in functions and libraries, as well as those created by other users, should work. Is there a way to connect at least some language other than the built-in ones?
Answer the question
In order to leave comments, you need to log in
https://godotengine.org/article/godot-getting-more...
- Re-create Godot's basic types in your new language: These are types such as Vector3, int, float, String, etc. Many of these are usually provided already.
- Create a module: A C++ module that creates binding code needs to be done ( creating modules in C++ is well documented ). The entire exposed Godot API can be accessed via the static functions in ObjectTypeDB.
- Generate binding code in your new language that accesses the exposed functions in the MethodBind class (there is one for each exposed method).
- Create a ScriptLanguage class and supply the neccesary methods exposed for debugging, profiling, etc. You can supply symbols, code completion helpers, etc. if this language is meant to be edited inside Godot.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question