jscl.git
11 years agoVariable-arity
David Vázquez [Fri, 5 Jul 2013 02:56:10 +0000 (04:56 +0200)]
Variable-arity

11 years agoMigrate VARIABLE-ARITMETIC-CALL
David Vázquez [Fri, 5 Jul 2013 02:53:05 +0000 (04:53 +0200)]
Migrate VARIABLE-ARITMETIC-CALL

11 years agoMigrate MULTIPLE-VALUE-PROG1
David Vázquez [Fri, 5 Jul 2013 02:48:08 +0000 (04:48 +0200)]
Migrate MULTIPLE-VALUE-PROG1

11 years agoMigrate APPLY
David Vázquez [Fri, 5 Jul 2013 02:43:56 +0000 (04:43 +0200)]
Migrate APPLY

11 years agoMigrate CONS
David Vázquez [Fri, 5 Jul 2013 02:38:56 +0000 (04:38 +0200)]
Migrate CONS

11 years agoRemigrate MULTIPLE-VALUE-CALL (correctly)
David Vázquez [Fri, 5 Jul 2013 02:36:30 +0000 (04:36 +0200)]
Remigrate MULTIPLE-VALUE-CALL (correctly)

11 years agoFix temporal bug in tagbody
David Vázquez [Fri, 5 Jul 2013 02:03:30 +0000 (04:03 +0200)]
Fix temporal bug in tagbody

11 years agoMigrate MULTIPLE-VALUE-CALL
David Vázquez [Fri, 5 Jul 2013 01:50:31 +0000 (03:50 +0200)]
Migrate MULTIPLE-VALUE-CALL

11 years agoMigrate TAGBODY
David Vázquez [Fri, 5 Jul 2013 01:32:55 +0000 (03:32 +0200)]
Migrate TAGBODY

11 years agoNon-nested switch cases in codegen
David Vázquez [Fri, 5 Jul 2013 01:27:50 +0000 (03:27 +0200)]
Non-nested switch cases in codegen

11 years agoMigrate GO
David Vázquez [Fri, 5 Jul 2013 01:14:44 +0000 (03:14 +0200)]
Migrate GO

11 years agoMigrate RETURN-FROM
David Vázquez [Mon, 1 Jul 2013 02:31:53 +0000 (04:31 +0200)]
Migrate RETURN-FROM

11 years agoMigrate keyword argument parsing
David Vázquez [Mon, 1 Jul 2013 00:24:12 +0000 (02:24 +0200)]
Migrate keyword argument parsing

11 years agoOptional arguments
David Vázquez [Sun, 30 Jun 2013 15:29:00 +0000 (17:29 +0200)]
Optional arguments

11 years agoSWITCH support
David Vázquez [Sun, 30 Jun 2013 15:23:42 +0000 (17:23 +0200)]
SWITCH support

11 years agocompile reswip: compile rest arguments
David Vázquez [Sun, 30 Jun 2013 14:42:48 +0000 (16:42 +0200)]
compile reswip: compile rest arguments

11 years agoMigrate compile-lambda
David Vázquez [Sun, 30 Jun 2013 14:38:15 +0000 (16:38 +0200)]
Migrate compile-lambda

11 years agolet-binding-wrapper
David Vázquez [Sun, 30 Jun 2013 14:27:42 +0000 (16:27 +0200)]
let-binding-wrapper

11 years agoLET
David Vázquez [Sat, 29 Jun 2013 17:17:14 +0000 (19:17 +0200)]
LET

11 years agoMigrate LABELS
David Vázquez [Sat, 29 Jun 2013 16:38:30 +0000 (18:38 +0200)]
Migrate LABELS

11 years agoFLET
David Vázquez [Sat, 29 Jun 2013 16:36:11 +0000 (18:36 +0200)]
FLET

11 years agoUse destructuring-bind
David Vázquez [Sat, 29 Jun 2013 16:32:05 +0000 (18:32 +0200)]
Use destructuring-bind

11 years agoMigrate VALUES-ARRAY and VALUES
David Vázquez [Sat, 29 Jun 2013 16:29:09 +0000 (18:29 +0200)]
Migrate VALUES-ARRAY and VALUES

11 years agoBetter GET and PROPERTY handling
David Vázquez [Sat, 29 Jun 2013 16:26:39 +0000 (18:26 +0200)]
Better GET and PROPERTY handling

11 years agoCODEGEN: Use lexical variables instead of special ones
David Vázquez [Sat, 29 Jun 2013 16:19:34 +0000 (18:19 +0200)]
CODEGEN: Use lexical variables instead of special ones

