obriencj / python-sibilant

A dialect of Lisp compiling to Python bytecode
GNU Lesser General Public License v3.0
7 stars 1 forks source link

Remove unquote and splice from reader macros #34

Closed obriencj closed 7 years ago

obriencj commented 7 years ago

Use some form of read parsing instead of relying on the reader macros. This will free up the @ and , symbols for binding to other forms (for example, @ should become matrix-multiply)

obriencj commented 7 years ago

Considering the fact that @ and , get "stolen" outside of a quasiquote as a bug.

obriencj commented 7 years ago

Idea: Implement an awesome temporary_event_macro on parser, and only have unquote enabled while inside quasiquote, and only have and splice enabled inside of unquote