jscl.git
11 years agoConsole
David Vazquez [Sat, 22 Dec 2012 15:42:53 +0000 (15:42 +0000)]
Console

11 years agoCAR and CDR work for NIL object
David Vazquez [Sat, 22 Dec 2012 14:55:06 +0000 (14:55 +0000)]
CAR and CDR work for NIL object

11 years agoUse global variables to keep the variable, function and literal indexes
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

11 years agoClean variable and function lookup information with the compilation unit
David Vazquez [Sat, 22 Dec 2012 14:19:03 +0000 (14:19 +0000)]
Clean variable and function lookup information with the compilation unit

11 years agoUpdate test.lisp with the newer code from lispstrack.lisp
David Vazquez [Sat, 22 Dec 2012 13:38:58 +0000 (13:38 +0000)]
Update test.lisp with the newer code from lispstrack.lisp

11 years agoUpdate boolean expressions
David Vazquez [Sat, 22 Dec 2012 13:38:39 +0000 (13:38 +0000)]
Update boolean expressions

11 years agoFix symbol-name for NIL
David Vazquez [Sat, 22 Dec 2012 06:20:51 +0000 (06:20 +0000)]
Fix symbol-name for NIL

11 years agoAccept tabs as whitespaces
David Vazquez [Sat, 22 Dec 2012 05:55:40 +0000 (05:55 +0000)]
Accept tabs as whitespaces

11 years agoFix reader for T character
David Vazquez [Sat, 22 Dec 2012 05:30:50 +0000 (05:30 +0000)]
Fix reader for T character

11 years agoFix NIL handling error
David Vazquez [Sat, 22 Dec 2012 05:21:40 +0000 (05:21 +0000)]
Fix NIL handling error

11 years agoExport compile and compileString too
David Vazquez [Sat, 22 Dec 2012 05:17:55 +0000 (05:17 +0000)]
Export compile and compileString too

11 years agoExport main functions read, eval and evalString to a object lisp.
David Vazquez [Sat, 22 Dec 2012 05:13:03 +0000 (05:13 +0000)]
Export main functions read, eval and evalString to a object lisp.

11 years agoFix OR
David Vazquez [Sat, 22 Dec 2012 04:59:32 +0000 (04:59 +0000)]
Fix OR

11 years agoCopy global environment from host to target
David Vazquez [Sat, 22 Dec 2012 04:49:15 +0000 (04:49 +0000)]
Copy global environment from host to target

11 years agoFix apply
David Vazquez [Sat, 22 Dec 2012 02:39:55 +0000 (02:39 +0000)]
Fix apply

11 years agoFix c*r functions
David Vazquez [Sat, 22 Dec 2012 02:30:31 +0000 (02:30 +0000)]
Fix c*r functions

11 years agoFix with-compilation-unit
David Vazquez [Sat, 22 Dec 2012 02:19:53 +0000 (02:19 +0000)]
Fix with-compilation-unit

11 years agodolist
David Vazquez [Sat, 22 Dec 2012 02:17:43 +0000 (02:17 +0000)]
dolist

11 years agowith-compilation-unit
David Vazquez [Sat, 22 Dec 2012 02:17:41 +0000 (02:17 +0000)]
with-compilation-unit

11 years agoUpdate test.lisp with the newer definitions
David Vazquez [Sat, 22 Dec 2012 02:08:34 +0000 (02:08 +0000)]
Update test.lisp with the newer definitions

11 years agoFix symbolp and consp
David Vazquez [Sat, 22 Dec 2012 02:03:24 +0000 (02:03 +0000)]
Fix symbolp and consp

11 years agoQuoted symbols are also interned in the target environment
David Vazquez [Sat, 22 Dec 2012 01:50:13 +0000 (01:50 +0000)]
Quoted symbols are also interned in the target environment

11 years agoMove package code to the beginning of th file
David Vazquez [Fri, 21 Dec 2012 17:30:32 +0000 (17:30 +0000)]
Move package code to the beginning of th file

11 years agoFix little bugs
David Vazquez [Fri, 21 Dec 2012 01:29:14 +0000 (01:29 +0000)]
Fix little bugs

