technoblogy / ulisp

A version of the Lisp programming language for ATmega-based Arduino boards.

Home Page:http://www.ulisp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`'` is allowed in the middle of symbol names

dragoncoder047 opened this issue · comments

Common Lisp:

CL-USER> (if 'a'a'a)
A

uLisp:

> (if 'a'a'a)
Error 'if' too few arguments

It looks to be an easy fix:

-#define isbr(x)            (x == ')' || x == '(' || x == '"' || x == '#')
+#define isbr(x)            (x == ')' || x == '(' || x == '"' || x == '#' || x == '\'')

Good catch - worth doing.