jscl.git
11 years agoFix TYPECASE macro for T/ELSE case.
Olof-Joachim Frahm [Mon, 10 Jun 2013 19:23:06 +0000 (21:23 +0200)]
Fix TYPECASE macro for T/ELSE case.

11 years agooops. Good fix to empty setq lisp-implementation
David Vázquez [Tue, 11 Jun 2013 16:10:26 +0000 (18:10 +0200)]
oops. Good fix to empty setq

11 years agoFix empty setq
David Vázquez [Tue, 11 Jun 2013 15:54:19 +0000 (17:54 +0200)]
Fix empty setq

11 years agoUse (SETF OGET) in package.lisp
David Vázquez [Fri, 7 Jun 2013 15:28:57 +0000 (16:28 +0100)]
Use (SETF OGET) in package.lisp

11 years agoMerge branch 'master' into ffi
David Vázquez [Fri, 7 Jun 2013 15:24:56 +0000 (16:24 +0100)]
Merge branch 'master' into ffi

11 years agoDisable test temporarily
David Vázquez [Fri, 7 Jun 2013 15:24:50 +0000 (16:24 +0100)]
Disable test temporarily

11 years agoRemove unnecesary test
David Vázquez [Fri, 7 Jun 2013 15:06:46 +0000 (16:06 +0100)]
Remove unnecesary test

11 years agoMerge branch 'master' into ffi
David Vázquez [Fri, 7 Jun 2013 15:00:05 +0000 (16:00 +0100)]
Merge branch 'master' into ffi

11 years agoMerge pull request #117 from Ferada/small-fixes
David Vázquez [Fri, 7 Jun 2013 14:54:19 +0000 (07:54 -0700)]
Merge pull request #117 from Ferada/small-fixes

Package fixes, other small stuff.

11 years agoFix long oget chaining adding :START and :END parameters to POSITION
David Vázquez [Fri, 7 Jun 2013 11:27:49 +0000 (12:27 +0100)]
Fix long oget chaining adding :START and :END parameters to POSITION

11 years ago'If' alternative is optional
David Vázquez [Fri, 7 Jun 2013 10:58:15 +0000 (11:58 +0100)]
'If' alternative is optional

11 years agoAccept both cases for FORMAT by using CHAR-UPCASE.
Olof-Joachim Frahm [Tue, 21 May 2013 19:07:37 +0000 (21:07 +0200)]
Accept both cases for FORMAT by using CHAR-UPCASE.

11 years agoFix return value of OSET.
Olof-Joachim Frahm [Thu, 6 Jun 2013 23:42:32 +0000 (01:42 +0200)]
Fix return value of OSET.

11 years agoMove *ROOT* to toplevel.lisp because of an error.
Olof-Joachim Frahm [Thu, 6 Jun 2013 22:56:50 +0000 (00:56 +0200)]
Move *ROOT* to toplevel.lisp because of an error.

11 years agoMake FORMATS Go-To available.
Olof-Joachim Frahm [Tue, 21 May 2013 19:05:36 +0000 (21:05 +0200)]
Make FORMATS Go-To available.

I.e. skip single argument for now.

11 years agoMake FUNCTION and FLOAT available in TYPECASE.
Olof-Joachim Frahm [Tue, 21 May 2013 19:04:53 +0000 (21:04 +0200)]
Make FUNCTION and FLOAT available in TYPECASE.

11 years agoTypo.
Olof-Joachim Frahm [Tue, 21 May 2013 19:04:43 +0000 (21:04 +0200)]
Typo.

11 years agoIN-PACKAGE uses a string designator.
Olof-Joachim Frahm [Tue, 21 May 2013 19:04:18 +0000 (21:04 +0200)]
IN-PACKAGE uses a string designator.

11 years agoMerge branch 'master' of github.com:davazp/jscl
David Vázquez [Thu, 6 Jun 2013 21:58:32 +0000 (22:58 +0100)]
Merge branch 'master' of github.com:davazp/jscl

# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.

11 years agoRemove D- prefix
David Vázquez [Thu, 6 Jun 2013 21:53:20 +0000 (22:53 +0100)]
Remove D- prefix

