jscl.git
11 years agoSpeed up bootstrapping time without changing binding structure
David Vázquez [Wed, 24 Apr 2013 23:14:51 +0000 (00:14 +0100)]
Speed up bootstrapping time without changing binding structure

11 years agoRevert "Reduce 80% bootstrap time"
David Vázquez [Wed, 24 Apr 2013 22:45:03 +0000 (23:45 +0100)]
Revert "Reduce 80% bootstrap time"

We need to convert symbols before dumping

This reverts commit c37aaa1d28f24111969fd196adfa27263a3b63ec.

11 years agoReduce 80% bootstrap time
David Vázquez [Wed, 24 Apr 2013 22:42:36 +0000 (23:42 +0100)]
Reduce 80% bootstrap time

11 years agosetq'ing symbol macros
David Vázquez [Wed, 24 Apr 2013 21:59:50 +0000 (22:59 +0100)]
setq'ing symbol macros

11 years agoMerge branch 'master' into js-ffi
David Vázquez [Wed, 24 Apr 2013 21:56:22 +0000 (22:56 +0100)]
Merge branch 'master' into js-ffi

11 years agoDefine (SETF %JS-VREF)
David Vázquez [Wed, 24 Apr 2013 21:52:43 +0000 (22:52 +0100)]
Define (SETF %JS-VREF)

11 years agoDefine js:FOO as a macrosymbol to (%js-vref "<symbolname>")
David Vázquez [Wed, 24 Apr 2013 21:43:21 +0000 (22:43 +0100)]
Define js:FOO as a macrosymbol to (%js-vref "<symbolname>")

11 years agoMerge branch 'macrosymbols'
David Vázquez [Wed, 24 Apr 2013 21:28:03 +0000 (22:28 +0100)]
Merge branch 'macrosymbols'

# 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 agodefine-symbol-macro
David Vázquez [Wed, 24 Apr 2013 21:26:15 +0000 (22:26 +0100)]
define-symbol-macro

11 years agoparse-integer signals error if junk is detected
David Vázquez [Wed, 24 Apr 2013 19:31:31 +0000 (20:31 +0100)]
parse-integer signals error if junk is detected

11 years agoReapply patch for :junk-allowed in parse-integer
David Vázquez [Wed, 24 Apr 2013 19:25:11 +0000 (20:25 +0100)]
Reapply patch for :junk-allowed in parse-integer

11 years agoShorter line in %compile-defmacro
David Vázquez [Wed, 24 Apr 2013 18:42:34 +0000 (19:42 +0100)]
Shorter line in %compile-defmacro

11 years agotranslate-variable checks if the symbol is unbound
David Vázquez [Wed, 24 Apr 2013 18:40:15 +0000 (19:40 +0100)]
translate-variable checks if the symbol is unbound

11 years agoDefine lexenv with def!struct
David Vázquez [Wed, 24 Apr 2013 18:33:39 +0000 (19:33 +0100)]
Define lexenv with def!struct

11 years agoRemove ad-hoc binding writer functions
David Vázquez [Wed, 24 Apr 2013 18:27:13 +0000 (19:27 +0100)]
Remove ad-hoc binding writer functions

11 years agoUse def!struct to define binding
David Vázquez [Wed, 24 Apr 2013 18:24:35 +0000 (19:24 +0100)]
Use def!struct to define binding

11 years agoMerge branch 'master' of https://github.com/abeaumont/ecmalisp into patch
David Vázquez [Wed, 24 Apr 2013 16:16:31 +0000 (17:16 +0100)]
Merge branch 'master' of https://github.com/abeaumont/ecmalisp into patch

# 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 'js-ffi'
David Vázquez [Wed, 24 Apr 2013 16:03:27 +0000 (17:03 +0100)]
Merge branch 'js-ffi'

11 years agoDefstruct copier function
David Vázquez [Wed, 24 Apr 2013 15:51:52 +0000 (16:51 +0100)]
Defstruct copier function

