jscl.git
12 years ago`error' uses basic format
David Vázquez [Thu, 2 May 2013 23:08:06 +0000 (00:08 +0100)]
`error' uses basic format

12 years agoRemove test because it will fail in the host
David Vázquez [Thu, 2 May 2013 23:04:19 +0000 (00:04 +0100)]
Remove test because it will fail in the host

We do not have JS package in the host implementation

12 years agoMove hacking tips from the README to HACKING
David Vázquez [Thu, 2 May 2013 23:01:49 +0000 (00:01 +0100)]
Move hacking tips from the README to HACKING

12 years agoUse pop and concatf in basic format
David Vázquez [Thu, 2 May 2013 23:00:19 +0000 (00:00 +0100)]
Use pop and concatf in basic format

12 years agofixed format for compatibility with new char implementation
Raimon Grau [Thu, 2 May 2013 19:39:35 +0000 (21:39 +0200)]
fixed format for compatibility with new char implementation

12 years agoMerge branch 'origin-master' into origin-format
Raimon Grau [Thu, 2 May 2013 19:00:57 +0000 (21:00 +0200)]
Merge branch 'origin-master' into origin-format

Conflicts:
jscl.lisp
src/print.lisp
src/toplevel.lisp

12 years agoCharacter printing
David Vázquez [Thu, 2 May 2013 15:03:39 +0000 (16:03 +0100)]
Character printing

12 years agoFix bug in character reading
David Vázquez [Thu, 2 May 2013 14:59:51 +0000 (15:59 +0100)]
Fix bug in character reading

12 years agoImplement characters as Javascript strings of length 1
David Vázquez [Thu, 2 May 2013 13:59:19 +0000 (14:59 +0100)]
Implement characters as Javascript strings of length 1

12 years agoMerge pull request #69 from 6502/symbol-quoting
David Vázquez [Thu, 2 May 2013 12:04:37 +0000 (05:04 -0700)]
Merge pull request #69 from 6502/symbol-quoting

Escaped symbol reading

12 years agoreindent
Raimon Grau [Thu, 2 May 2013 01:46:05 +0000 (03:46 +0200)]
reindent

12 years agocall write-to-string recursively
Raimon Grau [Thu, 2 May 2013 01:45:48 +0000 (03:45 +0200)]
call write-to-string recursively

12 years agoprinc-to-string to implement ~a and ~S format directives
Raimon Grau [Wed, 1 May 2013 23:12:22 +0000 (01:12 +0200)]
princ-to-string to implement ~a and ~S format directives

12 years agosymbol quoting support in reader
Andrea Griffini [Wed, 1 May 2013 23:10:12 +0000 (01:10 +0200)]
symbol quoting support in reader

12 years agomerged davazp trunk
Andrea Griffini [Wed, 1 May 2013 22:41:34 +0000 (00:41 +0200)]
merged davazp trunk

12 years agoMerge tests/return-from.lisp into tests/control.lisp
David Vázquez [Wed, 1 May 2013 21:40:54 +0000 (22:40 +0100)]
Merge tests/return-from.lisp into tests/control.lisp

12 years agoDeclare as special variable *use-html-output-p* in run-tests-in-host
David Vázquez [Wed, 1 May 2013 21:38:30 +0000 (22:38 +0100)]
Declare as special variable *use-html-output-p* in run-tests-in-host

12 years agoMerge pull request #66 from 6502/return-from
David Vázquez [Wed, 1 May 2013 21:31:32 +0000 (14:31 -0700)]
Merge pull request #66 from 6502/return-from

RETURN-FROM support for FLET/LABELS

12 years agoMerge pull request #68 from 6502/case-otherwise
David Vázquez [Wed, 1 May 2013 21:30:19 +0000 (14:30 -0700)]
Merge pull request #68 from 6502/case-otherwise

added OTHERWISE support to (CASE ...)

12 years agoFix test in SBCL
David Vázquez [Wed, 1 May 2013 21:32:06 +0000 (22:32 +0100)]
Fix test in SBCL

12 years agoVectors are equal if they are eql only
David Vázquez [Wed, 1 May 2013 21:31:16 +0000 (22:31 +0100)]
Vectors are equal if they are eql only

12 years agoUse defparameter instead of defvar to reset test reporting data
David Vázquez [Wed, 1 May 2013 21:27:32 +0000 (22:27 +0100)]
Use defparameter instead of defvar to reset test reporting data

It is useful to call run-tests-in-host multiple times

12 years agoDo not use html in RUN-TESTS-IN-HOST
David Vázquez [Wed, 1 May 2013 21:25:46 +0000 (22:25 +0100)]
Do not use html in RUN-TESTS-IN-HOST

12 years ago~% test added
Raimon Grau [Wed, 1 May 2013 21:23:16 +0000 (23:23 +0200)]
~% test added

12 years agoMerge pull request #58 from Strigoides/colorize-tests
David Vázquez [Wed, 1 May 2013 21:18:05 +0000 (14:18 -0700)]
Merge pull request #58 from Strigoides/colorize-tests

Colorize test output

12 years agoadded OTHERWISE support to (CASE ...)
Andrea Griffini [Wed, 1 May 2013 20:26:03 +0000 (22:26 +0200)]
added OTHERWISE support to (CASE ...)

12 years agofixed RETURN-FROM for FLET/LABELS and added a test case for correct handling of RETUR...
Andrea Griffini [Wed, 1 May 2013 19:30:09 +0000 (21:30 +0200)]
fixed RETURN-FROM for FLET/LABELS and added a test case for correct handling of RETURN-FROM in recursive functions

