jscl.git
11 years agoSimplify literal object dumping
David Vázquez [Fri, 26 Apr 2013 17:49:09 +0000 (18:49 +0100)]
Simplify literal object dumping

11 years agoFunctions dump-array, dump-cons and dump-symbol
David Vázquez [Fri, 26 Apr 2013 17:38:20 +0000 (18:38 +0100)]
Functions dump-array, dump-cons and dump-symbol

11 years ago`defvar` requires two arguments yet
David Vázquez [Fri, 26 Apr 2013 15:59:32 +0000 (16:59 +0100)]
`defvar` requires two arguments yet

11 years agoMerge pull request #32 from Strigoides/master
David Vázquez [Fri, 26 Apr 2013 15:55:21 +0000 (08:55 -0700)]
Merge pull request #32 from Strigoides/master

Fix COND bug

11 years agoOnly evaluate the test once in COND
Strigoides [Fri, 26 Apr 2013 15:43:33 +0000 (03:43 +1200)]
Only evaluate the test once in COND

11 years agoAdd function RUN-TESTS-IN-HOST to run tests in the host implementation
David Vázquez [Fri, 26 Apr 2013 14:32:05 +0000 (15:32 +0100)]
Add function RUN-TESTS-IN-HOST to run tests in the host implementation

11 years agoFix COND for clauses with length 1
Strigoides [Fri, 26 Apr 2013 12:49:02 +0000 (00:49 +1200)]
Fix COND for clauses with length 1
(COND (1)) should return 1

11 years agoTest for DO*, OR, AND & COND
Strigoides [Fri, 26 Apr 2013 12:41:16 +0000 (00:41 +1200)]
Test for DO*, OR, AND & COND

11 years agoFix typo in tests.lisp and tests-report.lisp
Strigoides [Fri, 26 Apr 2013 12:18:44 +0000 (00:18 +1200)]
Fix typo in tests.lisp and tests-report.lisp

11 years agoAdd a few basic tests for iteration constructs
Strigoides [Fri, 26 Apr 2013 12:17:56 +0000 (00:17 +1200)]
Add a few basic tests for iteration constructs

11 years agoModify test running system
Strigoides [Fri, 26 Apr 2013 12:16:42 +0000 (00:16 +1200)]
Modify test running system
Rather than manually listing all tests to be run, every file with the
.lisp extension in the tests directory is automatically run

11 years agojs-eval uses globalEval
David Vázquez [Fri, 26 Apr 2013 10:32:21 +0000 (11:32 +0100)]
js-eval uses globalEval

11 years agoUpdate .gitignore
David Vázquez [Fri, 26 Apr 2013 07:45:44 +0000 (08:45 +0100)]
Update .gitignore

11 years agoMore accurate test timing
David Vázquez [Thu, 25 Apr 2013 22:48:38 +0000 (23:48 +0100)]
More accurate test timing

