jscl.git
11 years agoMerge branch 'psetq' into gh-pages
David Vázquez [Sun, 20 Jan 2013 17:49:41 +0000 (17:49 +0000)]
Merge branch 'psetq' into gh-pages

11 years agoMerge branch 'simple-arrays' into gh-pages
David Vázquez [Sun, 20 Jan 2013 17:49:03 +0000 (17:49 +0000)]
Merge branch 'simple-arrays' into gh-pages

Conflicts:
ecmalisp.lisp

11 years agoCompile last version
David Vázquez [Sun, 20 Jan 2013 17:41:54 +0000 (17:41 +0000)]
Compile last version

11 years agoAlign exports
David Vázquez [Sun, 20 Jan 2013 17:41:21 +0000 (17:41 +0000)]
Align exports

11 years agoFix n-arity comparisons
David Vázquez [Sun, 20 Jan 2013 17:39:37 +0000 (17:39 +0000)]
Fix n-arity comparisons

11 years agoFix (/ N)
David Vázquez [Sun, 20 Jan 2013 17:29:32 +0000 (17:29 +0000)]
Fix (/ N)

11 years agoPSETQ and multiple pairs SETQ
David Vázquez [Sun, 20 Jan 2013 17:24:54 +0000 (17:24 +0000)]
PSETQ and multiple pairs SETQ

11 years agoArray out-of-range checks
David Vázquez [Sun, 20 Jan 2013 16:37:22 +0000 (16:37 +0000)]
Array out-of-range checks

11 years agoCompile literal arrays
David Vázquez [Sun, 20 Jan 2013 16:20:24 +0000 (16:20 +0000)]
Compile literal arrays

11 years agoExport MAKE-ARRAY, ARRAYP, AREF and ASET functions
David Vázquez [Sun, 20 Jan 2013 16:13:46 +0000 (16:13 +0000)]
Export MAKE-ARRAY, ARRAYP, AREF and ASET functions

11 years agoAdequate arithmetic operations on lists
rayslava [Sun, 20 Jan 2013 16:12:32 +0000 (20:12 +0400)]
Adequate arithmetic operations on lists

11 years agoPrinter for arrays
David Vázquez [Sun, 20 Jan 2013 16:11:56 +0000 (16:11 +0000)]
Printer for arrays

11 years agoLENGTH function works for arrays (vectors)
David Vázquez [Sun, 20 Jan 2013 16:06:53 +0000 (16:06 +0000)]
LENGTH function works for arrays (vectors)

11 years agoMAKE-ARRAY, AREF, ASET and ARRAYP functions
David Vázquez [Sun, 20 Jan 2013 16:03:51 +0000 (16:03 +0000)]
MAKE-ARRAY, AREF, ASET and ARRAYP functions

11 years agoMerge remote-tracking branch 'upstream/gh-pages' into gh-pages
rayslava [Sun, 20 Jan 2013 15:57:47 +0000 (19:57 +0400)]
Merge remote-tracking branch 'upstream/gh-pages' into gh-pages

11 years agoSome tries in arithmetics
rayslava [Sun, 20 Jan 2013 15:57:32 +0000 (19:57 +0400)]
Some tries in arithmetics

11 years agonotinline version of + and -
David Vázquez [Sun, 20 Jan 2013 15:44:20 +0000 (15:44 +0000)]
notinline version of + and -

11 years agoVariable arity + and - functions
David Vázquez [Sun, 20 Jan 2013 15:40:13 +0000 (15:40 +0000)]
Variable arity + and - functions

11 years agoMerge remote-tracking branch 'upstream/variable-arity' into gh-pages
rayslava [Sun, 20 Jan 2013 15:07:23 +0000 (19:07 +0400)]
Merge remote-tracking branch 'upstream/variable-arity' into gh-pages

Conflicts:
ecmalisp.lisp

11 years agoTypo
David Vázquez [Sun, 20 Jan 2013 14:54:15 +0000 (14:54 +0000)]
Typo