11 years agodefstruct setf writers
David Vázquez [Wed, 24 Apr 2013 15:48:31 +0000 (16:48 +0100)]
defstruct setf writers

11 years agoClean unused variable warning
David Vázquez [Wed, 24 Apr 2013 15:27:36 +0000 (16:27 +0100)]
Clean unused variable warning

11 years agoMerge branch 'master' of github.com:davazp/ecmalisp
David Vázquez [Wed, 24 Apr 2013 15:27:09 +0000 (16:27 +0100)]
Merge branch 'master' of github.com:davazp/ecmalisp

# 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 pull request #13 from abeaumont/parse-integer-fix
David Vázquez [Wed, 24 Apr 2013 15:21:34 +0000 (08:21 -0700)]
Merge pull request #13 from abeaumont/parse-integer-fix

parse-integer: add support for junk-allowed key parameter

11 years agoSimple defstruct clone
David Vázquez [Wed, 24 Apr 2013 15:19:29 +0000 (16:19 +0100)]
Simple defstruct clone

11 years agoparse-integer: add support for junk-allowed key parameter
Alfredo Beaumont [Wed, 24 Apr 2013 15:00:00 +0000 (17:00 +0200)]
parse-integer: add support for junk-allowed key parameter

11 years ago!parse-integer: handle leading whitespace
Alfredo Beaumont [Wed, 24 Apr 2013 14:41:25 +0000 (16:41 +0200)]
!parse-integer: handle leading whitespace

11 years ago!parse-integer: trailing whitespace also increments index, when junk
Alfredo Beaumont [Wed, 24 Apr 2013 14:40:16 +0000 (16:40 +0200)]
!parse-integer: trailing whitespace also increments index, when junk
is not found

11 years ago!parse-integer: fix junk processing
Alfredo Beaumont [Tue, 23 Apr 2013 14:16:48 +0000 (16:16 +0200)]
!parse-integer: fix junk processing

11 years agoFix spacing in !parse-integer
Alfredo Beaumont [Tue, 23 Apr 2013 14:14:32 +0000 (16:14 +0200)]
Fix spacing in !parse-integer

11 years agoMerge branch 'davazp-js-ffi' into js-ffi
Raimon Grau [Mon, 22 Apr 2013 23:28:42 +0000 (01:28 +0200)]
Merge branch 'davazp-js-ffi' into js-ffi

Conflicts:
ecmalisp.lisp

11 years agoMerge branch 'kidd-js-ffi-fixes' into js-ffi
David Vázquez [Mon, 22 Apr 2013 23:23:52 +0000 (00:23 +0100)]
Merge branch 'kidd-js-ffi-fixes' into js-ffi

Conflicts:
ecmalisp.js

11 years agoFixes to FFI Javascript
David Vázquez [Mon, 22 Apr 2013 23:20:29 +0000 (00:20 +0100)]
Fixes to FFI Javascript

11 years agoslowly progressing to automatic binding of lisp->js
Raimon Grau [Mon, 22 Apr 2013 22:08:15 +0000 (00:08 +0200)]
slowly progressing to automatic binding of lisp->js

11 years agoPrint unknown objects as #<javascript object>
David Vázquez [Mon, 22 Apr 2013 20:22:54 +0000 (21:22 +0100)]
Print unknown objects as #<javascript object>

11 years agoFix FFI contributions
David Vázquez [Mon, 22 Apr 2013 20:11:18 +0000 (21:11 +0100)]
Fix FFI contributions

11 years agointern
Raimon Grau [Mon, 22 Apr 2013 19:34:40 +0000 (21:34 +0200)]
intern

11 years agoIgnore ecmalisp.js in master
David Vázquez [Mon, 22 Apr 2013 19:24:13 +0000 (20:24 +0100)]
Ignore ecmalisp.js in master

11 years agoMerge branch 'compile-print'
David Vázquez [Mon, 22 Apr 2013 19:21:20 +0000 (20:21 +0100)]
Merge branch 'compile-print'