11 years agoFix bug with funcall precedence
David Vázquez [Fri, 28 Jun 2013 20:39:34 +0000 (22:39 +0200)]
Fix bug with funcall precedence

11 years agoRemove new compiler. It has its own branch
David Vázquez [Thu, 27 Jun 2013 13:59:44 +0000 (15:59 +0200)]
Remove new compiler.  It has its own branch

11 years agoMigrate FUNCALL
David Vázquez [Thu, 27 Jun 2013 13:59:14 +0000 (15:59 +0200)]
Migrate FUNCALL

11 years agoFix escaped symbol printing
David Vázquez [Thu, 27 Jun 2013 01:42:20 +0000 (03:42 +0200)]
Fix escaped symbol printing

11 years agoMigrate CHARACTERP
David Vázquez [Thu, 27 Jun 2013 00:49:33 +0000 (02:49 +0200)]
Migrate CHARACTERP

11 years agoWrap non-trivial functions with parenthesis
David Vázquez [Thu, 27 Jun 2013 00:37:42 +0000 (02:37 +0200)]
Wrap non-trivial functions with parenthesis

11 years agoMigrate %JS-VSET and %JS-VREF
David Vázquez [Wed, 26 Jun 2013 23:58:18 +0000 (01:58 +0200)]
Migrate %JS-VSET and %JS-VREF

11 years agoFix GET-INTERNAL-REAL-TIME
David Vázquez [Mon, 24 Jun 2013 15:36:39 +0000 (17:36 +0200)]
Fix GET-INTERNAL-REAL-TIME

11 years agoRemove some calls to CODE
David Vázquez [Mon, 24 Jun 2013 15:32:40 +0000 (17:32 +0200)]
Remove some calls to CODE

11 years agoMigrate MAP-FOR-IN
David Vázquez [Mon, 24 Jun 2013 12:20:43 +0000 (14:20 +0200)]
Migrate MAP-FOR-IN

11 years agofor-in
David Vázquez [Mon, 24 Jun 2013 12:17:56 +0000 (14:17 +0200)]
for-in

11 years agoFor loop
David Vázquez [Mon, 24 Jun 2013 12:16:40 +0000 (14:16 +0200)]
For loop

11 years agoMigrate OSET*
David Vázquez [Mon, 24 Jun 2013 12:13:15 +0000 (14:13 +0200)]
Migrate OSET*

11 years agoMigrate OGET*
David Vázquez [Mon, 24 Jun 2013 11:57:35 +0000 (13:57 +0200)]
Migrate OGET*

11 years agoMigrate NEW
David Vázquez [Mon, 24 Jun 2013 11:44:07 +0000 (13:44 +0200)]
Migrate NEW

11 years agoMigrate GET-INTERNAL-REAL-TIME
David Vázquez [Mon, 24 Jun 2013 11:20:04 +0000 (13:20 +0200)]
Migrate GET-INTERNAL-REAL-TIME

11 years agoMigrate JS-EVAL
David Vázquez [Mon, 24 Jun 2013 11:18:17 +0000 (13:18 +0200)]
Migrate JS-EVAL

11 years agoFix bug in var initialization
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))))

11 years agoMigrate STRINGP
David Vázquez [Mon, 24 Jun 2013 01:04:12 +0000 (03:04 +0200)]
Migrate STRINGP

11 years agoMigrate storage vector primitives
David Vázquez [Sun, 23 Jun 2013 20:47:40 +0000 (22:47 +0200)]
Migrate storage vector primitives

11 years agoMigrate FUNCTIONP, %WRITE-STRING and /DEBUG
David Vázquez [Sun, 23 Jun 2013 19:44:51 +0000 (21:44 +0200)]
Migrate FUNCTIONP, %WRITE-STRING and /DEBUG

11 years agoMigrate EQ, CHAR-UPCASE and CHAR-DOWNCASE
David Vázquez [Sun, 23 Jun 2013 19:34:17 +0000 (21:34 +0200)]
Migrate EQ, CHAR-UPCASE and CHAR-DOWNCASE

11 years agoMigrate LAMBDA-CODE
David Vázquez [Sun, 23 Jun 2013 19:32:25 +0000 (21:32 +0200)]
Migrate LAMBDA-CODE

11 years agoMigrate SYMBOL-PLIST
David Vázquez [Sun, 23 Jun 2013 19:31:32 +0000 (21:31 +0200)]
Migrate SYMBOL-PLIST

11 years agoMigrate SYMBOL-FUNCTION and SYMBOL-VALUE
David Vázquez [Sun, 23 Jun 2013 19:30:21 +0000 (21:30 +0200)]
Migrate SYMBOL-FUNCTION and SYMBOL-VALUE

