jscl.git
11 years agoCloses 5 and simplify lambda compilation
David Vázquez [Sat, 9 Feb 2013 02:29:39 +0000 (03:29 +0100)]
Closes 5 and simplify lambda compilation

11 years ago&key support in lambda
David Vázquez [Sat, 9 Feb 2013 02:19:58 +0000 (03:19 +0100)]
&key support in lambda

11 years agoParse lambda-list keywords
David Vázquez [Sat, 9 Feb 2013 01:21:44 +0000 (02:21 +0100)]
Parse lambda-list keywords

11 years agoNew function: CONSTANTLY
David Vázquez [Fri, 8 Feb 2013 22:50:15 +0000 (23:50 +0100)]
New function: CONSTANTLY

11 years agoIterative MAPCAR
David Vázquez [Fri, 8 Feb 2013 22:47:13 +0000 (23:47 +0100)]
Iterative MAPCAR

11 years agoDIGIT-CHAR
David Vázquez [Thu, 7 Feb 2013 23:30:08 +0000 (00:30 +0100)]
DIGIT-CHAR

11 years agoFUNCTION supports lexical functions
David Vázquez [Thu, 7 Feb 2013 23:12:28 +0000 (00:12 +0100)]
FUNCTION supports lexical functions

11 years agoLABELS working and exported
David Vázquez [Thu, 7 Feb 2013 23:07:02 +0000 (00:07 +0100)]
LABELS working and exported

No error checking yet

11 years agoNew special form: labels
David Vázquez [Thu, 7 Feb 2013 22:58:07 +0000 (23:58 +0100)]
New special form: labels

11 years agoDo not escape HTML in in the console
David Vazquez [Wed, 6 Feb 2013 22:45:57 +0000 (22:45 +0000)]
Do not escape HTML in in the console

11 years agoAdd FLET
David Vazquez [Tue, 5 Feb 2013 19:30:50 +0000 (19:30 +0000)]
Add FLET

11 years agoINTERN returns multiple values
David Vazquez [Mon, 4 Feb 2013 10:50:43 +0000 (10:50 +0000)]
INTERN returns multiple values

11 years agoSecond value of FIND-SYMBOL is a keyword
David Vazquez [Mon, 4 Feb 2013 00:27:11 +0000 (00:27 +0000)]
Second value of FIND-SYMBOL is a keyword

11 years agoAllow to use keywords in the compiler
David Vazquez [Mon, 4 Feb 2013 00:23:48 +0000 (00:23 +0000)]
Allow to use keywords in the compiler

11 years agoReverting "Dump keywords"
David Vazquez [Sun, 3 Feb 2013 11:25:19 +0000 (11:25 +0000)]
Reverting "Dump keywords"

This reverts commit 2890060b5446322f3831a8d6fdcba189ac2877ff.

11 years agoDump keywords
David Vazquez [Sat, 2 Feb 2013 20:13:46 +0000 (20:13 +0000)]
Dump keywords

11 years agoCompile last version
David Vazquez [Fri, 1 Feb 2013 12:27:41 +0000 (12:27 +0000)]
Compile last version

11 years agoRemove auxiliar %FIND-SYMBOL function
David Vazquez [Fri, 1 Feb 2013 12:27:35 +0000 (12:27 +0000)]
Remove auxiliar %FIND-SYMBOL function

11 years agoFIND-SYMBOL return a second value
David Vazquez [Fri, 1 Feb 2013 12:17:35 +0000 (12:17 +0000)]
FIND-SYMBOL return a second value

11 years agoOptional sign prefix for integer reader
David Vázquez [Thu, 31 Jan 2013 17:50:48 +0000 (17:50 +0000)]
Optional sign prefix for integer reader

11 years agoExport parse-integer
David Vázquez [Thu, 31 Jan 2013 17:37:55 +0000 (17:37 +0000)]
Export parse-integer

11 years agoBetter parse-integer
David Vázquez [Thu, 31 Jan 2013 17:36:09 +0000 (17:36 +0000)]
Better parse-integer

11 years agoFix a bug related to SETQ which DO* uncovered
David Vazquez [Thu, 31 Jan 2013 00:39:45 +0000 (00:39 +0000)]
Fix a bug related to SETQ which DO* uncovered

