David Vazquez [Tue, 8 Jan 2013 19:13:16 +0000 (19:13 +0000)]
Implicit blocks for WHILE, DOTIMES, DOLIST and DEFUN
David Vazquez [Tue, 8 Jan 2013 18:32:57 +0000 (18:32 +0000)]
Implement BLOCK, RETURN-FROM special operators and RETURN macro
David Vazquez [Tue, 8 Jan 2013 02:21:14 +0000 (02:21 +0000)]
Print returns object itself
David Vazquez [Tue, 8 Jan 2013 02:17:15 +0000 (02:17 +0000)]
Unify env and fenv in a compose type lexenv
So it also replaces *env* and *fenv* with *environment*
David Vazquez [Tue, 8 Jan 2013 00:54:19 +0000 (00:54 +0000)]
Indent use join instead of !reduce #'concat-two
David Vazquez [Tue, 8 Jan 2013 00:52:51 +0000 (00:52 +0000)]
New functions: copy-list, identity
Mihai Bazon [Sat, 5 Jan 2013 09:56:28 +0000 (11:56 +0200)]
Minor stuff
- reset counters in bootstrap
- discard unreachable "return 0"
David Vazquez [Fri, 4 Jan 2013 16:23:35 +0000 (16:23 +0000)]
Fix bug in defun, reported by abeaumont
David Vazquez [Fri, 4 Jan 2013 13:35:29 +0000 (13:35 +0000)]
Some dependencies for the REPL
David Vazquez [Fri, 4 Jan 2013 13:26:29 +0000 (13:26 +0000)]
Rename lispstrack to ecmalisp
David Vazquez [Fri, 4 Jan 2013 02:47:22 +0000 (02:47 +0000)]
gensym
David Vazquez [Fri, 4 Jan 2013 02:26:19 +0000 (02:26 +0000)]
DOTIMES
David Vazquez [Fri, 4 Jan 2013 02:13:49 +0000 (02:13 +0000)]
More type checking
David Vazquez [Fri, 4 Jan 2013 02:05:45 +0000 (02:05 +0000)]
Some type checking
David Vazquez [Fri, 4 Jan 2013 00:56:23 +0000 (00:56 +0000)]
null is not primitive
David Vazquez [Fri, 4 Jan 2013 00:49:22 +0000 (00:49 +0000)]
read-until stops if it finds EOF
David Vazquez [Thu, 3 Jan 2013 23:41:57 +0000 (23:41 +0000)]
Macro to define built-in functions easily
David Vazquez [Sat, 29 Dec 2012 14:23:45 +0000 (14:23 +0000)]
write-string and remove debug
David Vazquez [Fri, 28 Dec 2012 17:59:43 +0000 (17:59 +0000)]
Extra *newline* in CDR translation
David Vazquez [Fri, 28 Dec 2012 17:35:04 +0000 (17:35 +0000)]
Indent output code
David Vazquez [Fri, 28 Dec 2012 17:04:41 +0000 (17:04 +0000)]
Clean output code
David Vazquez [Fri, 28 Dec 2012 02:16:11 +0000 (02:16 +0000)]
Ignore output file
David Vazquez [Fri, 28 Dec 2012 01:55:28 +0000 (01:55 +0000)]
Print functions with the name
David Vazquez [Fri, 28 Dec 2012 01:42:45 +0000 (01:42 +0000)]
Print improper lists
David Vazquez [Fri, 28 Dec 2012 01:37:07 +0000 (01:37 +0000)]
LAST and BUTLAST work for improper lists
David Vazquez [Thu, 27 Dec 2012 02:36:11 +0000 (02:36 +0000)]
subseq for strings
David Vazquez [Thu, 27 Dec 2012 02:26:29 +0000 (02:26 +0000)]
Call JOIN without a separator in some callers
David Vazquez [Thu, 27 Dec 2012 02:24:02 +0000 (02:24 +0000)]
Print negative numbers
David Vazquez [Thu, 27 Dec 2012 02:22:38 +0000 (02:22 +0000)]
Move some code from ls-read to read-sharp
David Vazquez [Wed, 26 Dec 2012 17:42:09 +0000 (17:42 +0000)]
Some refactoring
David Vazquez [Wed, 26 Dec 2012 17:31:35 +0000 (17:31 +0000)]
defvar accepts optional value (it was required)
David Vazquez [Wed, 26 Dec 2012 17:27:25 +0000 (17:27 +0000)]
join and join-trailing accept optional argument
David Vazquez [Wed, 26 Dec 2012 17:25:42 +0000 (17:25 +0000)]
Number of argument checking and &optional parameters
David Vazquez [Wed, 26 Dec 2012 15:44:26 +0000 (15:44 +0000)]
Remove redundant semicolons
David Vazquez [Wed, 26 Dec 2012 15:40:06 +0000 (15:40 +0000)]
Fix make-symbol
David Vazquez [Wed, 26 Dec 2012 15:36:18 +0000 (15:36 +0000)]
concat-two primitive function offered
David Vazquez [Mon, 24 Dec 2012 02:58:03 +0000 (02:58 +0000)]
FUNCTIONP and printer for FUNCTION
David Vazquez [Mon, 24 Dec 2012 02:52:32 +0000 (02:52 +0000)]
Printer
David Vazquez [Mon, 24 Dec 2012 02:45:49 +0000 (02:45 +0000)]
Fix eval-when-compile and so defmacro in the REPL
David Vazquez [Mon, 24 Dec 2012 02:35:46 +0000 (02:35 +0000)]
DEFVAR returns the symbol
David Vazquez [Mon, 24 Dec 2012 02:34:23 +0000 (02:34 +0000)]
DEFUN returns the function name
David Vazquez [Mon, 24 Dec 2012 02:27:03 +0000 (02:27 +0000)]
Parent matching
David Vazquez [Mon, 24 Dec 2012 02:05:24 +0000 (02:05 +0000)]
Improve scrolling in the console
David Vazquez [Mon, 24 Dec 2012 01:09:58 +0000 (01:09 +0000)]
Rename test.html to lispstrack.html
David Vazquez [Mon, 24 Dec 2012 01:07:26 +0000 (01:07 +0000)]
Add copyright notice for rgrau
David Vazquez [Mon, 24 Dec 2012 01:05:27 +0000 (01:05 +0000)]
Some comments
David Vazquez [Mon, 24 Dec 2012 00:42:41 +0000 (00:42 +0000)]
Move all the code to only one file
David Vazquez [Sun, 23 Dec 2012 23:29:10 +0000 (23:29 +0000)]
Handle unfinished expressions in the REPL
David Vazquez [Sun, 23 Dec 2012 22:56:27 +0000 (22:56 +0000)]
Report unexpected errors in the reader
David Vazquez [Sun, 23 Dec 2012 22:10:23 +0000 (22:10 +0000)]
Welcome message
David Vazquez [Sun, 23 Dec 2012 22:05:24 +0000 (22:05 +0000)]
Handle errors in the REPL
David Vazquez [Sun, 23 Dec 2012 21:41:28 +0000 (21:41 +0000)]
Fix js-eval. Macros bug fixed!
David Vazquez [Sun, 23 Dec 2012 20:54:23 +0000 (20:54 +0000)]
Fix c*r and order them
David Vazquez [Sun, 23 Dec 2012 20:39:53 +0000 (20:39 +0000)]
Fix cddr and cdddr
David Vazquez [Sun, 23 Dec 2012 19:44:50 +0000 (19:44 +0000)]
Fix let
David Vazquez [Sun, 23 Dec 2012 19:37:37 +0000 (19:37 +0000)]
Fix cons
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