11 years agoMerge pull request #115 from orodley/smarter-escape-string
David Vázquez [Thu, 6 Jun 2013 21:40:36 +0000 (14:40 -0700)]
Merge pull request #115 from orodley/smarter-escape-string

Smarter escape-string

11 years agoRemove special JS FFI package
David Vázquez [Thu, 6 Jun 2013 21:31:59 +0000 (22:31 +0100)]
Remove special JS FFI package

11 years agoRemove some js-vset by (setf oget)
David Vázquez [Thu, 6 Jun 2013 19:53:44 +0000 (20:53 +0100)]
Remove some js-vset by (setf oget)

11 years ago(SETF OGET) AND (SETF OGET*)
David Vázquez [Thu, 6 Jun 2013 12:25:18 +0000 (13:25 +0100)]
(SETF OGET) AND (SETF OGET*)

11 years agoMultiple chaining keys in oset* and oset
David Vázquez [Thu, 6 Jun 2013 12:14:55 +0000 (13:14 +0100)]
Multiple chaining keys in oset* and oset

11 years agoFFI funcall
David Vázquez [Thu, 6 Jun 2013 11:55:35 +0000 (12:55 +0100)]
FFI funcall

11 years agooget support multiple key chaining
David Vázquez [Thu, 6 Jun 2013 11:49:03 +0000 (12:49 +0100)]
oget support multiple key chaining

11 years ago#j macrocharacter as synonymous of #J
David Vázquez [Thu, 6 Jun 2013 11:44:16 +0000 (12:44 +0100)]
#j macrocharacter as synonymous of #J

11 years agoUse two different string-escape functions
Owen Rodley [Wed, 5 Jun 2013 04:39:57 +0000 (16:39 +1200)]
Use two different string-escape functions
One for Lisp string literals, and the other for Javascript string
literals, the difference being the option to use single-quoted strings
in Javascript

11 years ago#J supports multiple descriptors
David Vázquez [Tue, 4 Jun 2013 19:46:18 +0000 (20:46 +0100)]
#J supports multiple descriptors

11 years ago#J "macro-character"
David Vázquez [Tue, 4 Jun 2013 19:35:12 +0000 (20:35 +0100)]
#J "macro-character"

11 years agoOSET* and OGET* type-preserving variants and *root* Javascript object
David Vázquez [Tue, 4 Jun 2013 19:23:36 +0000 (20:23 +0100)]
OSET* and OGET* type-preserving variants and *root* Javascript object

11 years agolisp-to-js and js-to-lisp wrappers
David Vázquez [Tue, 4 Jun 2013 17:59:17 +0000 (18:59 +0100)]
lisp-to-js and js-to-lisp wrappers

11 years agoSmarter string escaping. Fixes #114
Owen Rodley [Tue, 4 Jun 2013 04:42:44 +0000 (16:42 +1200)]
Smarter string escaping. Fixes #114
If the string contains no single quotes, use a single-quoted string.
If the string contains no double quotes, use a double-quoted string.
If it contains both, single-quote it and escape the single-quotes.
In all cases backslashes and newlines are escaped.

11 years agoAdd Ken Harris entry
David Vázquez [Tue, 4 Jun 2013 03:36:10 +0000 (04:36 +0100)]
Add Ken Harris entry

11 years agoSimple script to bootstrap JSCL
David Vázquez [Tue, 4 Jun 2013 02:23:29 +0000 (03:23 +0100)]
Simple script to bootstrap JSCL

11 years agoMerge pull request #109 from davazp/arrays
David Vázquez [Tue, 4 Jun 2013 02:17:35 +0000 (19:17 -0700)]
Merge pull request #109 from davazp/arrays

Merge storage vectors and beginnings of arrays implementation

11 years agoSpeed up arrays concatenating a litte bit
David Vázquez [Tue, 4 Jun 2013 02:19:49 +0000 (03:19 +0100)]
Speed up arrays concatenating a litte bit

11 years agoRemove char-to-string from tests
David Vázquez [Tue, 4 Jun 2013 02:03:03 +0000 (03:03 +0100)]
Remove char-to-string from tests

