Idorobots / spartan

A small Lisp dialect that serves me as a test bed for programming language features.
MIT License
13 stars 3 forks source link

Ampersand character is still reserved for primops. #188

Closed Idorobots closed 3 months ago

Idorobots commented 3 months ago

Primops used to be identified by a leading ampersand character. Since then there's a proper AST encoding for these and unintentional name clashes are no longer possible, yet the & character is not usable in identifiers:

1 | bits & mask
2 | ;run
;; repl(1,0): Not a valid Spartan file:
;;   1 | bits & mask
;;     | ^^^^^^^^^^^
;;   2 |