Mercerenies / gdlisp

Lisp on the Godot platform
GNU General Public License v3.0
140 stars 1 forks source link

Version Checking #100

Open Mercerenies opened 2 years ago

Mercerenies commented 2 years ago

A macro or special form or something that conditionally enables/disables some code based on the Godot version or GDLisp version.

Mercerenies commented 1 year ago

Godot version is accessible as a constant, as of 90c357cd6f0f9f0be00a6f5b3197e0aa1026d203.

Mercerenies commented 1 year ago

Internally available for stdlib, implementing this as a general-purpose macro-like object is a future problem, deferring to 2.x