lang-party / Summer2022

Lang Party 2022
24 stars 1 forks source link

GDLisp #16

Open eutro opened 2 years ago

eutro commented 2 years ago

GDLisp

GDLisp is a lisp dialect that compiles to GDScript.

#lang gdlisp
(print "Hello, world!")

Produces (when run):

print("Hello, world!")

GDLisp is a way to write script files for the Godot engine without actually writing (directly) in the scripting language it provides.

The main benefits this provides is that you can write macros and (hopefully) enter into Lisp game jams. Also you don’t have to deal with semantic whitespace.


See the documentation for more (and up to date) information: https://docs.racket-lang.org/gdlisp/index.html

At least one other example can be found at https://github.com/eutro/gdlisp/tree/main/examples.

Licence

The text in this issue is licensed under Commons Attribution 4.0 International License http://creativecommons.org/licenses/by/4.0/.

Code is licensed under MIT or Apache 2, at your option.