11 years agoVARIABLE-ARITY helper macro
David Vázquez [Sun, 20 Jan 2013 14:45:10 +0000 (14:45 +0000)]
VARIABLE-ARITY helper macro

11 years agoOptimal arithmetics generation
rayslava [Sun, 20 Jan 2013 08:44:25 +0000 (12:44 +0400)]
Optimal arithmetics generation

11 years agoComparisons on lists
rayslava [Sat, 19 Jan 2013 21:11:16 +0000 (01:11 +0400)]
Comparisons on lists

11 years agoMerge remote-tracking branch 'upstream/gh-pages' into gh-pages
rayslava [Sat, 19 Jan 2013 19:28:51 +0000 (23:28 +0400)]
Merge remote-tracking branch 'upstream/gh-pages' into gh-pages

11 years agoArithmetic operations on lists
rayslava [Sat, 19 Jan 2013 19:27:18 +0000 (23:27 +0400)]
Arithmetic operations on lists

11 years agoExport &rest and &optional symbols
David Vazquez [Sat, 19 Jan 2013 15:54:38 +0000 (15:54 +0000)]
Export &rest and &optional symbols

11 years agoImplement LET*
David Vazquez [Sat, 19 Jan 2013 15:47:34 +0000 (15:47 +0000)]
Implement LET*

11 years agoExport LAMBDA, no LAMBDA-CODE
David Vazquez [Sat, 19 Jan 2013 14:57:57 +0000 (14:57 +0000)]
Export LAMBDA, no LAMBDA-CODE

Conflicts:
ecmalisp.lisp

11 years agoMerge pull request #1 from rayslava/gh-pages
David Vázquez [Sat, 19 Jan 2013 14:54:23 +0000 (06:54 -0800)]
Merge pull request #1 from rayslava/gh-pages

Export if from CL package

11 years agoAdded "if" into exports
rayslava [Sat, 19 Jan 2013 14:45:11 +0000 (18:45 +0400)]
Added "if" into exports

11 years agoImplement LET*
David Vazquez [Sat, 19 Jan 2013 13:53:45 +0000 (13:53 +0000)]
Implement LET*

11 years agoGlobal special declaration
David Vazquez [Sat, 19 Jan 2013 12:58:22 +0000 (12:58 +0000)]
Global special declaration

Change defvar definition to include it

11 years agoCompile support for keywords
David Vazquez [Sat, 19 Jan 2013 02:03:49 +0000 (02:03 +0000)]
Compile support for keywords

11 years agoMerge branch 'master' into gh-pages
David Vazquez [Sat, 19 Jan 2013 02:03:22 +0000 (02:03 +0000)]
Merge branch 'master' into gh-pages

11 years agoSupport for keywords
David Vazquez [Sat, 19 Jan 2013 02:02:59 +0000 (02:02 +0000)]
Support for keywords

11 years agoUpdate last version
David Vazquez [Sat, 19 Jan 2013 01:07:39 +0000 (01:07 +0000)]
Update last version

11 years agoMinor bug
David Vazquez [Sat, 19 Jan 2013 01:05:46 +0000 (01:05 +0000)]
Minor bug

11 years agoShow current package name as prompt
David Vazquez [Sat, 19 Jan 2013 00:56:36 +0000 (00:56 +0000)]
Show current package name as prompt

11 years agoPackage prefix support in the reader
David Vazquez [Sat, 19 Jan 2013 00:48:38 +0000 (00:48 +0000)]
Package prefix support in the reader

11 years agoCompile last version
David Vazquez [Fri, 18 Jan 2013 23:33:10 +0000 (23:33 +0000)]
Compile last version

11 years agoMerge branch 'master' into gh-pages
David Vazquez [Fri, 18 Jan 2013 23:32:35 +0000 (23:32 +0000)]
Merge branch 'master' into gh-pages

11 years agoSet CL-USER package as default
David Vazquez [Fri, 18 Jan 2013 23:29:40 +0000 (23:29 +0000)]
Set CL-USER package as default

11 years agoBasic package exports
David Vazquez [Fri, 18 Jan 2013 23:28:26 +0000 (23:28 +0000)]
Basic package exports