11 years agoRemove autogenerated file in master
David Vázquez [Mon, 22 Apr 2013 19:14:03 +0000 (20:14 +0100)]
Remove autogenerated file in master

11 years agojs updated
Raimon Grau [Mon, 22 Apr 2013 18:39:04 +0000 (20:39 +0200)]
js updated

11 years ago%js-call to compile to plain js calls
Raimon Grau [Mon, 22 Apr 2013 18:18:57 +0000 (20:18 +0200)]
%js-call to compile to plain js calls

11 years agouppercased JS package
Raimon Grau [Mon, 22 Apr 2013 18:18:35 +0000 (20:18 +0200)]
uppercased JS package

11 years agoPrint compile progress while bootstrapping
David Vázquez [Sun, 21 Apr 2013 22:28:08 +0000 (23:28 +0100)]
Print compile progress while bootstrapping

11 years agoinitial steps to js ffi
Raimon Grau [Sun, 21 Apr 2013 22:15:49 +0000 (00:15 +0200)]
initial steps to js ffi

11 years agoDefine `window' and `globalEval' to work in other js environments
David Vázquez [Sun, 21 Apr 2013 17:29:17 +0000 (18:29 +0100)]
Define `window' and `globalEval' to work in other js environments

11 years agoImprove the MV function
David Vázquez [Sun, 21 Apr 2013 14:32:14 +0000 (15:32 +0100)]
Improve the MV function

11 years agoPrint empty vector as #()
David Vázquez [Sun, 21 Apr 2013 11:50:17 +0000 (12:50 +0100)]
Print empty vector as #()

11 years agoFix typo
David Vázquez [Tue, 16 Apr 2013 18:05:36 +0000 (19:05 +0100)]
Fix typo

11 years agoLonger README
David Vázquez [Mon, 15 Apr 2013 17:17:12 +0000 (18:17 +0100)]
Longer README

11 years agoRemove old PUSH
David Vazquez [Mon, 18 Feb 2013 22:49:52 +0000 (22:49 +0000)]
Remove old PUSH

11 years agoInternal do-sequence macro
David Vazquez [Mon, 18 Feb 2013 01:46:30 +0000 (01:46 +0000)]
Internal do-sequence macro

11 years agoRemove conflict marker and compile last version
David Vazquez [Mon, 18 Feb 2013 01:35:03 +0000 (01:35 +0000)]
Remove conflict marker and compile last version

11 years agoCloses #7
David Vazquez [Mon, 18 Feb 2013 01:32:10 +0000 (01:32 +0000)]
Closes #7

Enable backquote simplifications

11 years agoExtended PUSH
David Vazquez [Sun, 17 Feb 2013 19:35:12 +0000 (19:35 +0000)]
Extended PUSH

11 years agoRemove unnecessary progn
David Vazquez [Sat, 16 Feb 2013 15:50:45 +0000 (15:50 +0000)]
Remove unnecessary progn

11 years agoExport GET-SETF-EXPANSION and DEFINE-SETF-EXPANDER
David Vazquez [Fri, 15 Feb 2013 12:54:13 +0000 (12:54 +0000)]
Export GET-SETF-EXPANSION and DEFINE-SETF-EXPANDER

11 years agoGET-SETF-EXPANSION macroexpands place firstly
David Vazquez [Thu, 14 Feb 2013 15:13:58 +0000 (15:13 +0000)]
GET-SETF-EXPANSION macroexpands place firstly

11 years agoAPPLY accepts symbols as function descriptor
David Vazquez [Wed, 13 Feb 2013 22:47:53 +0000 (22:47 +0000)]
APPLY accepts symbols as function descriptor

11 years agoFUNCALL accepts symbols as function descriptor
David Vazquez [Wed, 13 Feb 2013 22:46:19 +0000 (22:46 +0000)]
FUNCALL accepts symbols as function descriptor

11 years agoExport simple loop
David Vazquez [Tue, 12 Feb 2013 23:35:25 +0000 (23:35 +0000)]
Export simple loop

