Mercerenies / gdlisp

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

Loosen Constant Constraints #10

Open Mercerenies opened 3 years ago

Mercerenies commented 3 years ago

Currently, defconst is super strict about what it accepts, basically only accepting literals like numbers and strings. We can loosen this somewhat to allow names, provided the name it refers to is a compile-time known constant (such as an enum value).