11 years agoCompile and undo-ignore ecmalisp.js on gh-pages
David Vazquez [Fri, 18 Jan 2013 02:19:38 +0000 (02:19 +0000)]
Compile and undo-ignore ecmalisp.js on gh-pages

11 years agoMerge branch 'master' into gh-pages
David Vazquez [Fri, 18 Jan 2013 02:17:51 +0000 (02:17 +0000)]
Merge branch 'master' into gh-pages

11 years agoSYMBOL-PACKAGE
David Vazquez [Fri, 18 Jan 2013 02:15:57 +0000 (02:15 +0000)]
SYMBOL-PACKAGE

11 years agoDefine PROCLAIM alias for !PROCLAIM
David Vazquez [Fri, 18 Jan 2013 02:06:54 +0000 (02:06 +0000)]
Define PROCLAIM alias for !PROCLAIM

11 years agoIgnore ecmalisp.js in master branch
David Vazquez [Fri, 18 Jan 2013 01:51:52 +0000 (01:51 +0000)]
Ignore ecmalisp.js in master branch

11 years agoRemove ecmalisp from master repository
David Vazquez [Fri, 18 Jan 2013 01:50:55 +0000 (01:50 +0000)]
Remove ecmalisp from master repository

11 years agoBasic package functions
David Vazquez [Fri, 18 Jan 2013 01:48:08 +0000 (01:48 +0000)]
Basic package functions

11 years agoAll initial functions are are non-overridable by default
David Vazquez [Thu, 17 Jan 2013 21:06:07 +0000 (21:06 +0000)]
All initial functions are are non-overridable by default

11 years ago`constant' and `non-overridable' declarations
David Vazquez [Thu, 17 Jan 2013 19:31:59 +0000 (19:31 +0000)]
`constant' and `non-overridable' declarations

11 years ago!PROCLAIM and NOTINLINE support
David Vazquez [Thu, 17 Jan 2013 18:57:49 +0000 (18:57 +0000)]
!PROCLAIM and NOTINLINE support

11 years agoFix bug about strings in docstring position
David Vazquez [Thu, 17 Jan 2013 17:47:50 +0000 (17:47 +0000)]
Fix bug about strings in docstring position

For instance, in

  (defun f () "str")

"str" is a form, no the docstring of F.

11 years agoUse JOIN instead of reduce/concat
David Vazquez [Thu, 17 Jan 2013 17:15:52 +0000 (17:15 +0000)]
Use JOIN instead of reduce/concat

11 years agoConsider lambda docstrings at compile-time
David Vazquez [Thu, 17 Jan 2013 17:10:28 +0000 (17:10 +0000)]
Consider lambda docstrings at compile-time

11 years agoCompile macro expander functions after first use in target
David Vazquez [Thu, 17 Jan 2013 16:27:45 +0000 (16:27 +0000)]
Compile macro expander functions after first use in target

11 years agoSupport for docstrings and DOCUMENTATION function
David Vazquez [Thu, 17 Jan 2013 16:13:57 +0000 (16:13 +0000)]
Support for docstrings and DOCUMENTATION function

11 years agoRemove redundant return value of defmacro
David Vazquez [Thu, 17 Jan 2013 15:23:45 +0000 (15:23 +0000)]
Remove redundant return value of defmacro

11 years agoRename binding-translation to binding-value
David Vazquez [Thu, 17 Jan 2013 14:41:00 +0000 (14:41 +0000)]
Rename binding-translation to binding-value

11 years agoAdd RETURN-LAST-P argument to LS-COMPILE-BLOCK
David Vazquez [Thu, 17 Jan 2013 01:53:09 +0000 (01:53 +0000)]
Add RETURN-LAST-P argument to LS-COMPILE-BLOCK

11 years agoReplace ENV by *ENVIRONMENT*
David Vazquez [Thu, 17 Jan 2013 01:49:34 +0000 (01:49 +0000)]
Replace ENV by *ENVIRONMENT*

It is to say, it simplifies the code using a special variable to keep
the environment instead of a explicit argument value.

