David Vázquez [Mon, 24 Jun 2013 15:36:39 +0000 (17:36 +0200)]
Fix GET-INTERNAL-REAL-TIME
David Vázquez [Mon, 24 Jun 2013 15:32:40 +0000 (17:32 +0200)]
Remove some calls to CODE
David Vázquez [Mon, 24 Jun 2013 12:20:43 +0000 (14:20 +0200)]
Migrate MAP-FOR-IN
David Vázquez [Mon, 24 Jun 2013 12:17:56 +0000 (14:17 +0200)]
for-in
David Vázquez [Mon, 24 Jun 2013 12:16:40 +0000 (14:16 +0200)]
For loop
David Vázquez [Mon, 24 Jun 2013 12:13:15 +0000 (14:13 +0200)]
Migrate OSET*
David Vázquez [Mon, 24 Jun 2013 11:57:35 +0000 (13:57 +0200)]
Migrate OGET*
David Vázquez [Mon, 24 Jun 2013 11:44:07 +0000 (13:44 +0200)]
Migrate NEW
David Vázquez [Mon, 24 Jun 2013 11:20:04 +0000 (13:20 +0200)]
Migrate GET-INTERNAL-REAL-TIME
David Vázquez [Mon, 24 Jun 2013 11:18:17 +0000 (13:18 +0200)]
Migrate JS-EVAL
David Vázquez [Mon, 24 Jun 2013 11:17:10 +0000 (13:17 +0200)]
Fix bug in var initialization
Test case:
(js '(var (x (call foo 1 2 3))))
David Vázquez [Mon, 24 Jun 2013 01:04:12 +0000 (03:04 +0200)]
Migrate STRINGP
David Vázquez [Sun, 23 Jun 2013 20:47:40 +0000 (22:47 +0200)]
Migrate storage vector primitives
David Vázquez [Sun, 23 Jun 2013 19:44:51 +0000 (21:44 +0200)]
Migrate FUNCTIONP, %WRITE-STRING and /DEBUG
David Vázquez [Sun, 23 Jun 2013 19:34:17 +0000 (21:34 +0200)]
Migrate EQ, CHAR-UPCASE and CHAR-DOWNCASE
David Vázquez [Sun, 23 Jun 2013 19:32:25 +0000 (21:32 +0200)]
Migrate LAMBDA-CODE
David Vázquez [Sun, 23 Jun 2013 19:31:32 +0000 (21:31 +0200)]
Migrate SYMBOL-PLIST
David Vázquez [Sun, 23 Jun 2013 19:30:21 +0000 (21:30 +0200)]
Migrate SYMBOL-FUNCTION and SYMBOL-VALUE
David Vázquez [Sun, 23 Jun 2013 19:24:13 +0000 (21:24 +0200)]
Migrate BOUNDP and FBOUNDP
David Vázquez [Sun, 23 Jun 2013 19:22:49 +0000 (21:22 +0200)]
Support undefined
David Vázquez [Sun, 23 Jun 2013 19:21:40 +0000 (21:21 +0200)]
Migrate SET and FSET
David Vázquez [Sun, 23 Jun 2013 19:18:41 +0000 (21:18 +0200)]
Migrate SYMBOLP, MAKE-SYMBOL and SYMBOL-NAME.
David Vázquez [Sun, 23 Jun 2013 19:15:10 +0000 (21:15 +0200)]
Migrate CAR and CDR
David Vázquez [Sun, 23 Jun 2013 19:10:16 +0000 (21:10 +0200)]
Migrate CONS
David Vázquez [Sun, 23 Jun 2013 19:04:29 +0000 (21:04 +0200)]
Migrate some arithmetic primitives
David Vázquez [Sun, 23 Jun 2013 15:14:56 +0000 (17:14 +0200)]
Migrate UNWIND-PROTECT
David Vázquez [Sun, 23 Jun 2013 15:11:28 +0000 (17:11 +0200)]
Migrate CATCH/THROW
David Vázquez [Sun, 23 Jun 2013 14:35:03 +0000 (16:35 +0200)]
TRY-CATCH-FINALLY support in codegen
David Vázquez [Sun, 23 Jun 2013 14:27:52 +0000 (16:27 +0200)]
Migrate PROGN
David Vázquez [Sun, 23 Jun 2013 14:26:27 +0000 (16:26 +0200)]
Remove unnecesary CODE
David Vázquez [Sun, 23 Jun 2013 14:25:18 +0000 (16:25 +0200)]
Migrate SETQ
David Vázquez [Sun, 23 Jun 2013 14:09:09 +0000 (16:09 +0200)]
Migrate DUMP-CONS
David Vázquez [Sun, 23 Jun 2013 13:36:54 +0000 (15:36 +0200)]
Migrate DUMP-SYMBOL
David Vázquez [Sun, 23 Jun 2013 13:32:38 +0000 (15:32 +0200)]
Migrate DUMP-ARRAY
David Vázquez [Sun, 23 Jun 2013 13:30:12 +0000 (15:30 +0200)]
Migrate %WHILE
David Vázquez [Sun, 23 Jun 2013 13:29:06 +0000 (15:29 +0200)]
Migrate LAMBDA-NAME/DOCSTRING-WRAPPER
David Vázquez [Sun, 23 Jun 2013 13:25:26 +0000 (15:25 +0200)]
Merge branch 'master' into codegen-migration
David Vázquez [Sun, 23 Jun 2013 13:25:14 +0000 (15:25 +0200)]
Fix MAPC
David Vázquez [Sun, 23 Jun 2013 10:32:32 +0000 (12:32 +0200)]
Fix empty toplevel progn
David Vázquez [Sun, 23 Jun 2013 10:04:48 +0000 (12:04 +0200)]
Do not upcase variable names JS identifiers
David Vázquez [Sun, 23 Jun 2013 00:37:23 +0000 (02:37 +0200)]
NTH-VALUE macro
David Vázquez [Sun, 23 Jun 2013 00:27:48 +0000 (02:27 +0200)]
Migrate IN
David Vázquez [Sun, 23 Jun 2013 00:24:44 +0000 (02:24 +0200)]
Migrate some more primitives
David Vázquez [Sun, 23 Jun 2013 00:12:26 +0000 (02:12 +0200)]
Migrate IF
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.