11 years agoPreliminary DO and DO* iteration macros
David Vázquez [Wed, 30 Jan 2013 23:13:12 +0000 (23:13 +0000)]
Preliminary DO and DO* iteration macros

11 years agoRename SETCAR and SETCDR to RPLACA and REPLACD respectively
David Vazquez [Tue, 29 Jan 2013 17:19:01 +0000 (17:19 +0000)]
Rename SETCAR and SETCDR to RPLACA and REPLACD respectively

And export them

11 years agoLAMBDA is a macro expanding to #'(LAMBDA ...) now
David Vazquez [Tue, 29 Jan 2013 00:57:36 +0000 (00:57 +0000)]
LAMBDA is a macro expanding to #'(LAMBDA ...) now

11 years agoFixes #9: CATCH/THROW and BLOCK/RETURN-FROM support multiple values
David Vazquez [Tue, 29 Jan 2013 00:17:31 +0000 (00:17 +0000)]
Fixes #9: CATCH/THROW and BLOCK/RETURN-FROM support multiple values

11 years agoEVAL-WHEN-COMPILE equivalent to PROGN if we are not compiling a file
David Vazquez [Mon, 28 Jan 2013 16:18:25 +0000 (16:18 +0000)]
EVAL-WHEN-COMPILE equivalent to PROGN if we are not compiling a file

11 years agoRemove rests
David Vazquez [Mon, 28 Jan 2013 15:52:07 +0000 (15:52 +0000)]
Remove rests

11 years agoPrimary value of (values) is NIL
David Vazquez [Mon, 28 Jan 2013 15:38:52 +0000 (15:38 +0000)]
Primary value of (values) is NIL

11 years agoMerge branch 'simple-optimizations' into gh-pages
David Vazquez [Sun, 27 Jan 2013 22:45:40 +0000 (22:45 +0000)]
Merge branch 'simple-optimizations' into gh-pages

11 years agoHelper function QIList to build improper lists
David Vazquez [Sun, 27 Jan 2013 19:39:45 +0000 (19:39 +0000)]
Helper function QIList to build improper lists

11 years agoNew function `lambda-check-argument-count'
David Vazquez [Sun, 27 Jan 2013 18:51:51 +0000 (18:51 +0000)]
New function `lambda-check-argument-count'

11 years agoFix some newlines
David Vazquez [Sun, 27 Jan 2013 18:21:17 +0000 (18:21 +0000)]
Fix some newlines

11 years agoPrepend prelude.js automatically
David Vazquez [Sun, 27 Jan 2013 18:16:42 +0000 (18:16 +0000)]
Prepend prelude.js automatically

11 years agoRemove non-overridable declaration.
David Vazquez [Sun, 27 Jan 2013 18:07:06 +0000 (18:07 +0000)]
Remove non-overridable declaration.

All standard package is marked as non-overridable.

11 years agoOptimization: remove unused blocks
David Vazquez [Sun, 27 Jan 2013 16:05:32 +0000 (16:05 +0000)]
Optimization: remove unused blocks

11 years agoSmall optimization: (progn x) === x
David Vazquez [Sun, 27 Jan 2013 14:00:32 +0000 (14:00 +0000)]
Small optimization: (progn x) === x

11 years agoAdd MULTIPLE-VALUE-PROG1 and fix MULTIPLE-VALUE-CALL
David Vazquez [Sat, 26 Jan 2013 18:05:08 +0000 (18:05 +0000)]
Add MULTIPLE-VALUE-PROG1 and fix MULTIPLE-VALUE-CALL

11 years agoFix: Multiple values preserved on macroexpansion
David Vazquez [Sat, 26 Jan 2013 11:21:51 +0000 (11:21 +0000)]
Fix: Multiple values preserved on macroexpansion

11 years agofix MULTIPLE-VALUE-BIND
David Vazquez [Sat, 26 Jan 2013 10:45:11 +0000 (10:45 +0000)]
fix MULTIPLE-VALUE-BIND

11 years agoPrelude format
David Vazquez [Fri, 25 Jan 2013 23:42:19 +0000 (23:42 +0000)]
Prelude format

11 years agoMerge branch 'multiple-values-implementation' into gh-pages
David Vazquez [Fri, 25 Jan 2013 17:17:37 +0000 (17:17 +0000)]
Merge branch 'multiple-values-implementation' into gh-pages