11 years agoMerge branch 'special-variables' into development
David Vazquez [Wed, 16 Jan 2013 21:21:51 +0000 (21:21 +0000)]
Merge branch 'special-variables' into development

11 years agoUse special variable to fix nested toplevel compilation bug
David Vazquez [Wed, 16 Jan 2013 21:01:20 +0000 (21:01 +0000)]
Use special variable to fix nested toplevel compilation bug

11 years agoLet supports special variables
David Vazquez [Wed, 16 Jan 2013 20:54:32 +0000 (20:54 +0000)]
Let supports special variables

11 years agoAdd: DEFPARAMETER
David Vázquez [Wed, 16 Jan 2013 17:18:45 +0000 (17:18 +0000)]
Add: DEFPARAMETER

11 years agoAdd BOUNDP
David Vázquez [Wed, 16 Jan 2013 13:00:02 +0000 (13:00 +0000)]
Add BOUNDP

11 years ago%compile-defmacro compiles the name as a symbol
David Vázquez [Wed, 16 Jan 2013 12:41:15 +0000 (12:41 +0000)]
%compile-defmacro compiles the name as a symbol

11 years agoReverting "Replace INTERNP by FIND-SYMBOL"
David Vázquez [Wed, 16 Jan 2013 12:33:36 +0000 (12:33 +0000)]
Reverting "Replace INTERNP by FIND-SYMBOL"

FIND-SYMBOL does not allow to difference between interned NIL and
uninterned symbols.

This reverts commit 25fa7dc525c432ea68bdae231748b279a2ab65ef.

11 years agoRevert symbol dumping
David Vázquez [Wed, 16 Jan 2013 12:31:06 +0000 (12:31 +0000)]
Revert symbol dumping

11 years agoReplace INTERNP by FIND-SYMBOL
David Vazquez [Wed, 16 Jan 2013 03:21:30 +0000 (03:21 +0000)]
Replace INTERNP by FIND-SYMBOL

11 years agoTool function: DISASSEMBLE
David Vazquez [Wed, 16 Jan 2013 02:59:51 +0000 (02:59 +0000)]
Tool function: DISASSEMBLE

11 years agoAvoid circularity issue in funcalls
David Vazquez [Wed, 16 Jan 2013 02:51:08 +0000 (02:51 +0000)]
Avoid circularity issue in funcalls

11 years agoNew: symbol-plist
David Vazquez [Wed, 16 Jan 2013 02:09:41 +0000 (02:09 +0000)]
New: symbol-plist

11 years agoUnify 'lambda funcall' and 'symbol funcall' via function special form
David Vazquez [Wed, 16 Jan 2013 02:01:10 +0000 (02:01 +0000)]
Unify 'lambda funcall' and 'symbol funcall' via function special form

11 years agosymbol-function checks if the function is defined
David Vazquez [Wed, 16 Jan 2013 01:47:54 +0000 (01:47 +0000)]
symbol-function checks if the function is defined

11 years agoRemove FSETQ and LOOKUP-FUNCTION functions
David Vazquez [Wed, 16 Jan 2013 01:21:47 +0000 (01:21 +0000)]
Remove FSETQ and LOOKUP-FUNCTION functions

11 years agoRemove global lexical variables
David Vazquez [Wed, 16 Jan 2013 00:53:31 +0000 (00:53 +0000)]
Remove global lexical variables

11 years agoFix defmacro temporarily
David Vazquez [Tue, 15 Jan 2013 19:08:10 +0000 (19:08 +0000)]
Fix defmacro temporarily

11 years agoCopy *literal-counter* to target properly
David Vazquez [Tue, 15 Jan 2013 18:43:17 +0000 (18:43 +0000)]
Copy *literal-counter* to target properly

11 years agols-compile-toplevel emits a semicolon after the compiled toplevel instructions
David Vazquez [Tue, 15 Jan 2013 16:16:37 +0000 (16:16 +0000)]
ls-compile-toplevel emits a semicolon after the compiled toplevel instructions