11 years agoUse *newline* instead of literal strings
David Vazquez [Thu, 20 Dec 2012 19:09:16 +0000 (19:09 +0000)]
Use *newline* instead of literal strings

11 years agoescape newlines
David Vazquez [Thu, 20 Dec 2012 19:07:43 +0000 (19:07 +0000)]
escape newlines

11 years agoFix bug in string escape
David Vazquez [Thu, 20 Dec 2012 19:02:33 +0000 (19:02 +0000)]
Fix bug in string escape

11 years agoFormat strings
David Vazquez [Thu, 20 Dec 2012 18:51:22 +0000 (18:51 +0000)]
Format strings

11 years agoLispstrack compiles itself!
David Vazquez [Thu, 20 Dec 2012 18:43:19 +0000 (18:43 +0000)]
Lispstrack compiles itself!

11 years agodefparameter => defvar
David Vazquez [Thu, 20 Dec 2012 17:54:41 +0000 (17:54 +0000)]
defparameter => defvar

11 years agoerror is an expression now
David Vazquez [Thu, 20 Dec 2012 17:52:36 +0000 (17:52 +0000)]
error is an expression now

11 years agoMore progresses to bootstrap
David Vazquez [Thu, 20 Dec 2012 17:49:38 +0000 (17:49 +0000)]
More progresses to bootstrap

11 years agoSTRING-UPCASE
David Vazquez [Thu, 20 Dec 2012 17:39:56 +0000 (17:39 +0000)]
STRING-UPCASE

11 years agoCASE and ECASE
David Vazquez [Thu, 20 Dec 2012 17:38:33 +0000 (17:38 +0000)]
CASE and ECASE

11 years agoForward reference support
David Vazquez [Thu, 20 Dec 2012 17:30:42 +0000 (17:30 +0000)]
Forward reference support

11 years agoWHEN, UNLESS
David Vázquez [Tue, 18 Dec 2012 22:39:30 +0000 (23:39 +0100)]
WHEN, UNLESS

11 years agoERROR
David Vázquez [Tue, 18 Dec 2012 22:39:23 +0000 (23:39 +0100)]
ERROR

11 years agoeql to char=
David Vázquez [Tue, 18 Dec 2012 22:35:36 +0000 (23:35 +0100)]
eql to char=

11 years agoUse `false' like nil
David Vázquez [Tue, 18 Dec 2012 22:34:24 +0000 (23:34 +0100)]
Use `false' like nil

11 years agoFix character reader for input like #\)
David Vázquez [Tue, 18 Dec 2012 22:28:51 +0000 (23:28 +0100)]
Fix character reader for input like #\)

11 years agoRemove duplicated ls-compile definition
David Vázquez [Tue, 18 Dec 2012 22:25:14 +0000 (23:25 +0100)]
Remove duplicated ls-compile definition

11 years agoMore nested macros
David Vazquez [Tue, 18 Dec 2012 02:39:43 +0000 (02:39 +0000)]
More nested macros

11 years agoFix problem with recursive macros
David Vazquez [Tue, 18 Dec 2012 02:24:21 +0000 (02:24 +0000)]
Fix problem with recursive macros

11 years agoProgresses to bootstrap
David Vazquez [Tue, 18 Dec 2012 02:14:13 +0000 (02:14 +0000)]
Progresses to bootstrap

11 years agoOR
David Vazquez [Tue, 18 Dec 2012 01:47:52 +0000 (01:47 +0000)]
OR

11 years agoCharacter reader
David Vazquez [Tue, 18 Dec 2012 01:47:37 +0000 (01:47 +0000)]
Character reader

11 years agoincf, decf, length
David Vazquez [Tue, 18 Dec 2012 01:14:30 +0000 (01:14 +0000)]
incf, decf, length

11 years ago<
David Vazquez [Tue, 18 Dec 2012 01:14:26 +0000 (01:14 +0000)]
<

11 years agoRemove streams
David Vazquez [Tue, 18 Dec 2012 00:51:51 +0000 (00:51 +0000)]
Remove streams

11 years agointeger-to-string working
David Vazquez [Tue, 18 Dec 2012 00:48:32 +0000 (00:48 +0000)]
integer-to-string working