11 years agoMerge branch 'master' into arrays
David Vázquez [Tue, 4 Jun 2013 02:01:03 +0000 (03:01 +0100)]
Merge branch 'master' into arrays

Conflicts:
jscl.lisp
src/prelude.js

11 years agoMerge pull request #112 from kengruven/master
David Vázquez [Mon, 3 Jun 2013 12:57:36 +0000 (05:57 -0700)]
Merge pull request #112 from kengruven/master

Character functions

11 years agoMerge branch 'master' into arrays
David Vázquez [Mon, 3 Jun 2013 10:06:55 +0000 (11:06 +0100)]
Merge branch 'master' into arrays

11 years agoMerge pull request #108 from abeaumont/master
David Vázquez [Mon, 3 Jun 2013 09:52:03 +0000 (02:52 -0700)]
Merge pull request #108 from abeaumont/master

A proposal for code organization and style

11 years ago[doc] Some proposals for code organization and style
Alfredo Beaumont [Mon, 3 Jun 2013 09:38:56 +0000 (11:38 +0200)]
[doc] Some proposals for code organization and style

11 years agoMerge pull request #113 from orodley/quotes-in-docstrings
David Vázquez [Mon, 3 Jun 2013 09:23:14 +0000 (02:23 -0700)]
Merge pull request #113 from orodley/quotes-in-docstrings

Fix #111, error with docstrings containing single quotes

11 years agoFix #111, error with docstrings containing single quotes
Owen Rodley [Mon, 3 Jun 2013 01:09:49 +0000 (13:09 +1200)]
Fix #111, error with docstrings containing single quotes
ESCAPE-STRING assumes the resulting string is going to be double-quoted,
and LAMBA-NAME/DOCSTRING-WRAPPER was only single quoting them.

A similar issue was present for function names with single quotes. These
should be read differently, i.e. FO'O => FO (QUOTE O), but until the
reader is fixed to deal with this I think allowing them in function
names makes more sense than failing with a strange error message

11 years agoMerging from upstream.
Ken Harris [Sun, 2 Jun 2013 19:16:36 +0000 (12:16 -0700)]
Merging from upstream.

11 years agoFixing tabs/spaces. (Oops.)
Ken Harris [Sun, 2 Jun 2013 17:32:00 +0000 (10:32 -0700)]
Fixing tabs/spaces.  (Oops.)

11 years agoExtend DIGIT-CHAR-P to include all HexDigit characters.
Ken Harris [Sun, 2 Jun 2013 17:31:06 +0000 (10:31 -0700)]
Extend DIGIT-CHAR-P to include all HexDigit characters.

11 years agoCharacter case predicates.
Ken Harris [Sun, 2 Jun 2013 17:13:01 +0000 (10:13 -0700)]
Character case predicates.

11 years agoPersistent history
David Vázquez [Sun, 2 Jun 2013 08:32:02 +0000 (09:32 +0100)]
Persistent history

11 years agoprogn translation uses ',' Javascript operator
David Vázquez [Sat, 25 May 2013 13:23:30 +0000 (14:23 +0100)]
progn translation uses ',' Javascript operator

New compiler should deprecate this soon

11 years agoMove backquote to its own file
David Vázquez [Fri, 24 May 2013 20:26:22 +0000 (21:26 +0100)]
Move backquote to its own file

11 years agoMerge branch 'strings' into arrays
David Vázquez [Fri, 24 May 2013 01:58:40 +0000 (02:58 +0100)]
Merge branch 'strings' into arrays

11 years agostring-upcase and string-downcase non primitives
David Vázquez [Fri, 24 May 2013 01:58:25 +0000 (02:58 +0100)]
string-upcase and string-downcase non primitives

11 years agoRemove SLICE
David Vázquez [Fri, 24 May 2013 01:56:06 +0000 (02:56 +0100)]
Remove SLICE

11 years agoMove concat and char
David Vázquez [Fri, 24 May 2013 01:52:16 +0000 (02:52 +0100)]
Move concat and char

11 years agoMove string-length to non-primitive
David Vázquez [Fri, 24 May 2013 01:49:49 +0000 (02:49 +0100)]
Move string-length to non-primitive

11 years agoRemove char-to-string
David Vázquez [Fri, 24 May 2013 01:47:54 +0000 (02:47 +0100)]
Remove char-to-string