11 years agoMigrate BOUNDP and FBOUNDP
David Vázquez [Sun, 23 Jun 2013 19:24:13 +0000 (21:24 +0200)]
Migrate BOUNDP and FBOUNDP

11 years agoSupport undefined
David Vázquez [Sun, 23 Jun 2013 19:22:49 +0000 (21:22 +0200)]
Support undefined

11 years agoMigrate SET and FSET
David Vázquez [Sun, 23 Jun 2013 19:21:40 +0000 (21:21 +0200)]
Migrate SET and FSET

11 years agoMigrate SYMBOLP, MAKE-SYMBOL and SYMBOL-NAME.
David Vázquez [Sun, 23 Jun 2013 19:18:41 +0000 (21:18 +0200)]
Migrate SYMBOLP, MAKE-SYMBOL and SYMBOL-NAME.

11 years agoMigrate CAR and CDR
David Vázquez [Sun, 23 Jun 2013 19:15:10 +0000 (21:15 +0200)]
Migrate CAR and CDR

11 years agoMigrate CONS
David Vázquez [Sun, 23 Jun 2013 19:10:16 +0000 (21:10 +0200)]
Migrate CONS

11 years agoMigrate some arithmetic primitives
David Vázquez [Sun, 23 Jun 2013 19:04:29 +0000 (21:04 +0200)]
Migrate some arithmetic primitives

11 years agoMigrate UNWIND-PROTECT
David Vázquez [Sun, 23 Jun 2013 15:14:56 +0000 (17:14 +0200)]
Migrate UNWIND-PROTECT

11 years agoMigrate CATCH/THROW
David Vázquez [Sun, 23 Jun 2013 15:11:28 +0000 (17:11 +0200)]
Migrate CATCH/THROW

11 years agoTRY-CATCH-FINALLY support in codegen
David Vázquez [Sun, 23 Jun 2013 14:35:03 +0000 (16:35 +0200)]
TRY-CATCH-FINALLY support in codegen

11 years agoMigrate PROGN
David Vázquez [Sun, 23 Jun 2013 14:27:52 +0000 (16:27 +0200)]
Migrate PROGN

11 years agoRemove unnecesary CODE
David Vázquez [Sun, 23 Jun 2013 14:26:27 +0000 (16:26 +0200)]
Remove unnecesary CODE

11 years agoMigrate SETQ
David Vázquez [Sun, 23 Jun 2013 14:25:18 +0000 (16:25 +0200)]
Migrate SETQ

11 years agoMigrate DUMP-CONS
David Vázquez [Sun, 23 Jun 2013 14:09:09 +0000 (16:09 +0200)]
Migrate DUMP-CONS

11 years agoMigrate DUMP-SYMBOL
David Vázquez [Sun, 23 Jun 2013 13:36:54 +0000 (15:36 +0200)]
Migrate DUMP-SYMBOL

11 years agoMigrate DUMP-ARRAY
David Vázquez [Sun, 23 Jun 2013 13:32:38 +0000 (15:32 +0200)]
Migrate DUMP-ARRAY

11 years agoMigrate %WHILE
David Vázquez [Sun, 23 Jun 2013 13:30:12 +0000 (15:30 +0200)]
Migrate %WHILE

11 years agoMigrate LAMBDA-NAME/DOCSTRING-WRAPPER
David Vázquez [Sun, 23 Jun 2013 13:29:06 +0000 (15:29 +0200)]
Migrate LAMBDA-NAME/DOCSTRING-WRAPPER

11 years agoMerge branch 'master' into codegen-migration
David Vázquez [Sun, 23 Jun 2013 13:25:26 +0000 (15:25 +0200)]
Merge branch 'master' into codegen-migration

11 years agoFix MAPC
David Vázquez [Sun, 23 Jun 2013 13:25:14 +0000 (15:25 +0200)]
Fix MAPC

11 years agoFix empty toplevel progn
David Vázquez [Sun, 23 Jun 2013 10:32:32 +0000 (12:32 +0200)]
Fix empty toplevel progn

11 years agoDo not upcase variable names JS identifiers
David Vázquez [Sun, 23 Jun 2013 10:04:48 +0000 (12:04 +0200)]
Do not upcase variable names JS identifiers

11 years agoNTH-VALUE macro
David Vázquez [Sun, 23 Jun 2013 00:37:23 +0000 (02:37 +0200)]
NTH-VALUE macro

11 years agoMigrate IN
David Vázquez [Sun, 23 Jun 2013 00:27:48 +0000 (02:27 +0200)]
Migrate IN

11 years agoMigrate some more primitives
David Vázquez [Sun, 23 Jun 2013 00:24:44 +0000 (02:24 +0200)]
Migrate some more primitives

