David Vázquez [Sat, 22 Jun 2013 15:35:50 +0000 (17:35 +0200)]
Merge branch 'codegen' into codegen-migration
David Vázquez [Sat, 22 Jun 2013 15:35:40 +0000 (17:35 +0200)]
Fix FLET
David Vázquez [Sat, 22 Jun 2013 08:32:01 +0000 (10:32 +0200)]
Migrate js!bool and js!selfcall
David Vázquez [Sat, 22 Jun 2013 08:22:39 +0000 (10:22 +0200)]
Toplevel empty statement are empty strings
David Vázquez [Sat, 22 Jun 2013 08:15:39 +0000 (10:15 +0200)]
WIP: Transactional: Wrap every JS expression with parenthesis
As CODE and codegen have to live together for a while, we can't deal
with the precedence/associativity easily. We use parenthesis in every
expression around ls-compile not to break the REPL.
David Vázquez [Fri, 21 Jun 2013 23:28:45 +0000 (01:28 +0200)]
Bug unparsing JS function
David Vázquez [Fri, 21 Jun 2013 23:23:18 +0000 (01:23 +0200)]
Remove a /debug
David Vázquez [Fri, 21 Jun 2013 23:20:33 +0000 (01:20 +0200)]
Merge branch 'codegen-integration' into codegen
David Vázquez [Fri, 21 Jun 2013 23:19:06 +0000 (01:19 +0200)]
Fix object dumping
David Vázquez [Fri, 21 Jun 2013 15:16:49 +0000 (17:16 +0200)]
Add debugging information
David Vázquez [Fri, 21 Jun 2013 11:44:41 +0000 (13:44 +0200)]
Some fixes
David Vázquez [Fri, 21 Jun 2013 11:30:02 +0000 (13:30 +0200)]
Convert JS AST to strings in ls-compile-toplevel
David Vázquez [Fri, 21 Jun 2013 04:07:59 +0000 (06:07 +0200)]
WIP: compiler.lisp uses a explicit back-end representation
David Vázquez [Fri, 21 Jun 2013 02:55:24 +0000 (04:55 +0200)]
Remove `null-or-empty-p'
David Vázquez [Fri, 21 Jun 2013 02:48:50 +0000 (04:48 +0200)]
Remove `indent'
David Vázquez [Fri, 21 Jun 2013 02:39:16 +0000 (04:39 +0200)]
Temporal change: CODE syntax almost compatible with compiler.lisp
David Vázquez [Thu, 20 Jun 2013 23:30:06 +0000 (01:30 +0200)]
Bug generating Javascript code for (PROGN (PROGN))
David Vázquez [Thu, 20 Jun 2013 14:24:42 +0000 (16:24 +0200)]
Improvements to nested groups handling
David Vázquez [Thu, 20 Jun 2013 13:47:59 +0000 (15:47 +0200)]
write-string and write-char work with streams
David Vázquez [Thu, 20 Jun 2013 13:31:26 +0000 (15:31 +0200)]
Support 'throw' statement
David Vázquez [Thu, 20 Jun 2013 13:15:42 +0000 (15:15 +0200)]
Very basic string stream to support codegen
David Vázquez [Thu, 20 Jun 2013 12:35:38 +0000 (14:35 +0200)]
Move lisp-escape-string to print.lisp
David Vázquez [Thu, 20 Jun 2013 12:34:08 +0000 (14:34 +0200)]
Remove duplicate js-escape-string
David Vázquez [Thu, 20 Jun 2013 12:32:12 +0000 (14:32 +0200)]
Merge branch 'master' into codegen
David Vázquez [Thu, 20 Jun 2013 12:32:10 +0000 (14:32 +0200)]
Move codegen.lisp to compiler-codegen.lisp
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 [Wed, 19 Jun 2013 05:02:25 +0000 (07:02 +0200)]
Get unary - and unary + working with increment/decrement operators
David Vázquez [Wed, 19 Jun 2013 04:49:02 +0000 (06:49 +0200)]
Discard returned value of JS
David Vázquez [Wed, 19 Jun 2013 04:46:43 +0000 (06:46 +0200)]
bit-not and unknown operator error
David Vázquez [Wed, 19 Jun 2013 04:44:58 +0000 (06:44 +0200)]
Fix not operator
David Vázquez [Wed, 19 Jun 2013 04:34:39 +0000 (06:34 +0200)]
Fix statements unparsing
David Vázquez [Wed, 19 Jun 2013 04:29:37 +0000 (06:29 +0200)]
Consider associativity when unparse Javascript expressions
David Vázquez [Wed, 19 Jun 2013 04:13:49 +0000 (06:13 +0200)]
More error checking
David Vázquez [Wed, 19 Jun 2013 04:10:34 +0000 (06:10 +0200)]
typo
David Vázquez [Wed, 19 Jun 2013 04:08:23 +0000 (06:08 +0200)]
Escape Javascript strings
David Vázquez [Wed, 19 Jun 2013 04:05:38 +0000 (06:05 +0200)]
Improvements to the Javascript unparser
David Vázquez [Wed, 19 Jun 2013 02:40:05 +0000 (04:40 +0200)]
Naive Javascript code generator
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