jscl.git
11 years agoRemove outdated comment
Owen Rodley [Fri, 3 May 2013 22:23:34 +0000 (10:23 +1200)]
Remove outdated comment

11 years agoMerge branch 'master' of https://github.com/davazp/jscl
Owen Rodley [Fri, 3 May 2013 22:12:59 +0000 (10:12 +1200)]
Merge branch 'master' of https://github.com/davazp/jscl

11 years agoDisable test temporarily
David Vázquez [Fri, 3 May 2013 16:13:33 +0000 (17:13 +0100)]
Disable test temporarily

11 years agoMerge branch 'master' into mutable-strings
David Vázquez [Fri, 3 May 2013 16:02:10 +0000 (17:02 +0100)]
Merge branch 'master' into mutable-strings

11 years agoRemove references to non-symbol literals
David Vázquez [Fri, 3 May 2013 16:02:01 +0000 (17:02 +0100)]
Remove references to non-symbol literals

11 years agoMerge branch 'master' into mutable-strings
David Vázquez [Fri, 3 May 2013 16:00:44 +0000 (17:00 +0100)]
Merge branch 'master' into mutable-strings

Conflicts:
src/compiler.lisp
src/toplevel.lisp

11 years agoMacro precompilation
David Vázquez [Fri, 3 May 2013 15:56:20 +0000 (16:56 +0100)]
Macro precompilation

11 years agoFix typo
David Vázquez [Fri, 3 May 2013 15:00:00 +0000 (16:00 +0100)]
Fix typo

11 years agoEasier bootstrap
David Vázquez [Fri, 3 May 2013 14:59:37 +0000 (15:59 +0100)]
Easier bootstrap

11 years agoDefine macro-function
David Vázquez [Fri, 3 May 2013 14:49:46 +0000 (15:49 +0100)]
Define macro-function

11 years agoRemove duplicated string conversion
David Vázquez [Fri, 3 May 2013 13:39:38 +0000 (14:39 +0100)]
Remove duplicated string conversion

11 years agoNon-recursive !reduce
David Vázquez [Fri, 3 May 2013 11:48:14 +0000 (12:48 +0100)]
Non-recursive !reduce

11 years agoMerge branch 'master' into mutable-strings
David Vázquez [Fri, 3 May 2013 11:37:29 +0000 (12:37 +0100)]
Merge branch 'master' into mutable-strings

11 years agoFix: join fails on empty list
David Vázquez [Fri, 3 May 2013 11:36:01 +0000 (12:36 +0100)]
Fix: join fails on empty list

11 years agoSome string tests
David Vázquez [Fri, 3 May 2013 11:22:40 +0000 (12:22 +0100)]
Some string tests

11 years ago(SETF CHAR) and move string related code to string.lisp
David Vázquez [Fri, 3 May 2013 11:17:06 +0000 (12:17 +0100)]
(SETF CHAR) and move string related code to string.lisp

11 years agoRemove temporary code
David Vázquez [Fri, 3 May 2013 10:57:50 +0000 (11:57 +0100)]
Remove temporary code

11 years agoSome string conversions in error reporting
David Vázquez [Fri, 3 May 2013 10:52:01 +0000 (11:52 +0100)]
Some string conversions in error reporting

11 years agoFix several newly introduced bugs in the migration to mutable strings
David Vázquez [Fri, 3 May 2013 10:41:31 +0000 (11:41 +0100)]
Fix several newly introduced bugs in the migration to mutable strings

11 years agoFix symbol name dumping
David Vázquez [Fri, 3 May 2013 08:35:47 +0000 (09:35 +0100)]
Fix symbol name dumping

11 years agoMerge branch 'master' into strings
David Vázquez [Fri, 3 May 2013 01:05:02 +0000 (02:05 +0100)]
Merge branch 'master' into strings

11 years agoSimplify tests using format
David Vázquez [Fri, 3 May 2013 01:04:54 +0000 (02:04 +0100)]
Simplify tests using format

11 years agoWIP: Strings as array of characters implementation
David Vázquez [Fri, 3 May 2013 00:54:01 +0000 (01:54 +0100)]
WIP: Strings as array of characters implementation

11 years agoBetter error reporting using basic format
David Vázquez [Thu, 2 May 2013 23:25:10 +0000 (00:25 +0100)]
Better error reporting using basic format

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

11 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

11 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

11 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

11 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

11 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

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

11 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

11 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

11 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

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

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

11 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

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

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

11 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

11 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

11 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

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

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

11 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

11 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

11 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

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

11 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

11 years agoMerge branch 'master' of https://github.com/davazp/jscl
Owen Rodley [Wed, 1 May 2013 20:36:42 +0000 (08:36 +1200)]
Merge branch 'master' of https://github.com/davazp/jscl

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

11 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

11 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

11 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

11 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

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

11 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

11 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

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

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

11 years agoMerge branch 'master' of https://github.com/davazp/jscl
Owen Rodley [Wed, 1 May 2013 04:35:40 +0000 (16:35 +1200)]
Merge branch 'master' of https://github.com/davazp/jscl

11 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

11 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

11 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

11 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

11 years agoMerge branch 'master' of https://github.com/davazp/jscl
Owen Rodley [Wed, 1 May 2013 03:57:50 +0000 (15:57 +1200)]
Merge branch 'master' of https://github.com/davazp/jscl

11 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

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

11 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

11 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

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 agoMerge branch 'master' of https://github.com/davazp/jscl
Owen Rodley [Wed, 1 May 2013 02:12:05 +0000 (14:12 +1200)]
Merge branch 'master' of https://github.com/davazp/jscl

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

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

11 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

11 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

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