11 years agoFix progn issue with multiple values
David Vazquez [Fri, 25 Jan 2013 17:14:12 +0000 (17:14 +0000)]
Fix progn issue with multiple values

11 years agoFUNCALL and APPLY can return multiple values
David Vazquez [Fri, 25 Jan 2013 16:50:12 +0000 (16:50 +0000)]
FUNCALL and APPLY can return multiple values

11 years agoSome comments
David Vazquez [Fri, 25 Jan 2013 16:45:57 +0000 (16:45 +0000)]
Some comments

11 years agoProgresses in multiple values support
David Vazquez [Fri, 25 Jan 2013 16:34:13 +0000 (16:34 +0000)]
Progresses in multiple values support

11 years agomultiple values support in the REPL
David Vazquez [Fri, 25 Jan 2013 14:29:11 +0000 (14:29 +0000)]
multiple values support in the REPL

11 years agoIF can return multiple values
David Vazquez [Fri, 25 Jan 2013 14:20:01 +0000 (14:20 +0000)]
IF can return multiple values

11 years agoMULTIPLE-VALUE-CALL implementation
David Vazquez [Fri, 25 Jan 2013 00:20:58 +0000 (00:20 +0000)]
MULTIPLE-VALUE-CALL implementation

11 years agoMULTIPLE-VALUE-P argument to LS-COMPILE
David Vazquez [Fri, 25 Jan 2013 00:03:56 +0000 (00:03 +0000)]
MULTIPLE-VALUE-P argument to LS-COMPILE

11 years agoExport VALUES, VALUES-LIST and MULTIPLE-VALUE-CALL
David Vazquez [Thu, 24 Jan 2013 23:53:26 +0000 (23:53 +0000)]
Export VALUES, VALUES-LIST and MULTIPLE-VALUE-CALL

11 years agoValues is inlined only in functions
David Vazquez [Thu, 24 Jan 2013 23:51:06 +0000 (23:51 +0000)]
Values is inlined only in functions

11 years agoDo not inline builtin funcionts out of a lambda
David Vazquez [Thu, 24 Jan 2013 23:36:47 +0000 (23:36 +0000)]
Do not inline builtin funcionts out of a lambda

11 years agoRename ID to PV (primary value)
David Vazquez [Thu, 24 Jan 2013 22:58:45 +0000 (22:58 +0000)]
Rename ID to PV (primary value)

11 years agoVALUES-LIST
David Vazquez [Thu, 24 Jan 2013 22:46:50 +0000 (22:46 +0000)]
VALUES-LIST

11 years agoCreate a first parameter VALUES (unused by now) in each function and each funcall
David Vazquez [Wed, 23 Jan 2013 23:49:00 +0000 (23:49 +0000)]
Create a first parameter VALUES (unused by now) in each function and each funcall

11 years agoCreate a pure Javascript identity function
David Vazquez [Wed, 23 Jan 2013 23:44:29 +0000 (23:44 +0000)]
Create a pure Javascript identity function

Used to return primary values of functions

11 years agoRename FUNCTION symbol's slot to FVALUE
David Vazquez [Wed, 23 Jan 2013 14:49:16 +0000 (14:49 +0000)]
Rename FUNCTION symbol's slot to FVALUE

11 years agoRead and print uninterned symbols
David Vazquez [Tue, 22 Jan 2013 16:46:15 +0000 (16:46 +0000)]
Read and print uninterned symbols

11 years agoExport DEFMACRO
David Vazquez [Mon, 21 Jan 2013 20:20:47 +0000 (20:20 +0000)]
Export DEFMACRO

11 years agoNew function: GET-UNIVERSAL-TIME
David Vazquez [Mon, 21 Jan 2013 19:55:19 +0000 (19:55 +0000)]
New function: GET-UNIVERSAL-TIME

11 years agoUse let* instead of nested lets
David Vazquez [Sat, 19 Jan 2013 20:09:16 +0000 (20:09 +0000)]
Use let* instead of nested lets

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

11 years agoExport PSETQ and fix PROGN export
David Vázquez [Sun, 20 Jan 2013 17:51:08 +0000 (17:51 +0000)]
Export PSETQ and fix PROGN export

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