You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

658 B

TODO BUG 1: eval dot notation

  (eval `(+ . ,(list 1 2 3)))
  ;; should output 6
  ;; throws error instead

TODO BUG 2: eval dot notation

  (prog
   (define a (list 1 2 3))
   (eval `(+ . ,a)))
  ;; should output 6
  ;; outputs 0

SSO

Symbol*    symbol;      // { String* identifier }
Keyword*   keyword;     // { String* identifier }
Number*    number;      // { double value }
String*    string;      // has to stay a pointer
Pair*      pair;        // { Lisp_Object* first; Lisp_Object* rest }
Function*  function;    // 
cFunction* cFunction;   // has to stay a pointer