11 years agoSpecial case in make-array for strings
David Vázquez [Fri, 24 May 2013 01:46:45 +0000 (02:46 +0100)]
Special case in make-array for strings

11 years agoarray-element-type special case for strings
David Vázquez [Fri, 24 May 2013 01:44:38 +0000 (02:44 +0100)]
array-element-type special case for strings

11 years agoChange internal format of strings
David Vázquez [Fri, 24 May 2013 01:43:02 +0000 (02:43 +0100)]
Change internal format of strings

11 years agoAdd make-string
David Vázquez [Fri, 24 May 2013 01:27:41 +0000 (02:27 +0100)]
Add make-string

11 years agoconcatenate-two
David Vázquez [Fri, 24 May 2013 01:25:35 +0000 (02:25 +0100)]
concatenate-two

11 years agoFix bug in read-symbol
David Vázquez [Fri, 24 May 2013 01:17:31 +0000 (02:17 +0100)]
Fix bug in read-symbol

11 years agoUse STRING instead of the internal function CHAR-TO-STRING
David Vázquez [Fri, 24 May 2013 01:13:46 +0000 (02:13 +0100)]
Use STRING instead of the internal function CHAR-TO-STRING

11 years agoCompare strings with string= rather than equal
David Vázquez [Fri, 24 May 2013 01:13:16 +0000 (02:13 +0100)]
Compare strings with string= rather than equal

11 years agoRemove AFIND
David Vázquez [Fri, 24 May 2013 01:06:24 +0000 (02:06 +0100)]
Remove AFIND

11 years agoRemove aresize
David Vázquez [Fri, 24 May 2013 01:05:17 +0000 (02:05 +0100)]
Remove aresize

11 years agoFix typo
David Vázquez [Fri, 24 May 2013 01:03:17 +0000 (02:03 +0100)]
Fix typo

11 years agoTest file for array.lisp
David Vázquez [Fri, 24 May 2013 00:55:13 +0000 (01:55 +0100)]
Test file for array.lisp

11 years agoRename arrays.lisp to array.lisp
David Vázquez [Fri, 24 May 2013 00:51:53 +0000 (01:51 +0100)]
Rename arrays.lisp to array.lisp

11 years agoMove vector-push-extend to arrays.lisp
David Vázquez [Fri, 24 May 2013 00:51:38 +0000 (01:51 +0100)]
Move vector-push-extend to arrays.lisp

11 years agoUnidimensional aref and aset
David Vázquez [Fri, 24 May 2013 00:47:49 +0000 (01:47 +0100)]
Unidimensional aref and aset

11 years agoBasic storage vectors operations and array construction
David Vázquez [Fri, 24 May 2013 00:42:18 +0000 (01:42 +0100)]
Basic storage vectors operations and array construction

11 years agoAdd array file
David Vázquez [Fri, 24 May 2013 00:04:28 +0000 (01:04 +0100)]
Add array file

11 years agoFix comment style and better annotation on expected failure
David Vázquez [Mon, 20 May 2013 10:20:53 +0000 (11:20 +0100)]
Fix comment style and better annotation on expected failure

11 years agoMerge pull request #105 from orodley/numbers
David Vázquez [Mon, 20 May 2013 10:12:55 +0000 (03:12 -0700)]
Merge pull request #105 from orodley/numbers

Numeric functions

11 years agoAdd some tests for the new functions
Owen Rodley [Sat, 18 May 2013 23:17:23 +0000 (11:17 +1200)]
Add some tests for the new functions

11 years agoFix - and /
Owen Rodley [Sat, 18 May 2013 23:13:28 +0000 (11:13 +1200)]
Fix - and /
Introduce a new macro, as the one for + and * doesn't handle them
correctly

11 years agoAdd /= function
Owen Rodley [Sat, 18 May 2013 14:03:09 +0000 (02:03 +1200)]
Add /= function

11 years agoVariadic functions for * and /
Owen Rodley [Sat, 18 May 2013 13:59:08 +0000 (01:59 +1200)]
Variadic functions for * and /
Uses a new macro DEFINE-VARIADIC-OP, which also captures a pattern used
in + and -, and is used for them as well

