Commit graph

8 commits

Author SHA1 Message Date
Sami Samhuri
a50011ae04 Looked into CommonJS and will use it ASAP. 2009-12-14 09:47:55 -08:00
Sami Samhuri
39a5b52e15 Fixed exponent notation. Changed primitive definitions. 2009-12-13 21:06:13 -08:00
Sami Samhuri
19ac65cb2b Cleaned up README a bit, added na-cl to TODO 2009-12-09 23:17:20 -08:00
Sami Samhuri
57b657b617 Broke the code into multiple files. el.sh runs a repl. 2009-12-06 23:21:20 -08:00
Sami Samhuri
ecce2ceeea removed if special form, just implemented 2009-12-06 21:03:25 -08:00
Sami Samhuri
77f1a9eb93 [NEW] if, negative numbers, regex type & literal, more...
Sorry for the massive commit. I'll try not to do this.

Several new features:

 * Proper conses and lists (probably slow, can optimize later)
 * Parse negative numbers
 * Regular expressions (piggyback off js regex, not emacs compatible)
 * string-match and symbol-name primitives
 * if special form
 * car, cdr, cadr, caddr, cadddr, nth, nthcdr, map, length, null,
   symbolp, listp, stringp, numberp, etc. only in JS now but I will
   expose them in lisp as primitives soon.

Fixed:

 * setq now silently defines undefined variables

some miscellaneous things:

 * simple init system to specify init code that loads after all defs
   have been read
 * String.camelize function stolen from Prototype
2009-12-06 20:50:46 -08:00
Sami Samhuri
3fae23b89d Getting Started section in README, minor changes to TODO and el.js 2009-12-06 03:40:43 -08:00
Sami Samhuri
8fd6e07f70 Added README and TODO 2009-12-06 03:19:02 -08:00