Mercerenies / gdlisp

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

Refine Export Declaration Syntax #14

Open Mercerenies opened 3 years ago

Mercerenies commented 3 years ago

Currently, export declarations on defvar are very loose. The arguments to export can be (1) anything valid as a constant expression or (2) any symbol. We should try to figure out what rules Godot has precisely for exports and follow them. At the very least, we could implement a whitelist of symbols which are allowed, but it would be nice to be more precise.