11 years agoFix nil translation
David Vazquez [Tue, 18 Dec 2012 00:48:23 +0000 (00:48 +0000)]
Fix nil translation

11 years agoRemove more unnecessary semicolons
David Vazquez [Tue, 18 Dec 2012 00:45:41 +0000 (00:45 +0000)]
Remove more unnecessary semicolons

11 years agoRemove unnecessary semicolons
David Vazquez [Tue, 18 Dec 2012 00:41:34 +0000 (00:41 +0000)]
Remove unnecessary semicolons

11 years agoDefine NIL and T properly as self-evaluated variables
David Vazquez [Mon, 17 Dec 2012 23:55:30 +0000 (23:55 +0000)]
Define NIL and T properly as self-evaluated variables

11 years agoAvoid redeclarate variable and functions
David Vazquez [Mon, 17 Dec 2012 19:11:12 +0000 (19:11 +0000)]
Avoid redeclarate variable and functions

11 years agoRemove unused code
David Vazquez [Mon, 17 Dec 2012 19:05:29 +0000 (19:05 +0000)]
Remove unused code

11 years agoNIL, T, TRUNCATE
David Vazquez [Mon, 17 Dec 2012 18:47:10 +0000 (18:47 +0000)]
NIL, T, TRUNCATE

11 years agoMOD, FLOOR
David Vazquez [Mon, 17 Dec 2012 18:46:59 +0000 (18:46 +0000)]
MOD, FLOOR

11 years agorename char-code to string
David Vazquez [Mon, 17 Dec 2012 18:39:30 +0000 (18:39 +0000)]
rename char-code to string

11 years agoRewrite *newline* without literal string
David Vazquez [Mon, 17 Dec 2012 18:38:58 +0000 (18:38 +0000)]
Rewrite *newline* without literal string

11 years agoRemove unnecessary reader macro
David Vazquez [Mon, 17 Dec 2012 18:38:17 +0000 (18:38 +0000)]
Remove unnecessary reader macro

11 years agoFix INTERN
David Vazquez [Mon, 17 Dec 2012 18:37:22 +0000 (18:37 +0000)]
Fix INTERN

11 years agoFix SET
David Vazquez [Mon, 17 Dec 2012 18:36:04 +0000 (18:36 +0000)]
Fix SET

11 years agoRevert "Move library to lispstrack.lisp"
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

11 years agomake-symbol and intern
David Vazquez [Mon, 17 Dec 2012 16:58:30 +0000 (16:58 +0000)]
make-symbol and intern

11 years agoFix list allocation in &rest arguments
David Vazquez [Mon, 17 Dec 2012 14:41:57 +0000 (14:41 +0000)]
Fix list allocation in &rest arguments

11 years agoPUSH
David Vazquez [Mon, 17 Dec 2012 14:34:03 +0000 (14:34 +0000)]
PUSH

11 years agoconcat-two
David Vazquez [Mon, 17 Dec 2012 14:32:19 +0000 (14:32 +0000)]
concat-two

11 years agoDefine bootstrap function
David Vazquez [Mon, 17 Dec 2012 13:34:37 +0000 (13:34 +0000)]
Define bootstrap function

11 years agoMove library to lispstrack.lisp
David Vazquez [Mon, 17 Dec 2012 13:32:43 +0000 (13:32 +0000)]
Move library to lispstrack.lisp

11 years agoDEFVAR
David Vazquez [Mon, 17 Dec 2012 00:22:51 +0000 (00:22 +0000)]
DEFVAR

11 years agoInstance primitive functions as regular ones
David Vazquez [Mon, 17 Dec 2012 00:21:14 +0000 (00:21 +0000)]
Instance primitive functions as regular ones

11 years ago!reduce
David Vazquez [Mon, 17 Dec 2012 00:18:39 +0000 (00:18 +0000)]
!reduce

11 years ago!reduce
David Vazquez [Mon, 17 Dec 2012 00:14:58 +0000 (00:14 +0000)]
!reduce

11 years ago1+, 1-, mapcar
David Vazquez [Mon, 17 Dec 2012 00:05:31 +0000 (00:05 +0000)]
1+, 1-, mapcar