12 years agoFix typo if/when
David Vázquez [Wed, 1 May 2013 18:48:52 +0000 (19:48 +0100)]
Fix typo if/when

Closes #37

12 years agoPass argument count explicitly instead of use arguments.length
David Vázquez [Wed, 1 May 2013 17:46:48 +0000 (18:46 +0100)]
Pass argument count explicitly instead of use arguments.length

12 years agoMerge pull request #28 from maxwellhansen/patch-1
David Vázquez [Wed, 1 May 2013 14:34:54 +0000 (07:34 -0700)]
Merge pull request #28 from maxwellhansen/patch-1

Updated join function in utils.lisp

12 years agoFix test
David Vázquez [Wed, 1 May 2013 12:50:19 +0000 (13:50 +0100)]
Fix test

12 years agoRemove usage of the *block-counter* variable
David Vázquez [Wed, 1 May 2013 12:45:51 +0000 (13:45 +0100)]
Remove usage of the *block-counter* variable

12 years agoFixes #64 issue on nested scoping in non local exists
David Vázquez [Wed, 1 May 2013 12:44:15 +0000 (13:44 +0100)]
Fixes #64 issue on nested scoping in non local exists

12 years agounbalanced parens
Raimon Grau [Wed, 1 May 2013 10:40:45 +0000 (12:40 +0200)]
unbalanced parens

12 years agomerged trunk
Andrea Griffini [Wed, 1 May 2013 09:34:32 +0000 (11:34 +0200)]
merged trunk

12 years agoName 'JSCL' instead of 'This progrma' in the license comments
David Vázquez [Wed, 1 May 2013 04:14:11 +0000 (05:14 +0100)]
Name 'JSCL' instead of 'This progrma' in the license comments

12 years agoInclude license header to package.lispn
David Vázquez [Wed, 1 May 2013 04:12:23 +0000 (05:12 +0100)]
Include license header to package.lispn

12 years agoMove more functions to list.lisp and create package.lisp
David Vázquez [Wed, 1 May 2013 04:10:59 +0000 (05:10 +0100)]
Move more functions to list.lisp and create package.lisp

12 years agoRename AUTHORS to CREDITS and add an entry for Nikodemus Siivola
David Vázquez [Wed, 1 May 2013 03:57:55 +0000 (04:57 +0100)]
Rename AUTHORS to CREDITS and add an entry for Nikodemus Siivola

12 years agoMerge branch 'build-tweaks' of https://github.com/nikodemus/jscl into nikodemus-build...
David Vázquez [Wed, 1 May 2013 03:52:12 +0000 (04:52 +0100)]
Merge branch 'build-tweaks' of https://github.com/nikodemus/jscl into nikodemus-build-tweaks

12 years agoIgnore declarations in lambdas
David Vázquez [Wed, 1 May 2013 03:50:11 +0000 (04:50 +0100)]
Ignore declarations in lambdas

12 years agonamed-lambda is a function descriptor rather than a macro
David Vázquez [Wed, 1 May 2013 03:31:42 +0000 (04:31 +0100)]
named-lambda is a function descriptor rather than a macro

It makes easier to deal with declarations and docstrings

12 years agoVariable to enable/disable color in test output
Owen Rodley [Wed, 1 May 2013 02:39:16 +0000 (14:39 +1200)]
Variable to enable/disable color in test output

12 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

12 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

12 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

12 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.

12 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.

12 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

12 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.

12 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

12 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.

12 years agoquoted symbols, better handling of dotted pairs
Andrea Griffini [Tue, 30 Apr 2013 19:41:43 +0000 (21:41 +0200)]
quoted symbols, better handling of dotted pairs

12 years agosome testing for equal
Andrea Griffini [Tue, 30 Apr 2013 07:02:08 +0000 (09:02 +0200)]
some testing for equal

12 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

12 years agospecify latin-1 as external format for read-whole-file
Nikodemus Siivola [Sun, 28 Apr 2013 13:38:02 +0000 (16:38 +0300)]
specify latin-1 as external format for read-whole-file

  The current implementation assumes a single-byte-per-char format;
  make that explicit.

12 years agosilence a couple of unused-variable warnings
Nikodemus Siivola [Sun, 28 Apr 2013 13:42:11 +0000 (16:42 +0300)]
silence a couple of unused-variable warnings

12 years agoabort failed builds instead of soldiering on
Nikodemus Siivola [Sun, 28 Apr 2013 13:37:03 +0000 (16:37 +0300)]
abort failed builds instead of soldiering on

12 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

12 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

12 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.)

12 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

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

12 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

12 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

12 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

12 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

12 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

12 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

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

12 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.

12 years agoRefactor SUBST to use COND
Strigoides [Fri, 26 Apr 2013 20:13:14 +0000 (08:13 +1200)]
Refactor SUBST to use COND

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

12 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

12 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

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

12 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

12 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

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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

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

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

12 years agoUpdated join function in utils.lisp
maxwellhansen [Fri, 26 Apr 2013 05:37:09 +0000 (22:37 -0700)]
Updated join function in utils.lisp

Used !reduce instead of verbose conditional recursion.

12 years agominimal tests for format
Raimon Grau [Fri, 26 Apr 2013 00:31:29 +0000 (02:31 +0200)]
minimal tests for format

12 years agoformat supports ~%
Raimon Grau [Fri, 26 Apr 2013 00:31:13 +0000 (02:31 +0200)]
format supports ~%

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

12 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.

12 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

12 years agoadded docs for newbie hackers
Raimon Grau [Thu, 25 Apr 2013 22:40:34 +0000 (00:40 +0200)]
added docs for newbie hackers