11 years agoDifferent quote compilation in CL and ecmalisp
David Vazquez [Tue, 15 Jan 2013 13:43:45 +0000 (13:43 +0000)]
Different quote compilation in CL and ecmalisp

11 years agoFix compilation of quote in target
David Vazquez [Mon, 14 Jan 2013 20:50:28 +0000 (20:50 +0000)]
Fix compilation of quote in target

11 years agoChange definition of T and NIL, as package is kept in host now
David Vazquez [Mon, 14 Jan 2013 19:57:05 +0000 (19:57 +0000)]
Change definition of T and NIL, as package is kept in host now

11 years agols-compile-toplevel bypasses toplevel progns
David Vázquez [Mon, 14 Jan 2013 12:10:28 +0000 (12:10 +0000)]
ls-compile-toplevel bypasses toplevel progns

11 years agoBuild fixes
David Vázquez [Mon, 14 Jan 2013 12:01:32 +0000 (12:01 +0000)]
Build fixes

11 years agosetq and ls-compile deals with special-variables
David Vázquez [Mon, 14 Jan 2013 09:23:04 +0000 (09:23 +0000)]
setq and ls-compile deals with special-variables

11 years agoRename set/get to oset/oget. Define SET, SYMBOL-VALUE and SYMBOL-FUNCTION CL functions
David Vázquez [Mon, 14 Jan 2013 09:13:01 +0000 (09:13 +0000)]
Rename set/get to oset/oget. Define SET, SYMBOL-VALUE and SYMBOL-FUNCTION CL functions

11 years agoAdd PROG2 macro
David Vazquez [Sun, 13 Jan 2013 23:23:10 +0000 (23:23 +0000)]
Add PROG2 macro

11 years agoREVAPPEND, NTHCDR and rewrite some functions without recursion
David Vazquez [Sat, 12 Jan 2013 13:58:37 +0000 (13:58 +0000)]
REVAPPEND, NTHCDR and rewrite some functions without recursion

11 years agoCommon Lisp `indent' version to speed up bootstrap
David Vazquez [Sat, 12 Jan 2013 13:22:47 +0000 (13:22 +0000)]
Common Lisp `indent' version to speed up bootstrap

11 years agoFix `unknown variable' and `unknown function' error signaling
David Vázquez [Fri, 11 Jan 2013 17:24:55 +0000 (17:24 +0000)]
Fix `unknown variable' and `unknown function' error signaling

11 years agoImplicit tagbody in DOTIMES and DOLIST
David Vazquez [Wed, 9 Jan 2013 15:09:09 +0000 (15:09 +0000)]
Implicit tagbody in DOTIMES and DOLIST

11 years agoUse js!selfcall and js!bool emitter Javascript helper functions
David Vazquez [Wed, 9 Jan 2013 15:05:55 +0000 (15:05 +0000)]
Use js!selfcall and js!bool emitter Javascript helper functions

11 years agoImplement TAGBODY and GO special forms
David Vazquez [Wed, 9 Jan 2013 14:42:17 +0000 (14:42 +0000)]
Implement TAGBODY and GO special forms

11 years agoAdd UNWIND-PROTECT special operator
David Vazquez [Wed, 9 Jan 2013 01:28:07 +0000 (01:28 +0000)]
Add UNWIND-PROTECT special operator

11 years agoImplement CATCH and THROW
David Vazquez [Wed, 9 Jan 2013 01:15:16 +0000 (01:15 +0000)]
Implement CATCH and THROW

11 years agoFix DOTIMES and DOLIST implicit NIL to ignore the optional result form
David Vazquez [Tue, 8 Jan 2013 19:34:11 +0000 (19:34 +0000)]
Fix DOTIMES and DOLIST implicit NIL to ignore the optional result form

11 years agoUpdate copyright year
David Vazquez [Tue, 8 Jan 2013 19:29:30 +0000 (19:29 +0000)]
Update copyright year

11 years agoreturn argument is optional and assoc uses non local exit
David Vazquez [Tue, 8 Jan 2013 19:29:20 +0000 (19:29 +0000)]
return argument is optional and assoc uses non local exit