11 years agoMigrate IF
David Vázquez [Sun, 23 Jun 2013 00:12:26 +0000 (02:12 +0200)]
Migrate IF

11 years agoMerge branch 'codegen' into codegen-migration
David Vázquez [Sat, 22 Jun 2013 15:35:50 +0000 (17:35 +0200)]
Merge branch 'codegen' into codegen-migration

11 years agoFix FLET
David Vázquez [Sat, 22 Jun 2013 15:35:40 +0000 (17:35 +0200)]
Fix FLET

11 years agoMigrate js!bool and js!selfcall
David Vázquez [Sat, 22 Jun 2013 08:32:01 +0000 (10:32 +0200)]
Migrate js!bool and js!selfcall

11 years agoToplevel empty statement are empty strings
David Vázquez [Sat, 22 Jun 2013 08:22:39 +0000 (10:22 +0200)]
Toplevel empty statement are empty strings

11 years agoWIP: Transactional: Wrap every JS expression with parenthesis
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.

11 years agoBug unparsing JS function
David Vázquez [Fri, 21 Jun 2013 23:28:45 +0000 (01:28 +0200)]
Bug unparsing JS function

11 years agoRemove a /debug
David Vázquez [Fri, 21 Jun 2013 23:23:18 +0000 (01:23 +0200)]
Remove a /debug

11 years agoMerge branch 'codegen-integration' into codegen
David Vázquez [Fri, 21 Jun 2013 23:20:33 +0000 (01:20 +0200)]
Merge branch 'codegen-integration' into codegen

11 years agoFix object dumping
David Vázquez [Fri, 21 Jun 2013 23:19:06 +0000 (01:19 +0200)]
Fix object dumping

11 years agoAdd debugging information
David Vázquez [Fri, 21 Jun 2013 15:16:49 +0000 (17:16 +0200)]
Add debugging information

11 years agoSome fixes
David Vázquez [Fri, 21 Jun 2013 11:44:41 +0000 (13:44 +0200)]
Some fixes

11 years agoConvert JS AST to strings in ls-compile-toplevel
David Vázquez [Fri, 21 Jun 2013 11:30:02 +0000 (13:30 +0200)]
Convert JS AST to strings in ls-compile-toplevel

11 years agoWIP: compiler.lisp uses a explicit back-end representation
David Vázquez [Fri, 21 Jun 2013 04:07:59 +0000 (06:07 +0200)]
WIP: compiler.lisp uses a explicit back-end representation

11 years agoRemove `null-or-empty-p'
David Vázquez [Fri, 21 Jun 2013 02:55:24 +0000 (04:55 +0200)]
Remove `null-or-empty-p'

11 years agoRemove `indent'
David Vázquez [Fri, 21 Jun 2013 02:48:50 +0000 (04:48 +0200)]
Remove `indent'

11 years agoTemporal change: CODE syntax almost compatible with compiler.lisp
David Vázquez [Fri, 21 Jun 2013 02:39:16 +0000 (04:39 +0200)]
Temporal change: CODE syntax almost compatible with compiler.lisp

11 years agoBug generating Javascript code for (PROGN (PROGN))
David Vázquez [Thu, 20 Jun 2013 23:30:06 +0000 (01:30 +0200)]
Bug generating Javascript code for (PROGN (PROGN))

11 years agoImprovements to nested groups handling
David Vázquez [Thu, 20 Jun 2013 14:24:42 +0000 (16:24 +0200)]
Improvements to nested groups handling

11 years agowrite-string and write-char work with streams
David Vázquez [Thu, 20 Jun 2013 13:47:59 +0000 (15:47 +0200)]
write-string and write-char work with streams

11 years agoSupport 'throw' statement
David Vázquez [Thu, 20 Jun 2013 13:31:26 +0000 (15:31 +0200)]
Support 'throw' statement

11 years agoVery basic string stream to support codegen
David Vázquez [Thu, 20 Jun 2013 13:15:42 +0000 (15:15 +0200)]
Very basic string stream to support codegen

11 years agoMove lisp-escape-string to print.lisp
David Vázquez [Thu, 20 Jun 2013 12:35:38 +0000 (14:35 +0200)]
Move lisp-escape-string to print.lisp

11 years agoRemove duplicate js-escape-string
David Vázquez [Thu, 20 Jun 2013 12:34:08 +0000 (14:34 +0200)]
Remove duplicate js-escape-string

11 years agoMerge branch 'master' into codegen
David Vázquez [Thu, 20 Jun 2013 12:32:12 +0000 (14:32 +0200)]
Merge branch 'master' into codegen