11 years agoMerge branch 'master' of github.com:davazp/jscl
David Vázquez [Thu, 25 Apr 2013 22:47:27 +0000 (23:47 +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.

11 years agoDefine get-internal-real-time
David Vázquez [Thu, 25 Apr 2013 22:46:57 +0000 (23:46 +0100)]
Define get-internal-real-time

11 years agoMerge pull request #25 from abeaumont/master
David Vázquez [Thu, 25 Apr 2013 22:27:53 +0000 (15:27 -0700)]
Merge pull request #25 from abeaumont/master

eval-interactive: avoid a broken eval due to an unbound *

11 years agoMerge pull request #24 from abeaumont/testing-framework
David Vázquez [Thu, 25 Apr 2013 22:21:52 +0000 (15:21 -0700)]
Merge pull request #24 from abeaumont/testing-framework

[test] rename *timestaup* to *timestamp*

11 years agoeval-interactive: avoid a broken eval due to an unbound *
Alfredo Beaumont [Thu, 25 Apr 2013 22:18:54 +0000 (00:18 +0200)]
eval-interactive: avoid a broken eval due to an unbound *

11 years ago[test] rename *timestaup* to *timestamp*
Alfredo Beaumont [Thu, 25 Apr 2013 22:15:43 +0000 (00:15 +0200)]
[test] rename *timestaup* to *timestamp*

11 years agoAdd setf test case file
David Vázquez [Thu, 25 Apr 2013 22:03:31 +0000 (23:03 +0100)]
Add setf test case file

11 years agoAdd test case for ticket #23
David Vázquez [Thu, 25 Apr 2013 22:03:24 +0000 (23:03 +0100)]
Add test case for ticket #23

11 years agoINCF and DECF work on proper places
David Vázquez [Thu, 25 Apr 2013 22:01:15 +0000 (23:01 +0100)]
INCF and DECF work on proper places

11 years agoAdd basic testing framework
David Vázquez [Thu, 25 Apr 2013 20:37:30 +0000 (21:37 +0100)]
Add basic testing framework

11 years agoRename project to JSCL
David Vázquez [Thu, 25 Apr 2013 17:59:44 +0000 (18:59 +0100)]
Rename project to JSCL

11 years agoQuote Common Lisp to clarify the which Lisp, but Lisp is Common Lisp obviously
David Vázquez [Thu, 25 Apr 2013 17:25:49 +0000 (18:25 +0100)]
Quote Common Lisp to clarify the which Lisp, but Lisp is Common Lisp obviously

11 years agoFix bug compiling funcalls
David Vázquez [Thu, 25 Apr 2013 17:18:36 +0000 (18:18 +0100)]
Fix bug compiling funcalls

11 years agols-compile: add compiling support for floats
Alfredo Beaumont [Thu, 25 Apr 2013 16:08:24 +0000 (18:08 +0200)]
ls-compile: add compiling support for floats

11 years agoread-float: use strings instead of characters for exponent-marker parsing
Alfredo Beaumont [Thu, 25 Apr 2013 15:33:30 +0000 (17:33 +0200)]
read-float: use strings instead of characters for exponent-marker parsing
since char-upcase is not yet supported.

11 years agoAdd float support in reader and printer
Alfredo Beaumont [Thu, 25 Apr 2013 14:31:09 +0000 (16:31 +0200)]
Add float support in reader and printer

11 years agols-read: fix spacing
Alfredo Beaumont [Wed, 24 Apr 2013 16:56:20 +0000 (18:56 +0200)]
ls-read: fix spacing

11 years agoMerge branch 'master' of github.com:davazp/ecmalisp
David Vázquez [Thu, 25 Apr 2013 14:58:54 +0000 (15:58 +0100)]
Merge branch 'master' of github.com:davazp/ecmalisp

Conflicts:
ecmalisp.lisp

* src/toplevel.lisp: Clean and sort symbol exports

11 years agoMerge branch 'multiple-files'
David Vázquez [Thu, 25 Apr 2013 14:53:55 +0000 (15:53 +0100)]
Merge branch 'multiple-files'

11 years agols-read and ls-read-from-string handles empty input
David Vázquez [Thu, 25 Apr 2013 14:52:04 +0000 (15:52 +0100)]
ls-read and ls-read-from-string handles empty input

Add EOF-ERROR-P and EOF-VALUE arguments.

It fixes #18

11 years agoMerge pull request #19 from abeaumont/master
David Vázquez [Thu, 25 Apr 2013 14:50:55 +0000 (07:50 -0700)]
Merge pull request #19 from abeaumont/master

Remove duplicated symbols in export argument list

11 years agoRemove duplicated symbols in export argument list
Alfredo Beaumont [Thu, 25 Apr 2013 14:42:26 +0000 (16:42 +0200)]
Remove duplicated symbols in export argument list

11 years agoAdd Alfredo Beaumont AUTHORS' entry
David Vázquez [Thu, 25 Apr 2013 14:23:13 +0000 (15:23 +0100)]
Add Alfredo Beaumont AUTHORS' entry

11 years agoFix typo in Raimon's name
David Vázquez [Thu, 25 Apr 2013 13:32:26 +0000 (14:32 +0100)]
Fix typo in Raimon's name

11 years agoUpdate README.org
David Vázquez [Thu, 25 Apr 2013 13:28:35 +0000 (14:28 +0100)]
Update README.org

11 years agoMove source code under src/
David Vázquez [Thu, 25 Apr 2013 13:20:13 +0000 (14:20 +0100)]
Move source code under src/

11 years agoFixes to bootstrap
David Vázquez [Thu, 25 Apr 2013 13:00:35 +0000 (14:00 +0100)]
Fixes to bootstrap

11 years agoAdd !prin1-to-string and prin1-to-string refers it
David Vázquez [Thu, 25 Apr 2013 12:47:33 +0000 (13:47 +0100)]
Add !prin1-to-string and prin1-to-string refers it

11 years agoFile headers
David Vázquez [Thu, 25 Apr 2013 12:45:00 +0000 (13:45 +0100)]
File headers

11 years agoRemove unused code
David Vázquez [Thu, 25 Apr 2013 12:42:08 +0000 (13:42 +0100)]
Remove unused code

11 years agoList the sources in only one place
David Vázquez [Thu, 25 Apr 2013 12:41:03 +0000 (13:41 +0100)]
List the sources in only one place

11 years agoMove eval and cl-user package code to toplevel.lisp
David Vázquez [Thu, 25 Apr 2013 12:34:15 +0000 (13:34 +0100)]
Move eval and cl-user package code to toplevel.lisp

11 years agoMove the compiler to compiler.lisp
David Vázquez [Thu, 25 Apr 2013 12:31:52 +0000 (13:31 +0100)]
Move the compiler to compiler.lisp

11 years agoMove more code to print.lisp and read.lisp
David Vázquez [Thu, 25 Apr 2013 12:29:51 +0000 (13:29 +0100)]
Move more code to print.lisp and read.lisp

11 years agoMove CL-compatibility code to compat.lisp
David Vázquez [Thu, 25 Apr 2013 12:18:41 +0000 (13:18 +0100)]
Move CL-compatibility code to compat.lisp

11 years agoEarly code is moved to boot.lisp
David Vázquez [Thu, 25 Apr 2013 12:02:06 +0000 (13:02 +0100)]
Early code is moved to boot.lisp

11 years agoMerge pull request #16 from abeaumont/repl-variables
David Vázquez [Thu, 25 Apr 2013 11:09:38 +0000 (04:09 -0700)]
Merge pull request #16 from abeaumont/repl-variables

Add support for repl variables: * ** *** / // /// + ++ +++ -

11 years agoAdd support for repl variables: * ** *** / // /// + ++ +++ -
Alfredo Beaumont [Thu, 25 Apr 2013 10:54:08 +0000 (12:54 +0200)]
Add support for repl variables: * ** *** / // /// + ++ +++ -

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