11 years agoFuncall
David Vazquez [Mon, 17 Dec 2012 00:05:25 +0000 (00:05 +0000)]
Funcall

11 years agoNull
David Vazquez [Sun, 16 Dec 2012 23:54:31 +0000 (23:54 +0000)]
Null

11 years agoAppend, reverse
David Vazquez [Sun, 16 Dec 2012 23:54:26 +0000 (23:54 +0000)]
Append, reverse

11 years agoDEFUN macro
David Vazquez [Sun, 16 Dec 2012 23:31:11 +0000 (23:31 +0000)]
DEFUN macro

11 years agojoin-trailing and *newline*
David Vazquez [Sun, 16 Dec 2012 23:16:58 +0000 (23:16 +0000)]
join-trailing and *newline*

11 years agoFix eval-when-compile and unify *literals* and *eval-when-compilations*
David Vazquez [Sun, 16 Dec 2012 23:10:00 +0000 (23:10 +0000)]
Fix eval-when-compile and unify *literals* and *eval-when-compilations*

11 years agoConditional compilation
David Vazquez [Sun, 16 Dec 2012 22:59:43 +0000 (22:59 +0000)]
Conditional compilation

11 years agoDefine reader #+common-lisp and #+lispstrack to compile conditionally
David Vazquez [Sun, 16 Dec 2012 22:58:34 +0000 (22:58 +0000)]
Define reader #+common-lisp and #+lispstrack to compile conditionally

11 years agoRemove loops
David Vazquez [Sun, 16 Dec 2012 22:08:44 +0000 (22:08 +0000)]
Remove loops

11 years agoRemove all format calls
David Vazquez [Sun, 16 Dec 2012 22:00:17 +0000 (22:00 +0000)]
Remove all format calls

11 years agoNew function: integer-to-string
David Vazquez [Sun, 16 Dec 2012 21:54:13 +0000 (21:54 +0000)]
New function: integer-to-string

11 years agoAdd code-char function
David Vazquez [Sun, 16 Dec 2012 21:47:27 +0000 (21:47 +0000)]
Add code-char function

11 years agoRemove backquote tests
David Vazquez [Sun, 16 Dec 2012 21:46:01 +0000 (21:46 +0000)]
Remove backquote tests

11 years agoIntegrate backquote
David Vazquez [Sun, 16 Dec 2012 16:16:19 +0000 (16:16 +0000)]
Integrate backquote

11 years agoIntegrate the reader in lispstrack.lisp
David Vazquez [Sun, 16 Dec 2012 15:49:44 +0000 (15:49 +0000)]
Integrate the reader in lispstrack.lisp

11 years agoInclude backquote without simplifications
David Vazquez [Sun, 16 Dec 2012 15:32:12 +0000 (15:32 +0000)]
Include backquote without simplifications

11 years agoAdd #' to the reader
David Vazquez [Sun, 16 Dec 2012 04:17:12 +0000 (04:17 +0000)]
Add #' to the reader

11 years agoFunction (#')
David Vazquez [Sun, 16 Dec 2012 04:14:02 +0000 (04:14 +0000)]
Function (#')

11 years agoDo not include prelude.js
David Vazquez [Sun, 16 Dec 2012 04:10:23 +0000 (04:10 +0000)]
Do not include prelude.js

11 years agolet as transformation
David Vazquez [Sun, 16 Dec 2012 04:07:13 +0000 (04:07 +0000)]
let as transformation

11 years agoDefine-transformation like light compiler macros
David Vazquez [Sun, 16 Dec 2012 04:01:34 +0000 (04:01 +0000)]
Define-transformation like light compiler macros

- Add progn

11 years agoEQ primitive function
David Vazquez [Sun, 16 Dec 2012 03:50:56 +0000 (03:50 +0000)]
EQ primitive function

11 years agoSymbols
David Vazquez [Sun, 16 Dec 2012 03:45:41 +0000 (03:45 +0000)]
Symbols

11 years agoConses are working
David Vazquez [Sun, 16 Dec 2012 03:30:06 +0000 (03:30 +0000)]
Conses are working

11 years agoFix literals
David Vazquez [Sun, 16 Dec 2012 03:15:07 +0000 (03:15 +0000)]
Fix literals