David Vazquez [Sat, 22 Dec 2012 20:05:01 +0000 (20:05 +0000)]
Remove , in compile commands
David Vazquez [Sat, 22 Dec 2012 19:54:38 +0000 (19:54 +0000)]
multivariadic append
David Vazquez [Sat, 22 Dec 2012 15:48:16 +0000 (15:48 +0000)]
, prefix in the REPL to compile
David Vazquez [Sat, 22 Dec 2012 15:42:53 +0000 (15:42 +0000)]
Console
David Vazquez [Sat, 22 Dec 2012 14:55:06 +0000 (14:55 +0000)]
CAR and CDR work for NIL object
David Vazquez [Sat, 22 Dec 2012 14:40:06 +0000 (14:40 +0000)]
Use global variables to keep the variable, function and literal indexes
It allows to move the information from host to target after compilation
David Vazquez [Sat, 22 Dec 2012 14:19:03 +0000 (14:19 +0000)]
Clean variable and function lookup information with the compilation unit
David Vazquez [Sat, 22 Dec 2012 13:38:58 +0000 (13:38 +0000)]
Update test.lisp with the newer code from lispstrack.lisp
David Vazquez [Sat, 22 Dec 2012 13:38:39 +0000 (13:38 +0000)]
Update boolean expressions
David Vazquez [Sat, 22 Dec 2012 06:20:51 +0000 (06:20 +0000)]
Fix symbol-name for NIL
David Vazquez [Sat, 22 Dec 2012 05:55:40 +0000 (05:55 +0000)]
Accept tabs as whitespaces
David Vazquez [Sat, 22 Dec 2012 05:30:50 +0000 (05:30 +0000)]
Fix reader for T character
David Vazquez [Sat, 22 Dec 2012 05:21:40 +0000 (05:21 +0000)]
Fix NIL handling error
David Vazquez [Sat, 22 Dec 2012 05:17:55 +0000 (05:17 +0000)]
Export compile and compileString too
David Vazquez [Sat, 22 Dec 2012 05:13:03 +0000 (05:13 +0000)]
Export main functions read, eval and evalString to a object lisp.
David Vazquez [Sat, 22 Dec 2012 04:59:32 +0000 (04:59 +0000)]
Fix OR
David Vazquez [Sat, 22 Dec 2012 04:49:15 +0000 (04:49 +0000)]
Copy global environment from host to target
David Vazquez [Sat, 22 Dec 2012 02:39:55 +0000 (02:39 +0000)]
Fix apply
David Vazquez [Sat, 22 Dec 2012 02:30:31 +0000 (02:30 +0000)]
Fix c*r functions
David Vazquez [Sat, 22 Dec 2012 02:19:53 +0000 (02:19 +0000)]
Fix with-compilation-unit
David Vazquez [Sat, 22 Dec 2012 02:17:43 +0000 (02:17 +0000)]
dolist
David Vazquez [Sat, 22 Dec 2012 02:17:41 +0000 (02:17 +0000)]
with-compilation-unit
David Vazquez [Sat, 22 Dec 2012 02:08:34 +0000 (02:08 +0000)]
Update test.lisp with the newer definitions
David Vazquez [Sat, 22 Dec 2012 02:03:24 +0000 (02:03 +0000)]
Fix symbolp and consp
David Vazquez [Sat, 22 Dec 2012 01:50:13 +0000 (01:50 +0000)]
Quoted symbols are also interned in the target environment
David Vazquez [Fri, 21 Dec 2012 17:30:32 +0000 (17:30 +0000)]
Move package code to the beginning of th file
David Vazquez [Fri, 21 Dec 2012 01:29:14 +0000 (01:29 +0000)]
Fix little bugs
David Vazquez [Thu, 20 Dec 2012 19:09:16 +0000 (19:09 +0000)]
Use *newline* instead of literal strings
David Vazquez [Thu, 20 Dec 2012 19:07:43 +0000 (19:07 +0000)]
escape newlines
David Vazquez [Thu, 20 Dec 2012 19:02:33 +0000 (19:02 +0000)]
Fix bug in string escape
David Vazquez [Thu, 20 Dec 2012 18:51:22 +0000 (18:51 +0000)]
Format strings
David Vazquez [Thu, 20 Dec 2012 18:43:19 +0000 (18:43 +0000)]
Lispstrack compiles itself!
David Vazquez [Thu, 20 Dec 2012 17:54:41 +0000 (17:54 +0000)]
defparameter => defvar
David Vazquez [Thu, 20 Dec 2012 17:52:36 +0000 (17:52 +0000)]
error is an expression now
David Vazquez [Thu, 20 Dec 2012 17:49:38 +0000 (17:49 +0000)]
More progresses to bootstrap
David Vazquez [Thu, 20 Dec 2012 17:39:56 +0000 (17:39 +0000)]
STRING-UPCASE
David Vazquez [Thu, 20 Dec 2012 17:38:33 +0000 (17:38 +0000)]
CASE and ECASE
David Vazquez [Thu, 20 Dec 2012 17:30:42 +0000 (17:30 +0000)]
Forward reference support
David Vázquez [Tue, 18 Dec 2012 22:39:30 +0000 (23:39 +0100)]
WHEN, UNLESS
David Vázquez [Tue, 18 Dec 2012 22:39:23 +0000 (23:39 +0100)]
ERROR
David Vázquez [Tue, 18 Dec 2012 22:35:36 +0000 (23:35 +0100)]
eql to char=
David Vázquez [Tue, 18 Dec 2012 22:34:24 +0000 (23:34 +0100)]
Use `false' like nil
David Vázquez [Tue, 18 Dec 2012 22:28:51 +0000 (23:28 +0100)]
Fix character reader for input like #\)
David Vázquez [Tue, 18 Dec 2012 22:25:14 +0000 (23:25 +0100)]
Remove duplicated ls-compile definition
David Vazquez [Tue, 18 Dec 2012 02:39:43 +0000 (02:39 +0000)]
More nested macros
David Vazquez [Tue, 18 Dec 2012 02:24:21 +0000 (02:24 +0000)]
Fix problem with recursive macros
David Vazquez [Tue, 18 Dec 2012 02:14:13 +0000 (02:14 +0000)]
Progresses to bootstrap
David Vazquez [Tue, 18 Dec 2012 01:47:52 +0000 (01:47 +0000)]
OR
David Vazquez [Tue, 18 Dec 2012 01:47:37 +0000 (01:47 +0000)]
Character reader
David Vazquez [Tue, 18 Dec 2012 01:14:30 +0000 (01:14 +0000)]
incf, decf, length
David Vazquez [Tue, 18 Dec 2012 01:14:26 +0000 (01:14 +0000)]
<
David Vazquez [Tue, 18 Dec 2012 00:51:51 +0000 (00:51 +0000)]
Remove streams
David Vazquez [Tue, 18 Dec 2012 00:48:32 +0000 (00:48 +0000)]
integer-to-string working
David Vazquez [Tue, 18 Dec 2012 00:48:23 +0000 (00:48 +0000)]
Fix nil translation
David Vazquez [Tue, 18 Dec 2012 00:45:41 +0000 (00:45 +0000)]
Remove more unnecessary semicolons
David Vazquez [Tue, 18 Dec 2012 00:41:34 +0000 (00:41 +0000)]
Remove unnecessary semicolons
David Vazquez [Mon, 17 Dec 2012 23:55:30 +0000 (23:55 +0000)]
Define NIL and T properly as self-evaluated variables
David Vazquez [Mon, 17 Dec 2012 19:11:12 +0000 (19:11 +0000)]
Avoid redeclarate variable and functions
David Vazquez [Mon, 17 Dec 2012 19:05:29 +0000 (19:05 +0000)]
Remove unused code
David Vazquez [Mon, 17 Dec 2012 18:47:10 +0000 (18:47 +0000)]
NIL, T, TRUNCATE
David Vazquez [Mon, 17 Dec 2012 18:46:59 +0000 (18:46 +0000)]
MOD, FLOOR
David Vazquez [Mon, 17 Dec 2012 18:39:30 +0000 (18:39 +0000)]
rename char-code to string
David Vazquez [Mon, 17 Dec 2012 18:38:58 +0000 (18:38 +0000)]
Rewrite *newline* without literal string
David Vazquez [Mon, 17 Dec 2012 18:38:17 +0000 (18:38 +0000)]
Remove unnecessary reader macro
David Vazquez [Mon, 17 Dec 2012 18:37:22 +0000 (18:37 +0000)]
Fix INTERN
David Vazquez [Mon, 17 Dec 2012 18:36:04 +0000 (18:36 +0000)]
Fix SET
David Vazquez [Mon, 17 Dec 2012 18:24:57 +0000 (18:24 +0000)]
Revert "Move library to lispstrack.lisp"
This reverts commit
623000fd16dc784cb9e6b5e264f1fbd6eb455d5f.
Conflicts:
lispstrack.lisp
test.lisp
David Vazquez [Mon, 17 Dec 2012 16:58:30 +0000 (16:58 +0000)]
make-symbol and intern
David Vazquez [Mon, 17 Dec 2012 14:41:57 +0000 (14:41 +0000)]
Fix list allocation in &rest arguments
David Vazquez [Mon, 17 Dec 2012 14:34:03 +0000 (14:34 +0000)]
PUSH
David Vazquez [Mon, 17 Dec 2012 14:32:19 +0000 (14:32 +0000)]
concat-two
David Vazquez [Mon, 17 Dec 2012 13:34:37 +0000 (13:34 +0000)]
Define bootstrap function
David Vazquez [Mon, 17 Dec 2012 13:32:43 +0000 (13:32 +0000)]
Move library to lispstrack.lisp
David Vazquez [Mon, 17 Dec 2012 00:22:51 +0000 (00:22 +0000)]
DEFVAR
David Vazquez [Mon, 17 Dec 2012 00:21:14 +0000 (00:21 +0000)]
Instance primitive functions as regular ones
David Vazquez [Mon, 17 Dec 2012 00:18:39 +0000 (00:18 +0000)]
!reduce
David Vazquez [Mon, 17 Dec 2012 00:14:58 +0000 (00:14 +0000)]
!reduce
David Vazquez [Mon, 17 Dec 2012 00:05:31 +0000 (00:05 +0000)]
1+, 1-, mapcar
David Vazquez [Mon, 17 Dec 2012 00:05:25 +0000 (00:05 +0000)]
Funcall
David Vazquez [Sun, 16 Dec 2012 23:54:31 +0000 (23:54 +0000)]
Null
David Vazquez [Sun, 16 Dec 2012 23:54:26 +0000 (23:54 +0000)]
Append, reverse
David Vazquez [Sun, 16 Dec 2012 23:31:11 +0000 (23:31 +0000)]
DEFUN macro
David Vazquez [Sun, 16 Dec 2012 23:16:58 +0000 (23:16 +0000)]
join-trailing and *newline*
David Vazquez [Sun, 16 Dec 2012 23:10:00 +0000 (23:10 +0000)]
Fix eval-when-compile and unify *literals* and *eval-when-compilations*
David Vazquez [Sun, 16 Dec 2012 22:59:43 +0000 (22:59 +0000)]
Conditional compilation
David Vazquez [Sun, 16 Dec 2012 22:58:34 +0000 (22:58 +0000)]
Define reader #+common-lisp and #+lispstrack to compile conditionally
David Vazquez [Sun, 16 Dec 2012 22:08:44 +0000 (22:08 +0000)]
Remove loops
David Vazquez [Sun, 16 Dec 2012 22:00:17 +0000 (22:00 +0000)]
Remove all format calls
David Vazquez [Sun, 16 Dec 2012 21:54:13 +0000 (21:54 +0000)]
New function: integer-to-string
David Vazquez [Sun, 16 Dec 2012 21:47:27 +0000 (21:47 +0000)]
Add code-char function
David Vazquez [Sun, 16 Dec 2012 21:46:01 +0000 (21:46 +0000)]
Remove backquote tests
David Vazquez [Sun, 16 Dec 2012 16:16:19 +0000 (16:16 +0000)]
Integrate backquote
David Vazquez [Sun, 16 Dec 2012 15:49:44 +0000 (15:49 +0000)]
Integrate the reader in lispstrack.lisp
David Vazquez [Sun, 16 Dec 2012 15:32:12 +0000 (15:32 +0000)]
Include backquote without simplifications
David Vazquez [Sun, 16 Dec 2012 04:17:12 +0000 (04:17 +0000)]
Add #' to the reader
David Vazquez [Sun, 16 Dec 2012 04:14:02 +0000 (04:14 +0000)]
Function (#')
David Vazquez [Sun, 16 Dec 2012 04:10:23 +0000 (04:10 +0000)]
Do not include prelude.js
David Vazquez [Sun, 16 Dec 2012 04:07:13 +0000 (04:07 +0000)]
let as transformation
David Vazquez [Sun, 16 Dec 2012 04:01:34 +0000 (04:01 +0000)]
Define-transformation like light compiler macros
- Add progn
David Vazquez [Sun, 16 Dec 2012 03:50:56 +0000 (03:50 +0000)]
EQ primitive function