David Vázquez [Wed, 24 Apr 2013 23:14:51 +0000 (00:14 +0100)]
Speed up bootstrapping time without changing binding structure
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.
David Vázquez [Wed, 24 Apr 2013 22:42:36 +0000 (23:42 +0100)]
Reduce 80% bootstrap time
David Vázquez [Wed, 24 Apr 2013 21:59:50 +0000 (22:59 +0100)]
setq'ing symbol macros
David Vázquez [Wed, 24 Apr 2013 21:56:22 +0000 (22:56 +0100)]
Merge branch 'master' into js-ffi
David Vázquez [Wed, 24 Apr 2013 21:52:43 +0000 (22:52 +0100)]
Define (SETF %JS-VREF)
David Vázquez [Wed, 24 Apr 2013 21:43:21 +0000 (22:43 +0100)]
Define js:FOO as a macrosymbol to (%js-vref "<symbolname>")
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.
David Vázquez [Wed, 24 Apr 2013 21:26:15 +0000 (22:26 +0100)]
define-symbol-macro
David Vázquez [Wed, 24 Apr 2013 19:31:31 +0000 (20:31 +0100)]
parse-integer signals error if junk is detected
David Vázquez [Wed, 24 Apr 2013 19:25:11 +0000 (20:25 +0100)]
Reapply patch for :junk-allowed in parse-integer
David Vázquez [Wed, 24 Apr 2013 18:42:34 +0000 (19:42 +0100)]
Shorter line in %compile-defmacro
David Vázquez [Wed, 24 Apr 2013 18:40:15 +0000 (19:40 +0100)]
translate-variable checks if the symbol is unbound
David Vázquez [Wed, 24 Apr 2013 18:33:39 +0000 (19:33 +0100)]
Define lexenv with def!struct
David Vázquez [Wed, 24 Apr 2013 18:27:13 +0000 (19:27 +0100)]
Remove ad-hoc binding writer functions
David Vázquez [Wed, 24 Apr 2013 18:24:35 +0000 (19:24 +0100)]
Use def!struct to define binding
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.
David Vázquez [Wed, 24 Apr 2013 16:03:27 +0000 (17:03 +0100)]
Merge branch 'js-ffi'
David Vázquez [Wed, 24 Apr 2013 15:51:52 +0000 (16:51 +0100)]
Defstruct copier function
David Vázquez [Wed, 24 Apr 2013 15:48:31 +0000 (16:48 +0100)]
defstruct setf writers
David Vázquez [Wed, 24 Apr 2013 15:27:36 +0000 (16:27 +0100)]
Clean unused variable warning
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.
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
David Vázquez [Wed, 24 Apr 2013 15:19:29 +0000 (16:19 +0100)]
Simple defstruct clone
Alfredo Beaumont [Wed, 24 Apr 2013 15:00:00 +0000 (17:00 +0200)]
parse-integer: add support for junk-allowed key parameter
Alfredo Beaumont [Wed, 24 Apr 2013 14:41:25 +0000 (16:41 +0200)]
!parse-integer: handle leading whitespace
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
Alfredo Beaumont [Tue, 23 Apr 2013 14:16:48 +0000 (16:16 +0200)]
!parse-integer: fix junk processing
Alfredo Beaumont [Tue, 23 Apr 2013 14:14:32 +0000 (16:14 +0200)]
Fix spacing in !parse-integer
Raimon Grau [Mon, 22 Apr 2013 23:28:42 +0000 (01:28 +0200)]
Merge branch 'davazp-js-ffi' into js-ffi
Conflicts:
ecmalisp.lisp
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
David Vázquez [Mon, 22 Apr 2013 23:20:29 +0000 (00:20 +0100)]
Fixes to FFI Javascript
Raimon Grau [Mon, 22 Apr 2013 22:08:15 +0000 (00:08 +0200)]
slowly progressing to automatic binding of lisp->js
David Vázquez [Mon, 22 Apr 2013 20:22:54 +0000 (21:22 +0100)]
Print unknown objects as #<javascript object>
David Vázquez [Mon, 22 Apr 2013 20:11:18 +0000 (21:11 +0100)]
Fix FFI contributions
Raimon Grau [Mon, 22 Apr 2013 19:34:40 +0000 (21:34 +0200)]
intern
David Vázquez [Mon, 22 Apr 2013 19:24:13 +0000 (20:24 +0100)]
Ignore ecmalisp.js in master
David Vázquez [Mon, 22 Apr 2013 19:21:20 +0000 (20:21 +0100)]
Merge branch 'compile-print'
David Vázquez [Mon, 22 Apr 2013 19:14:03 +0000 (20:14 +0100)]
Remove autogenerated file in master
Raimon Grau [Mon, 22 Apr 2013 18:39:04 +0000 (20:39 +0200)]
js updated
Raimon Grau [Mon, 22 Apr 2013 18:18:57 +0000 (20:18 +0200)]
%js-call to compile to plain js calls
Raimon Grau [Mon, 22 Apr 2013 18:18:35 +0000 (20:18 +0200)]
uppercased JS package
David Vázquez [Sun, 21 Apr 2013 22:28:08 +0000 (23:28 +0100)]
Print compile progress while bootstrapping
Raimon Grau [Sun, 21 Apr 2013 22:15:49 +0000 (00:15 +0200)]
initial steps to js ffi
David Vázquez [Sun, 21 Apr 2013 17:29:17 +0000 (18:29 +0100)]
Define `window' and `globalEval' to work in other js environments
David Vázquez [Sun, 21 Apr 2013 14:32:14 +0000 (15:32 +0100)]
Improve the MV function
David Vázquez [Sun, 21 Apr 2013 11:50:17 +0000 (12:50 +0100)]
Print empty vector as #()
David Vázquez [Tue, 16 Apr 2013 18:05:36 +0000 (19:05 +0100)]
Fix typo
David Vázquez [Mon, 15 Apr 2013 17:17:12 +0000 (18:17 +0100)]
Longer README
David Vazquez [Mon, 18 Feb 2013 22:49:52 +0000 (22:49 +0000)]
Remove old PUSH
David Vazquez [Mon, 18 Feb 2013 01:46:30 +0000 (01:46 +0000)]
Internal do-sequence macro
David Vazquez [Mon, 18 Feb 2013 01:35:03 +0000 (01:35 +0000)]
Remove conflict marker and compile last version
David Vazquez [Mon, 18 Feb 2013 01:32:10 +0000 (01:32 +0000)]
Closes #7
Enable backquote simplifications
David Vazquez [Sun, 17 Feb 2013 19:35:12 +0000 (19:35 +0000)]
Extended PUSH
David Vazquez [Sat, 16 Feb 2013 15:50:45 +0000 (15:50 +0000)]
Remove unnecessary progn
David Vazquez [Fri, 15 Feb 2013 12:54:13 +0000 (12:54 +0000)]
Export GET-SETF-EXPANSION and DEFINE-SETF-EXPANDER
David Vazquez [Thu, 14 Feb 2013 15:13:58 +0000 (15:13 +0000)]
GET-SETF-EXPANSION macroexpands place firstly
David Vazquez [Wed, 13 Feb 2013 22:47:53 +0000 (22:47 +0000)]
APPLY accepts symbols as function descriptor
David Vazquez [Wed, 13 Feb 2013 22:46:19 +0000 (22:46 +0000)]
FUNCALL accepts symbols as function descriptor
David Vazquez [Tue, 12 Feb 2013 23:35:25 +0000 (23:35 +0000)]
Export simple loop
David Vazquez [Tue, 12 Feb 2013 00:50:28 +0000 (00:50 +0000)]
Support SVAR in function lambda-lists
David Vazquez [Mon, 11 Feb 2013 22:35:25 +0000 (22:35 +0000)]
!REDUCE use a keyword :INITIAL-VALUE
David Vazquez [Mon, 11 Feb 2013 01:39:27 +0000 (01:39 +0000)]
MAKE-PACKAGE accepts :USE keyword argument
David Vazquez [Mon, 11 Feb 2013 01:35:21 +0000 (01:35 +0000)]
Avoid 'var i;' if the function does not use keyword arguments
David Vazquez [Mon, 11 Feb 2013 00:12:59 +0000 (00:12 +0000)]
Better comment
David Vazquez [Mon, 11 Feb 2013 00:01:10 +0000 (00:01 +0000)]
Basic SETF implementation
David Vazquez [Sun, 10 Feb 2013 23:46:06 +0000 (23:46 +0000)]
Variable arity MAPCAR
David Vazquez [Sun, 10 Feb 2013 20:30:10 +0000 (20:30 +0000)]
Avoid type-checking in constant number arguments to arithmetic functions
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.
David Vázquez [Sat, 9 Feb 2013 02:54:28 +0000 (03:54 +0100)]
s/zeropt/zerop
David Vázquez [Sat, 9 Feb 2013 02:50:59 +0000 (03:50 +0100)]
Basic DEFCONSTANT
David Vázquez [Sat, 9 Feb 2013 02:29:39 +0000 (03:29 +0100)]
Closes 5 and simplify lambda compilation
David Vázquez [Sat, 9 Feb 2013 02:19:58 +0000 (03:19 +0100)]
&key support in lambda
David Vázquez [Sat, 9 Feb 2013 01:21:44 +0000 (02:21 +0100)]
Parse lambda-list keywords
David Vázquez [Fri, 8 Feb 2013 22:50:15 +0000 (23:50 +0100)]
New function: CONSTANTLY
David Vázquez [Fri, 8 Feb 2013 22:47:13 +0000 (23:47 +0100)]
Iterative MAPCAR
David Vázquez [Thu, 7 Feb 2013 23:30:08 +0000 (00:30 +0100)]
DIGIT-CHAR
David Vázquez [Thu, 7 Feb 2013 23:12:28 +0000 (00:12 +0100)]
FUNCTION supports lexical functions
David Vázquez [Thu, 7 Feb 2013 23:07:02 +0000 (00:07 +0100)]
LABELS working and exported
No error checking yet
David Vázquez [Thu, 7 Feb 2013 22:58:07 +0000 (23:58 +0100)]
New special form: labels
David Vazquez [Wed, 6 Feb 2013 22:45:57 +0000 (22:45 +0000)]
Do not escape HTML in in the console
David Vazquez [Tue, 5 Feb 2013 19:30:50 +0000 (19:30 +0000)]
Add FLET
David Vazquez [Mon, 4 Feb 2013 10:50:43 +0000 (10:50 +0000)]
INTERN returns multiple values
David Vazquez [Mon, 4 Feb 2013 00:27:11 +0000 (00:27 +0000)]
Second value of FIND-SYMBOL is a keyword
David Vazquez [Mon, 4 Feb 2013 00:23:48 +0000 (00:23 +0000)]
Allow to use keywords in the compiler
David Vazquez [Sun, 3 Feb 2013 11:25:19 +0000 (11:25 +0000)]
Reverting "Dump keywords"
This reverts commit
2890060b5446322f3831a8d6fdcba189ac2877ff.
David Vazquez [Sat, 2 Feb 2013 20:13:46 +0000 (20:13 +0000)]
Dump keywords
David Vazquez [Fri, 1 Feb 2013 12:27:41 +0000 (12:27 +0000)]
Compile last version
David Vazquez [Fri, 1 Feb 2013 12:27:35 +0000 (12:27 +0000)]
Remove auxiliar %FIND-SYMBOL function
David Vazquez [Fri, 1 Feb 2013 12:17:35 +0000 (12:17 +0000)]
FIND-SYMBOL return a second value
David Vázquez [Thu, 31 Jan 2013 17:50:48 +0000 (17:50 +0000)]
Optional sign prefix for integer reader
David Vázquez [Thu, 31 Jan 2013 17:37:55 +0000 (17:37 +0000)]
Export parse-integer
David Vázquez [Thu, 31 Jan 2013 17:36:09 +0000 (17:36 +0000)]
Better parse-integer
David Vazquez [Thu, 31 Jan 2013 00:39:45 +0000 (00:39 +0000)]
Fix a bug related to SETQ which DO* uncovered
David Vázquez [Wed, 30 Jan 2013 23:13:12 +0000 (23:13 +0000)]
Preliminary DO and DO* iteration macros
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
David Vazquez [Tue, 29 Jan 2013 00:57:36 +0000 (00:57 +0000)]
LAMBDA is a macro expanding to #'(LAMBDA ...) now
David Vazquez [Tue, 29 Jan 2013 00:17:31 +0000 (00:17 +0000)]
Fixes #9: CATCH/THROW and BLOCK/RETURN-FROM support multiple values
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
David Vazquez [Mon, 28 Jan 2013 15:52:07 +0000 (15:52 +0000)]
Remove rests