David Vázquez [Sun, 23 Jun 2013 13:25:14 +0000 (15:25 +0200)]
Fix MAPC
David Vázquez [Thu, 20 Jun 2013 12:26:53 +0000 (14:26 +0200)]
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.
David Vázquez [Thu, 20 Jun 2013 12:25:56 +0000 (14:25 +0200)]
Reduce tests
David Vázquez [Thu, 20 Jun 2013 12:22:18 +0000 (14:22 +0200)]
Shorter reduce implementation
David Vázquez [Thu, 20 Jun 2013 12:06:57 +0000 (14:06 +0200)]
List version of reduce
David Vázquez [Wed, 19 Jun 2013 20:27:52 +0000 (13:27 -0700)]
Merge pull request #132 from kengruven/master
Fixed min/max
Ken Harris [Wed, 19 Jun 2013 18:44:44 +0000 (11:44 -0700)]
Fixed max/min functions.
David Vázquez [Tue, 18 Jun 2013 23:31:17 +0000 (01:31 +0200)]
Simpler VECTOR definition
David Vázquez [Tue, 18 Jun 2013 23:26:37 +0000 (16:26 -0700)]
Merge pull request #128 from kengruven/master
Various functions and minor bug fixes
Ken Harris [Mon, 17 Jun 2013 22:29:55 +0000 (15:29 -0700)]
Merge upstream.
Ken Harris [Mon, 17 Jun 2013 15:51:22 +0000 (08:51 -0700)]
MAPLIST.
Ken Harris [Sun, 16 Jun 2013 18:17:29 +0000 (11:17 -0700)]
GCD, LCM, SIGNUM.
David Vázquez [Sun, 16 Jun 2013 05:02:07 +0000 (22:02 -0700)]
Merge pull request #126 from orodley/max-min
Use MACROLET for MAX and MIN
Ken Harris [Sun, 16 Jun 2013 04:59:00 +0000 (21:59 -0700)]
Bug fix: INTERSECTION doesn't apply :key to list1.
Owen Rodley [Sun, 16 Jun 2013 01:26:45 +0000 (13:26 +1200)]
Use MACROLET for MAX and MIN
Ken Harris [Sun, 16 Jun 2013 01:05:51 +0000 (18:05 -0700)]
SETF expansions for NTH and AREF.
David Vázquez [Sat, 15 Jun 2013 16:34:41 +0000 (18:34 +0200)]
Merge branch 'master' of git://github.com/Ferada/jscl into keyword-arg-fixes
# 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.
David Vázquez [Sat, 15 Jun 2013 16:32:58 +0000 (18:32 +0200)]
Use macrolet to implemnt arithmetic helper macros
David Vázquez [Sat, 15 Jun 2013 16:28:57 +0000 (18:28 +0200)]
Basic macrolet
Olof-Joachim Frahm [Sat, 15 Jun 2013 09:25:41 +0000 (11:25 +0200)]
Check for odd number of keyword arguments.
Olof-Joachim Frahm [Sat, 15 Jun 2013 08:59:25 +0000 (10:59 +0200)]
Fix off-by-two error in keyword argument processing.
David Vázquez [Sat, 15 Jun 2013 09:23:31 +0000 (02:23 -0700)]
Merge pull request #121 from Ferada/small-fixes
Fix OSET, TYPECASE.
David Vázquez [Sat, 15 Jun 2013 09:08:37 +0000 (11:08 +0200)]
Merge branch 'strings'
David Vázquez [Sat, 15 Jun 2013 09:06:33 +0000 (11:06 +0200)]
Merge branch 'master' of git://github.com/kengruven/jscl into strings
Ken Harris [Fri, 14 Jun 2013 19:25:21 +0000 (12:25 -0700)]
Return the reader-form from SETF expansion.
Ken Harris [Fri, 14 Jun 2013 16:50:40 +0000 (09:50 -0700)]
VECTOR function
Ken Harris [Fri, 14 Jun 2013 15:15:40 +0000 (08:15 -0700)]
COPY-SEQ
Ken Harris [Thu, 13 Jun 2013 17:25:24 +0000 (10:25 -0700)]
Removed tabs, stupid editor...
Ken Harris [Thu, 13 Jun 2013 17:24:02 +0000 (10:24 -0700)]
Case-insensitive character inequalities.
Ken Harris [Thu, 13 Jun 2013 17:16:51 +0000 (10:16 -0700)]
STRING>= (and a bit of refactoring).
Ken Harris [Thu, 13 Jun 2013 16:05:02 +0000 (09:05 -0700)]
STRING<=
David Vázquez [Thu, 13 Jun 2013 08:55:22 +0000 (01:55 -0700)]
Merge pull request #122 from kengruven/master
Tiny DO/DO* bug fix
Ken Harris [Thu, 13 Jun 2013 08:35:37 +0000 (01:35 -0700)]
NSTRING-UPCASE, NSTRING-DOWNCASE, NSTRING-CAPITALIZE.
Ken Harris [Thu, 13 Jun 2013 08:08:37 +0000 (01:08 -0700)]
STRING-TRIM and friends.
Ken Harris [Thu, 13 Jun 2013 07:15:26 +0000 (00:15 -0700)]
A few more string functions.
Ken Harris [Thu, 13 Jun 2013 06:07:23 +0000 (23:07 -0700)]
POSITION-IF, POSITION-IF-NOT (except :FROM-END)
Ken Harris [Thu, 13 Jun 2013 02:24:12 +0000 (19:24 -0700)]
Allow DO / DO* to take bare symbols as vars.
Olof-Joachim Frahm [Wed, 12 Jun 2013 20:17:57 +0000 (22:17 +0200)]
Fix SETF for OGET aka OSET.
Olof-Joachim Frahm [Mon, 10 Jun 2013 19:23:06 +0000 (21:23 +0200)]
Fix TYPECASE macro for T/ELSE case.
David Vázquez [Tue, 11 Jun 2013 16:10:26 +0000 (18:10 +0200)]
oops. Good fix to empty setq
David Vázquez [Tue, 11 Jun 2013 15:54:19 +0000 (17:54 +0200)]
Fix empty setq
David Vázquez [Sat, 8 Jun 2013 13:19:46 +0000 (15:19 +0200)]
Merge branch 'master' into experimental-compiler
David Vázquez [Fri, 7 Jun 2013 20:05:31 +0000 (21:05 +0100)]
wip: structuring progresses
David Vázquez [Fri, 7 Jun 2013 15:28:57 +0000 (16:28 +0100)]
Use (SETF OGET) in package.lisp
David Vázquez [Fri, 7 Jun 2013 15:24:56 +0000 (16:24 +0100)]
Merge branch 'master' into ffi
David Vázquez [Fri, 7 Jun 2013 15:24:50 +0000 (16:24 +0100)]
Disable test temporarily
David Vázquez [Fri, 7 Jun 2013 15:06:46 +0000 (16:06 +0100)]
Remove unnecesary test
David Vázquez [Fri, 7 Jun 2013 15:00:05 +0000 (16:00 +0100)]
Merge branch 'master' into ffi
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.
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
David Vázquez [Fri, 7 Jun 2013 10:58:15 +0000 (11:58 +0100)]
'If' alternative is optional
Olof-Joachim Frahm [Tue, 21 May 2013 19:07:37 +0000 (21:07 +0200)]
Accept both cases for FORMAT by using CHAR-UPCASE.
Olof-Joachim Frahm [Thu, 6 Jun 2013 23:42:32 +0000 (01:42 +0200)]
Fix return value of OSET.
Olof-Joachim Frahm [Thu, 6 Jun 2013 22:56:50 +0000 (00:56 +0200)]
Move *ROOT* to toplevel.lisp because of an error.
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.
Olof-Joachim Frahm [Tue, 21 May 2013 19:04:53 +0000 (21:04 +0200)]
Make FUNCTION and FLOAT available in TYPECASE.
Olof-Joachim Frahm [Tue, 21 May 2013 19:04:43 +0000 (21:04 +0200)]
Typo.
Olof-Joachim Frahm [Tue, 21 May 2013 19:04:18 +0000 (21:04 +0200)]
IN-PACKAGE uses a string designator.
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.
David Vázquez [Thu, 6 Jun 2013 21:53:20 +0000 (22:53 +0100)]
Remove D- prefix
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
David Vázquez [Thu, 6 Jun 2013 21:31:59 +0000 (22:31 +0100)]
Remove special JS FFI package
David Vázquez [Thu, 6 Jun 2013 19:53:44 +0000 (20:53 +0100)]
Remove some js-vset by (setf oget)
David Vázquez [Thu, 6 Jun 2013 12:25:18 +0000 (13:25 +0100)]
(SETF OGET) AND (SETF OGET*)
David Vázquez [Thu, 6 Jun 2013 12:14:55 +0000 (13:14 +0100)]
Multiple chaining keys in oset* and oset
David Vázquez [Thu, 6 Jun 2013 11:55:35 +0000 (12:55 +0100)]
FFI funcall
David Vázquez [Thu, 6 Jun 2013 11:49:03 +0000 (12:49 +0100)]
oget support multiple key chaining
David Vázquez [Thu, 6 Jun 2013 11:44:16 +0000 (12:44 +0100)]
#j macrocharacter as synonymous of #J
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
David Vázquez [Tue, 4 Jun 2013 19:46:18 +0000 (20:46 +0100)]
#J supports multiple descriptors
David Vázquez [Tue, 4 Jun 2013 19:35:12 +0000 (20:35 +0100)]
#J "macro-character"
David Vázquez [Tue, 4 Jun 2013 19:23:36 +0000 (20:23 +0100)]
OSET* and OGET* type-preserving variants and *root* Javascript object
David Vázquez [Tue, 4 Jun 2013 17:59:17 +0000 (18:59 +0100)]
lisp-to-js and js-to-lisp wrappers
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.
David Vázquez [Tue, 4 Jun 2013 03:36:10 +0000 (04:36 +0100)]
Add Ken Harris entry
David Vázquez [Tue, 4 Jun 2013 02:23:29 +0000 (03:23 +0100)]
Simple script to bootstrap JSCL
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
David Vázquez [Tue, 4 Jun 2013 02:19:49 +0000 (03:19 +0100)]
Speed up arrays concatenating a litte bit
David Vázquez [Tue, 4 Jun 2013 02:03:03 +0000 (03:03 +0100)]
Remove char-to-string from tests
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
David Vázquez [Mon, 3 Jun 2013 12:57:36 +0000 (05:57 -0700)]
Merge pull request #112 from kengruven/master
Character functions
David Vázquez [Mon, 3 Jun 2013 10:06:55 +0000 (11:06 +0100)]
Merge branch 'master' into arrays
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
Alfredo Beaumont [Mon, 3 Jun 2013 09:38:56 +0000 (11:38 +0200)]
[doc] Some proposals for code organization and style
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
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
Ken Harris [Sun, 2 Jun 2013 19:16:36 +0000 (12:16 -0700)]
Merging from upstream.
Ken Harris [Sun, 2 Jun 2013 17:32:00 +0000 (10:32 -0700)]
Fixing tabs/spaces. (Oops.)
Ken Harris [Sun, 2 Jun 2013 17:31:06 +0000 (10:31 -0700)]
Extend DIGIT-CHAR-P to include all HexDigit characters.
Ken Harris [Sun, 2 Jun 2013 17:13:01 +0000 (10:13 -0700)]
Character case predicates.
David Vázquez [Sun, 2 Jun 2013 08:32:02 +0000 (09:32 +0100)]
Persistent history
David Vázquez [Sat, 1 Jun 2013 11:58:12 +0000 (12:58 +0100)]
Fix ir-convert-call
David Vázquez [Sat, 1 Jun 2013 11:55:35 +0000 (12:55 +0100)]
Remove buggy `substitute' uses
David Vázquez [Sat, 1 Jun 2013 11:47:17 +0000 (12:47 +0100)]
Fix bug in reduce-component
David Vázquez [Mon, 27 May 2013 20:49:51 +0000 (21:49 +0100)]
Merge branch 'master' into experimental-compiler
David Vázquez [Sun, 26 May 2013 10:47:38 +0000 (11:47 +0100)]
typo
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
David Vázquez [Fri, 24 May 2013 22:12:46 +0000 (23:12 +0100)]
Remove debugging format
David Vázquez [Fri, 24 May 2013 20:26:22 +0000 (21:26 +0100)]
Move backquote to its own file
David Vázquez [Fri, 24 May 2013 20:16:36 +0000 (21:16 +0100)]
find-natural-loops