11 years agoSupport SVAR in function lambda-lists
David Vazquez [Tue, 12 Feb 2013 00:50:28 +0000 (00:50 +0000)]
Support SVAR in function lambda-lists

11 years ago!REDUCE use a keyword :INITIAL-VALUE
David Vazquez [Mon, 11 Feb 2013 22:35:25 +0000 (22:35 +0000)]
!REDUCE use a keyword :INITIAL-VALUE

11 years agoMAKE-PACKAGE accepts :USE keyword argument
David Vazquez [Mon, 11 Feb 2013 01:39:27 +0000 (01:39 +0000)]
MAKE-PACKAGE accepts :USE keyword argument

11 years agoAvoid 'var i;' if the function does not use keyword arguments
David Vazquez [Mon, 11 Feb 2013 01:35:21 +0000 (01:35 +0000)]
Avoid 'var i;' if the function does not use keyword arguments

11 years agoBetter comment
David Vazquez [Mon, 11 Feb 2013 00:12:59 +0000 (00:12 +0000)]
Better comment

11 years agoBasic SETF implementation
David Vazquez [Mon, 11 Feb 2013 00:01:10 +0000 (00:01 +0000)]
Basic SETF implementation

11 years agoVariable arity MAPCAR
David Vazquez [Sun, 10 Feb 2013 23:46:06 +0000 (23:46 +0000)]
Variable arity MAPCAR

11 years agoAvoid type-checking in constant number arguments to arithmetic functions
David Vazquez [Sun, 10 Feb 2013 20:30:10 +0000 (20:30 +0000)]
Avoid type-checking in constant number arguments to arithmetic functions

11 years agoUse a CODE function instead of CONCAT
David Vazquez [Sat, 9 Feb 2013 14:02:23 +0000 (14:02 +0000)]
Use a CODE function instead of CONCAT

This function converts integers and handle NILs.

11 years agos/zeropt/zerop
David Vázquez [Sat, 9 Feb 2013 02:54:28 +0000 (03:54 +0100)]
s/zeropt/zerop

11 years agoBasic DEFCONSTANT
David Vázquez [Sat, 9 Feb 2013 02:50:59 +0000 (03:50 +0100)]
Basic DEFCONSTANT

11 years agoCloses 5 and simplify lambda compilation
David Vázquez [Sat, 9 Feb 2013 02:29:39 +0000 (03:29 +0100)]
Closes 5 and simplify lambda compilation

11 years ago&key support in lambda
David Vázquez [Sat, 9 Feb 2013 02:19:58 +0000 (03:19 +0100)]
&key support in lambda

11 years agoParse lambda-list keywords
David Vázquez [Sat, 9 Feb 2013 01:21:44 +0000 (02:21 +0100)]
Parse lambda-list keywords

11 years agoNew function: CONSTANTLY
David Vázquez [Fri, 8 Feb 2013 22:50:15 +0000 (23:50 +0100)]
New function: CONSTANTLY

11 years agoIterative MAPCAR
David Vázquez [Fri, 8 Feb 2013 22:47:13 +0000 (23:47 +0100)]
Iterative MAPCAR

11 years agoDIGIT-CHAR
David Vázquez [Thu, 7 Feb 2013 23:30:08 +0000 (00:30 +0100)]
DIGIT-CHAR

11 years agoFUNCTION supports lexical functions
David Vázquez [Thu, 7 Feb 2013 23:12:28 +0000 (00:12 +0100)]
FUNCTION supports lexical functions

11 years agoLABELS working and exported
David Vázquez [Thu, 7 Feb 2013 23:07:02 +0000 (00:07 +0100)]
LABELS working and exported

No error checking yet

11 years agoNew special form: labels
David Vázquez [Thu, 7 Feb 2013 22:58:07 +0000 (23:58 +0100)]
New special form: labels

11 years agoDo not escape HTML in in the console
David Vazquez [Wed, 6 Feb 2013 22:45:57 +0000 (22:45 +0000)]
Do not escape HTML in in the console