11 years agoDEFCOMPARISON for =
Owen Rodley [Sat, 18 May 2013 13:51:08 +0000 (01:51 +1200)]
DEFCOMPARISON for =

11 years agoMove over some numeric functions from boot.lisp
Owen Rodley [Sat, 18 May 2013 13:49:37 +0000 (01:49 +1200)]
Move over some numeric functions from boot.lisp
Leave only the minimum required for booting

11 years agoUse DOLIST instead of WHILE
Owen Rodley [Sat, 18 May 2013 13:10:48 +0000 (01:10 +1200)]
Use DOLIST instead of WHILE

11 years agoCreate numbers.lisp with some basic numeric functions
Owen Rodley [Sat, 18 May 2013 13:05:54 +0000 (01:05 +1200)]
Create numbers.lisp with some basic numeric functions

11 years agoMerge pull request #106 from orodley/typo
David Vázquez [Sun, 19 May 2013 15:10:37 +0000 (08:10 -0700)]
Merge pull request #106 from orodley/typo

Fix typo in tests.lisp

11 years agoFix typo in tests.lisp
Owen Rodley [Sat, 18 May 2013 23:37:24 +0000 (11:37 +1200)]
Fix typo in tests.lisp

11 years agoExport _all_ standard symbols
David Vázquez [Sat, 18 May 2013 12:42:59 +0000 (13:42 +0100)]
Export _all_ standard symbols

11 years agoMerge branch 'satisfies' of https://github.com/orodley/jscl into satisfies-test
David Vázquez [Sat, 18 May 2013 12:37:35 +0000 (13:37 +0100)]
Merge branch 'satisfies' of https://github.com/orodley/jscl into satisfies-test

Conflicts:
src/toplevel.lisp

11 years agoMerge branch 'master' of github.com:davazp/jscl
David Vázquez [Sat, 18 May 2013 12:33:38 +0000 (13:33 +0100)]
Merge branch 'master' of github.com:davazp/jscl

# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.

11 years agoMerge branch 'package-improvements' of https://github.com/Ferada/jscl into Ferada...
David Vázquez [Sat, 18 May 2013 12:32:37 +0000 (13:32 +0100)]
Merge branch 'package-improvements' of https://github.com/Ferada/jscl into Ferada-package-improvements

11 years agoRewrite RASSOC using SATISFIES-TEST-P
Owen Rodley [Sat, 18 May 2013 04:35:13 +0000 (16:35 +1200)]
Rewrite RASSOC using SATISFIES-TEST-P

11 years agoRewrite ASSOC using SATISFIES-TEST-P
Owen Rodley [Sat, 18 May 2013 04:32:50 +0000 (16:32 +1200)]
Rewrite ASSOC using SATISFIES-TEST-P

11 years agoRewrite MEMBER using SATISFIES-TEST-P
Owen Rodley [Sat, 18 May 2013 04:29:32 +0000 (16:29 +1200)]
Rewrite MEMBER using SATISFIES-TEST-P

11 years agoAdd TEST-NOT keyword argument to TREE-EQUAL
Owen Rodley [Sat, 18 May 2013 04:26:27 +0000 (16:26 +1200)]
Add TEST-NOT keyword argument to TREE-EQUAL

11 years agoTests for modified sequence functions
Owen Rodley [Sat, 18 May 2013 04:00:09 +0000 (16:00 +1200)]
Tests for modified sequence functions

11 years agoRewrite REMOVE using SATISFIES-TEST-P
Owen Rodley [Sat, 18 May 2013 03:39:17 +0000 (15:39 +1200)]
Rewrite REMOVE using SATISFIES-TEST-P

11 years agoRewrite POSITION using SATISFIES-TEST-P and add missing export
Owen Rodley [Sat, 18 May 2013 03:32:14 +0000 (15:32 +1200)]
Rewrite POSITION using SATISFIES-TEST-P and add missing export

11 years agoRewrite FIND using SATISFIES-TEST-P
Owen Rodley [Sat, 18 May 2013 03:26:43 +0000 (15:26 +1200)]
Rewrite FIND using SATISFIES-TEST-P