jscl.git
11 years agoMerge branch 'master' of https://github.com/davazp/jscl into colorize-tests
Owen Rodley [Wed, 1 May 2013 02:13:02 +0000 (14:13 +1200)]
Merge branch 'master' of https://github.com/davazp/jscl into colorize-tests

11 years agoAdd Andrea Griffini to AUTHORS
David Vázquez [Wed, 1 May 2013 01:49:43 +0000 (02:49 +0100)]
Add Andrea Griffini to AUTHORS

11 years agoMerge branch 'equal' of https://github.com/6502/jscl into 6502-equal
David Vázquez [Wed, 1 May 2013 01:28:44 +0000 (02:28 +0100)]
Merge branch 'equal' of https://github.com/6502/jscl into 6502-equal

11 years agoMerge branch 'master' of github.com:davazp/jscl
David Vázquez [Wed, 1 May 2013 01:24:47 +0000 (02:24 +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 agoMerge branch 'master' of github.com:davazp/jscl
David Vázquez [Wed, 1 May 2013 01:23:13 +0000 (02:23 +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 agoMerge pull request #45 from abeaumont/read-integer
David Vázquez [Wed, 1 May 2013 01:21:34 +0000 (18:21 -0700)]
Merge pull request #45 from abeaumont/read-integer

[reader] write a specific read-integer for reader

11 years agoMerge pull request #43 from tarballs-are-good/patch-2
David Vázquez [Wed, 1 May 2013 01:19:43 +0000 (18:19 -0700)]
Merge pull request #43 from tarballs-are-good/patch-2

Make sure READ-FLOAT returns a float.

11 years agoAdd to AUTHORS: Owen Rodley
David Vázquez [Wed, 1 May 2013 01:07:32 +0000 (02:07 +0100)]
Add to AUTHORS: Owen Rodley

11 years agoMerge https://github.com/Strigoides/jscl into pull-requests
David Vázquez [Wed, 1 May 2013 01:05:17 +0000 (02:05 +0100)]
Merge https://github.com/Strigoides/jscl into pull-requests

# 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 agosome testing for equal
Andrea Griffini [Tue, 30 Apr 2013 07:02:08 +0000 (09:02 +0200)]
some testing for equal

11 years agobetter equal implementation with support for conses, vectors, strings
Andrea Griffini [Tue, 30 Apr 2013 06:54:21 +0000 (08:54 +0200)]
better equal implementation with support for conses, vectors, strings

11 years agoColorize test output
Owen Rodley [Sun, 28 Apr 2013 01:28:11 +0000 (13:28 +1200)]
Colorize test output
Failures show up in red, and unexpected successes in orange

11 years agoMerge branch 'master' of https://github.com/davazp/jscl
Owen Rodley [Sun, 28 Apr 2013 01:19:14 +0000 (13:19 +1200)]
Merge branch 'master' of https://github.com/davazp/jscl

11 years agoMake sure READ-FLOAT returns a float.
Robert Smith [Sat, 27 Apr 2013 22:20:54 +0000 (15:20 -0700)]
Make sure READ-FLOAT returns a float.

Make sure READ-FLOAT returns a float during cross-compilation. (This strategy just embeds a float into the calculation as opposed to an explicit conversion.)

11 years ago[reader] write a specific read-integer for reader
Alfredo Beaumont [Sat, 27 Apr 2013 20:39:40 +0000 (22:39 +0200)]
[reader] write a specific read-integer for reader

11 years agoFix POP
Owen Rodley [Sat, 27 Apr 2013 12:33:31 +0000 (00:33 +1200)]
Fix POP

11 years agoMerge branch 'dump-changes-bug'
David Vázquez [Fri, 26 Apr 2013 22:33:49 +0000 (23:33 +0100)]
Merge branch 'dump-changes-bug'

Fix bug when dump symbols

Conflicts:
src/compiler.lisp

11 years agoFix bug in symbol dumping
David Vázquez [Fri, 26 Apr 2013 22:29:51 +0000 (23:29 +0100)]
Fix bug in symbol dumping

11 years agoOnly evaluate place in POP once
Owen Rodley [Fri, 26 Apr 2013 22:03:43 +0000 (10:03 +1200)]
Only evaluate place in POP once

11 years agoRevert "Simplify literal object dumping"
David Vázquez [Fri, 26 Apr 2013 22:02:31 +0000 (23:02 +0100)]
Revert "Simplify literal object dumping"

This reverts commit bf4fd5a5239efe4931e03f7174a0907aba6f07ef.

Conflicts:
src/compiler.lisp

11 years agoRevert "Functions dump-array, dump-cons and dump-symbol"
David Vázquez [Fri, 26 Apr 2013 22:00:36 +0000 (23:00 +0100)]
Revert "Functions dump-array, dump-cons and dump-symbol"

This reverts commit fe12fe5314125084a5960227207cf4d0426460f0.

Conflicts:
src/compiler.lisp

11 years agoExpected test failures and unexpected passes
David Vázquez [Fri, 26 Apr 2013 21:20:47 +0000 (22:20 +0100)]
Expected test failures and unexpected passes

11 years agoAdd POP macro
Owen Rodley [Fri, 26 Apr 2013 20:26:11 +0000 (08:26 +1200)]
Add POP macro

11 years agoMerge branch 'master' of github.com:davazp/jscl
David Vázquez [Fri, 26 Apr 2013 20:16:46 +0000 (21:16 +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 agoRefactor SUBST to use COND
Strigoides [Fri, 26 Apr 2013 20:13:14 +0000 (08:13 +1200)]
Refactor SUBST to use COND

11 years agoAdd SUBST function
Strigoides [Fri, 26 Apr 2013 19:58:10 +0000 (07:58 +1200)]
Add SUBST function

11 years agoAdd :TEST keyword arg to ASSOC
Strigoides [Fri, 26 Apr 2013 19:43:05 +0000 (07:43 +1200)]
Add :TEST keyword arg to ASSOC

11 years agoMerge branch 'master' of https://github.com/davazp/jscl
Strigoides [Fri, 26 Apr 2013 19:29:39 +0000 (07:29 +1200)]
Merge branch 'master' of https://github.com/davazp/jscl

11 years agoAdd COPY-TREE function + test
Strigoides [Fri, 26 Apr 2013 19:28:10 +0000 (07:28 +1200)]
Add COPY-TREE function + test

11 years agoMerge pull request #31 from abeaumont/master
David Vázquez [Fri, 26 Apr 2013 19:12:36 +0000 (12:12 -0700)]
Merge pull request #31 from abeaumont/master

Improvements in reader

11 years agoAdd the rest of the C[AD]*R functions
Strigoides [Fri, 26 Apr 2013 18:52:51 +0000 (06:52 +1200)]
Add the rest of the C[AD]*R functions

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 agoCreate and export read-from-string. Add a test for it
Alfredo Beaumont [Fri, 26 Apr 2013 15:22:14 +0000 (17:22 +0200)]
Create and export read-from-string. Add a test for it

11 years agoread-float: reduce code size a bit by using awhen instead of when
Alfredo Beaumont [Thu, 25 Apr 2013 22:27:50 +0000 (00:27 +0200)]
read-float: reduce code size a bit by using awhen instead of when

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