11 years agoAdd FLET
David Vazquez [Tue, 5 Feb 2013 19:30:50 +0000 (19:30 +0000)]
Add FLET

11 years agoINTERN returns multiple values
David Vazquez [Mon, 4 Feb 2013 10:50:43 +0000 (10:50 +0000)]
INTERN returns multiple values

11 years agoSecond value of FIND-SYMBOL is a keyword
David Vazquez [Mon, 4 Feb 2013 00:27:11 +0000 (00:27 +0000)]
Second value of FIND-SYMBOL is a keyword

11 years agoAllow to use keywords in the compiler
David Vazquez [Mon, 4 Feb 2013 00:23:48 +0000 (00:23 +0000)]
Allow to use keywords in the compiler

11 years agoReverting "Dump keywords"
David Vazquez [Sun, 3 Feb 2013 11:25:19 +0000 (11:25 +0000)]
Reverting "Dump keywords"

This reverts commit 2890060b5446322f3831a8d6fdcba189ac2877ff.

11 years agoDump keywords
David Vazquez [Sat, 2 Feb 2013 20:13:46 +0000 (20:13 +0000)]
Dump keywords

11 years agoCompile last version
David Vazquez [Fri, 1 Feb 2013 12:27:41 +0000 (12:27 +0000)]
Compile last version

11 years agoRemove auxiliar %FIND-SYMBOL function
David Vazquez [Fri, 1 Feb 2013 12:27:35 +0000 (12:27 +0000)]
Remove auxiliar %FIND-SYMBOL function

11 years agoFIND-SYMBOL return a second value
David Vazquez [Fri, 1 Feb 2013 12:17:35 +0000 (12:17 +0000)]
FIND-SYMBOL return a second value

11 years agoOptional sign prefix for integer reader
David Vázquez [Thu, 31 Jan 2013 17:50:48 +0000 (17:50 +0000)]
Optional sign prefix for integer reader

11 years agoExport parse-integer
David Vázquez [Thu, 31 Jan 2013 17:37:55 +0000 (17:37 +0000)]
Export parse-integer

11 years agoBetter parse-integer
David Vázquez [Thu, 31 Jan 2013 17:36:09 +0000 (17:36 +0000)]
Better parse-integer

11 years agoFix a bug related to SETQ which DO* uncovered
David Vazquez [Thu, 31 Jan 2013 00:39:45 +0000 (00:39 +0000)]
Fix a bug related to SETQ which DO* uncovered

11 years agoPreliminary DO and DO* iteration macros
David Vázquez [Wed, 30 Jan 2013 23:13:12 +0000 (23:13 +0000)]
Preliminary DO and DO* iteration macros

11 years agoRename SETCAR and SETCDR to RPLACA and REPLACD respectively
David Vazquez [Tue, 29 Jan 2013 17:19:01 +0000 (17:19 +0000)]
Rename SETCAR and SETCDR to RPLACA and REPLACD respectively

And export them

11 years agoLAMBDA is a macro expanding to #'(LAMBDA ...) now
David Vazquez [Tue, 29 Jan 2013 00:57:36 +0000 (00:57 +0000)]
LAMBDA is a macro expanding to #'(LAMBDA ...) now

11 years agoFixes #9: CATCH/THROW and BLOCK/RETURN-FROM support multiple values
David Vazquez [Tue, 29 Jan 2013 00:17:31 +0000 (00:17 +0000)]
Fixes #9: CATCH/THROW and BLOCK/RETURN-FROM support multiple values

11 years agoEVAL-WHEN-COMPILE equivalent to PROGN if we are not compiling a file
David Vazquez [Mon, 28 Jan 2013 16:18:25 +0000 (16:18 +0000)]
EVAL-WHEN-COMPILE equivalent to PROGN if we are not compiling a file

11 years agoRemove rests
David Vazquez [Mon, 28 Jan 2013 15:52:07 +0000 (15:52 +0000)]
Remove rests