jscl.git
11 years agoMerge pull request #90 from abeaumont/master
David Vázquez [Sat, 11 May 2013 15:35:36 +0000 (08:35 -0700)]
Merge pull request #90 from abeaumont/master

Improvements to various lists functions

11 years agocar and cdr variants: order definitions properly, remove duplicates and add missing...
Alfredo Beaumont [Fri, 10 May 2013 16:10:18 +0000 (18:10 +0200)]
car and cdr variants: order definitions properly, remove duplicates and add missing ones

11 years ago[test] Remove debug print from MAPC test
Alfredo Beaumont [Fri, 10 May 2013 15:28:43 +0000 (17:28 +0200)]
[test] Remove debug print from MAPC test

11 years ago[test] Add tests for CONS, CONSP, ATOM, RPLACA and RPLACD
Alfredo Beaumont [Fri, 10 May 2013 15:27:42 +0000 (17:27 +0200)]
[test] Add tests for CONS, CONSP, ATOM, RPLACA and RPLACD

11 years agoMerge pull request #89 from Strigoides/subseq
David Vázquez [Fri, 10 May 2013 15:24:24 +0000 (08:24 -0700)]
Merge pull request #89 from Strigoides/subseq

SUBSEQ implementation for lists

11 years agoMerge https://github.com/abeaumont/jscl
David Vázquez [Fri, 10 May 2013 15:24:47 +0000 (16:24 +0100)]
Merge https://github.com/abeaumont/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 agoRelax compiler literal caching
David Vázquez [Fri, 10 May 2013 15:23:58 +0000 (16:23 +0100)]
Relax compiler literal caching

Equal is too general. Diferrent literals are considered the same and
if you modify destructively one of them, then other were modified too.

11 years ago[test] Remove comments about EQUAL not being properly defined for lists
Alfredo Beaumont [Fri, 10 May 2013 14:46:54 +0000 (16:46 +0200)]
[test] Remove comments about EQUAL not being properly defined for lists

11 years ago[test] Add a test for mapcar
Alfredo Beaumont [Fri, 10 May 2013 14:45:14 +0000 (16:45 +0200)]
[test] Add a test for mapcar

11 years agoMisc. fixes to SUBSEQ, tests
Owen Rodley [Fri, 10 May 2013 01:02:04 +0000 (13:02 +1200)]
Misc. fixes to SUBSEQ, tests

11 years agoImplement SUBSEQ for lists
Owen Rodley [Thu, 9 May 2013 20:46:35 +0000 (08:46 +1200)]
Implement SUBSEQ for lists

11 years agoAdd support for mapc
Alfredo Beaumont [Thu, 9 May 2013 20:30:28 +0000 (22:30 +0200)]
Add support for mapc

11 years agoUpdate CREDITS
David Vázquez [Thu, 9 May 2013 18:16:40 +0000 (20:16 +0200)]
Update CREDITS

11 years agoMerge pull request #87 from redline6561/dev
David Vázquez [Thu, 9 May 2013 18:15:12 +0000 (11:15 -0700)]
Merge pull request #87 from redline6561/dev

Implement fboundp.

11 years agoImplement fboundp.
Brit Butler [Thu, 9 May 2013 13:44:40 +0000 (09:44 -0400)]
Implement fboundp.

11 years agoUse do-sequence
David Vázquez [Thu, 9 May 2013 08:00:46 +0000 (09:00 +0100)]
Use do-sequence

11 years agoMerge pull request #86 from Strigoides/remove-if
David Vázquez [Thu, 9 May 2013 07:49:37 +0000 (00:49 -0700)]
Merge pull request #86 from Strigoides/remove-if

REMOVE-IF[-NOT] for vectors

11 years agoMerge pull request #85 from Strigoides/alpha-char-p
David Vázquez [Thu, 9 May 2013 07:45:06 +0000 (00:45 -0700)]
Merge pull request #85 from Strigoides/alpha-char-p

Minor fixes for ALPHA-CHAR-P

11 years agoImplement REMOVE-IF[-NOT] for vectors
Owen Rodley [Thu, 9 May 2013 02:51:33 +0000 (14:51 +1200)]
Implement REMOVE-IF[-NOT] for vectors

11 years agoFix ALPHA-CHAR-P for capital letters
Owen Rodley [Thu, 9 May 2013 02:55:32 +0000 (14:55 +1200)]
Fix ALPHA-CHAR-P for capital letters

11 years agoAdd missing export for ALPHA-CHAR-P
Owen Rodley [Thu, 9 May 2013 02:54:58 +0000 (14:54 +1200)]
Add missing export for ALPHA-CHAR-P

11 years agolisp-implementation-type
David Vázquez [Wed, 8 May 2013 21:51:15 +0000 (22:51 +0100)]
lisp-implementation-type

11 years ago*features* support for the reader
David Vázquez [Wed, 8 May 2013 21:43:02 +0000 (22:43 +0100)]
*features* support for the reader

11 years agoAdd Paul Nathan to CREDITS
David Vázquez [Wed, 8 May 2013 21:23:28 +0000 (22:23 +0100)]
Add Paul Nathan to CREDITS

11 years agoMerge pull request #83 from pnathan/features
David Vázquez [Wed, 8 May 2013 21:19:15 +0000 (14:19 -0700)]
Merge pull request #83 from pnathan/features

Added *features* parameter

11 years agoRemove wrong array branch from equal
David Vázquez [Wed, 8 May 2013 16:05:16 +0000 (17:05 +0100)]
Remove wrong array branch from equal

11 years agoRemoved :ansi-cl as per issue #83
pnathan [Wed, 8 May 2013 14:03:42 +0000 (07:03 -0700)]
Removed :ansi-cl as per issue #83

11 years agoMoved to misc.lisp
pnathan [Wed, 8 May 2013 14:02:48 +0000 (07:02 -0700)]
Moved to misc.lisp

11 years agoMerging from upstream
pnathan [Wed, 8 May 2013 14:00:24 +0000 (07:00 -0700)]
Merging from upstream

11 years agoConvert test to not to use `equal'
David Vázquez [Wed, 8 May 2013 08:42:12 +0000 (09:42 +0100)]
Convert test to not to use `equal'

11 years agoRemove wrong test
David Vázquez [Wed, 8 May 2013 08:31:39 +0000 (09:31 +0100)]
Remove wrong test

11 years agoMerge branch 'reader-backward-references' of https://github.com/6502/jscl into reader...
David Vázquez [Wed, 8 May 2013 08:29:27 +0000 (09:29 +0100)]
Merge branch 'reader-backward-references' of https://github.com/6502/jscl into reader-circular

# 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 agoFix keyword dumping and restoring
David Vázquez [Wed, 8 May 2013 08:27:07 +0000 (09:27 +0100)]
Fix keyword dumping and restoring

11 years agoMerge branch 'reader-backward-references' of ssh://github.com/6502/jscl into reader...
Andrea Griffini [Wed, 8 May 2013 06:42:04 +0000 (08:42 +0200)]
Merge branch 'reader-backward-references' of ssh://github.com/6502/jscl into reader-backward-references

11 years agoMerge branch 'master' of http://github.com/davazp/jscl into reader-backward-references
Andrea Griffini [Wed, 8 May 2013 06:38:29 +0000 (08:38 +0200)]
Merge branch 'master' of github.com/davazp/jscl into reader-backward-references

11 years agoAdded *features* parameter.
pnathan [Wed, 8 May 2013 05:31:42 +0000 (22:31 -0700)]
Added *features* parameter.

*features* exists as a way to detect capabilities of a Common Lisp
 system.

11 years agoMerge branch 'nikodemus-patch'
David Vázquez [Mon, 6 May 2013 13:28:26 +0000 (14:28 +0100)]
Merge branch 'nikodemus-patch'

Closes #47

11 years agoOrganize the functions in the file
David Vázquez [Mon, 6 May 2013 13:27:44 +0000 (14:27 +0100)]
Organize the functions in the file

11 years agoMerge DOSEQ into DO-SEQUENCE
David Vázquez [Mon, 6 May 2013 13:23:50 +0000 (14:23 +0100)]
Merge DOSEQ into DO-SEQUENCE

11 years agoMove more code to sequence.lisp
David Vázquez [Mon, 6 May 2013 13:14:18 +0000 (14:14 +0100)]
Move more code to sequence.lisp

11 years agoMove sequence functions to sequence.lisp
David Vázquez [Mon, 6 May 2013 13:13:33 +0000 (14:13 +0100)]
Move sequence functions to sequence.lisp

11 years agoRemove old FIND
David Vázquez [Mon, 6 May 2013 13:11:24 +0000 (14:11 +0100)]
Remove old FIND

11 years agoRedefine ATOM
David Vázquez [Mon, 6 May 2013 13:09:13 +0000 (14:09 +0100)]
Redefine ATOM

11 years agoMerge branch 'master' of http://github.com/davazp/jscl into reader-backward-references
Andrea Griffini [Mon, 6 May 2013 13:05:19 +0000 (15:05 +0200)]
Merge branch 'master' of github.com/davazp/jscl into reader-backward-references

11 years agomake FIND and REPLACE work on vectors as well
Nikodemus Siivola [Sun, 28 Apr 2013 13:41:48 +0000 (16:41 +0300)]
make FIND and REPLACE work on vectors as well

Conflicts:
src/boot.lisp

11 years agoexport FIND
Nikodemus Siivola [Sun, 28 Apr 2013 13:41:25 +0000 (16:41 +0300)]
export FIND

Conflicts:
src/toplevel.lisp

11 years agoadd not-entirely-correct VECTOR-PUSH-EXTEND
Nikodemus Siivola [Sun, 28 Apr 2013 13:40:52 +0000 (16:40 +0300)]
add not-entirely-correct VECTOR-PUSH-EXTEND

Conflicts:
src/toplevel.lisp

11 years agoadd smoketests for FIND and REPLACE
Nikodemus Siivola [Sun, 28 Apr 2013 13:53:11 +0000 (16:53 +0300)]
add smoketests for FIND and REPLACE

11 years agoBetter `case' macro with multikeys
David Vázquez [Mon, 6 May 2013 12:50:53 +0000 (13:50 +0100)]
Better `case' macro with multikeys

11 years agoBetter COND
David Vázquez [Mon, 6 May 2013 12:29:51 +0000 (13:29 +0100)]
Better COND

11 years agovalue argument is optional in defvar
David Vázquez [Mon, 6 May 2013 12:23:11 +0000 (13:23 +0100)]
value argument is optional in defvar

11 years agoAdd copyright notice
David Vázquez [Sun, 5 May 2013 23:31:28 +0000 (00:31 +0100)]
Add copyright notice

11 years agotypo in array printing
Andrea Griffini [Mon, 6 May 2013 06:56:18 +0000 (08:56 +0200)]
typo in array printing

11 years agoUpdate CREDITS file
David Vázquez [Sun, 5 May 2013 23:23:38 +0000 (00:23 +0100)]
Update CREDITS file

11 years agoadd prog macro
Henry Irvine [Sun, 5 May 2013 16:55:59 +0000 (01:55 +0900)]
add prog macro

11 years agoMerge pull request #81 from davazp/destructuring-bind
David Vázquez [Sun, 5 May 2013 23:08:32 +0000 (16:08 -0700)]
Merge pull request #81 from davazp/destructuring-bind

Destructuring bind

11 years agoDOLIST and DOTIMES use extended lambda lists
David Vázquez [Sun, 5 May 2013 23:10:20 +0000 (00:10 +0100)]
DOLIST and DOTIMES use extended lambda lists

11 years agoDestructuring mismatch errors
David Vázquez [Sun, 5 May 2013 23:05:11 +0000 (00:05 +0100)]
Destructuring mismatch errors

11 years agowip *print-circle* support
Andrea Griffini [Sun, 5 May 2013 22:36:30 +0000 (00:36 +0200)]
wip *print-circle* support

11 years agoRemove unnecesary let* binding reusing the &whole var if it is specified
David Vázquez [Sun, 5 May 2013 22:19:54 +0000 (23:19 +0100)]
Remove unnecesary let* binding reusing the &whole var if it is specified

11 years agoadded afind primitive
Andrea Griffini [Sun, 5 May 2013 20:40:30 +0000 (22:40 +0200)]
added afind primitive

11 years agoreader support for ## and #=
Andrea Griffini [Sun, 5 May 2013 20:20:33 +0000 (22:20 +0200)]
reader support for ## and #=

11 years agoMove *MAGIC-UNQUOTE-MARKER* back to compiler.lisp
David Vázquez [Sun, 5 May 2013 19:35:06 +0000 (20:35 +0100)]
Move *MAGIC-UNQUOTE-MARKER* back to compiler.lisp

11 years agoDEFMACRO supports extended macro lambda lists
David Vázquez [Sun, 5 May 2013 18:49:17 +0000 (19:49 +0100)]
DEFMACRO supports extended macro lambda lists

It closes #11

11 years agoFix key arguments in nested lists
David Vázquez [Sun, 5 May 2013 17:49:12 +0000 (18:49 +0100)]
Fix key arguments in nested lists

11 years agoMerge branch 'destructuring-bind-jscl-port' into destructuring-bind
David Vázquez [Sun, 5 May 2013 15:41:22 +0000 (16:41 +0100)]
Merge branch 'destructuring-bind-jscl-port' into destructuring-bind

11 years agodefconstant !lambda-list-keywords
David Vázquez [Sun, 5 May 2013 15:41:11 +0000 (16:41 +0100)]
defconstant !lambda-list-keywords

11 years agoFix etypecase
David Vázquez [Sun, 5 May 2013 15:39:12 +0000 (16:39 +0100)]
Fix etypecase

11 years agoExport destructuring-bind
David Vázquez [Sun, 5 May 2013 15:36:17 +0000 (16:36 +0100)]
Export destructuring-bind

11 years agoReplace advanced etypecase by cond
David Vázquez [Sun, 5 May 2013 15:34:34 +0000 (16:34 +0100)]
Replace advanced etypecase by cond

11 years agoReplace loop macro usage
David Vázquez [Sun, 5 May 2013 15:32:07 +0000 (16:32 +0100)]
Replace loop macro usage

11 years agoETYPECASE
David Vázquez [Sun, 5 May 2013 15:23:17 +0000 (16:23 +0100)]
ETYPECASE

11 years agoUse def!struct
David Vázquez [Sun, 5 May 2013 15:21:26 +0000 (16:21 +0100)]
Use def!struct

11 years agoMove DEF!STRUCT to defstruct.lisp
David Vázquez [Sun, 5 May 2013 15:20:36 +0000 (16:20 +0100)]
Move DEF!STRUCT to defstruct.lisp

11 years agoSupport &aux variables
David Vázquez [Sun, 5 May 2013 14:51:16 +0000 (15:51 +0100)]
Support &aux variables

11 years agoWIP: Include DESTRUCTURING-BIND operator
David Vázquez [Sun, 5 May 2013 14:49:03 +0000 (15:49 +0100)]
WIP: Include DESTRUCTURING-BIND operator

11 years agoUpdate build instructions
David Vázquez [Sat, 4 May 2013 22:47:21 +0000 (23:47 +0100)]
Update build instructions

11 years agoCreate JSCL package to keep the symbols in the host implementation
David Vázquez [Sat, 4 May 2013 22:46:35 +0000 (23:46 +0100)]
Create JSCL package to keep the symbols in the host implementation

We can manage what symbols are accesible from JSCL and avoid
collisions. In particular, this fixes the compilation in GNU/clisp,
which failed because it exports a with-collect macro in the EXT
package, visible from CL-USER.

11 years agoUpdate name in CREDITS
David Vázquez [Sat, 4 May 2013 18:57:52 +0000 (19:57 +0100)]
Update name in CREDITS

11 years agoFix read-float. Define CHAR-UPCASE and CHAR-DOWNCASE
David Vázquez [Sat, 4 May 2013 18:15:32 +0000 (19:15 +0100)]
Fix read-float. Define CHAR-UPCASE and CHAR-DOWNCASE

11 years agoUpdate AUTHORS file
David Vázquez [Sat, 4 May 2013 16:45:44 +0000 (17:45 +0100)]
Update AUTHORS file

11 years agoEscape token also for the package prefix
David Vázquez [Sat, 4 May 2013 16:20:30 +0000 (17:20 +0100)]
Escape token also for the package prefix

11 years agoRewrite and simplify potential-number-p according to the spec rules.
David Vázquez [Sat, 4 May 2013 16:09:34 +0000 (17:09 +0100)]
Rewrite and simplify potential-number-p according to the spec rules.

The previous implementation failed with '+' and '-' as input.

11 years agoThe reader will ignore expressiones prefixed with #+nil
David Vázquez [Sat, 4 May 2013 16:07:46 +0000 (17:07 +0100)]
The reader will ignore expressiones prefixed with #+nil

11 years agoAdd ALPHA-CHAR-P. FIND and FIND-If work also on sequences
David Vázquez [Sat, 4 May 2013 16:06:41 +0000 (17:06 +0100)]
Add ALPHA-CHAR-P. FIND and FIND-If work also on sequences

11 years agoAdd clarifing comment
David Vázquez [Sat, 4 May 2013 14:54:25 +0000 (15:54 +0100)]
Add clarifing comment

11 years agoMerge branch 'print' of https://github.com/6502/jscl
David Vázquez [Sat, 4 May 2013 14:40:37 +0000 (15:40 +0100)]
Merge branch 'print' of https://github.com/6502/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 agoimproved symbol printing
Andrea Griffini [Sat, 4 May 2013 14:14:38 +0000 (16:14 +0200)]
improved symbol printing

11 years agoFix test colorization
David Vázquez [Sat, 4 May 2013 11:59:34 +0000 (12:59 +0100)]
Fix test colorization

11 years agoffi-intern-hook simplification
David Vázquez [Sat, 4 May 2013 11:42:34 +0000 (12:42 +0100)]
ffi-intern-hook simplification

11 years agoMerge branch 'master' of github.com:davazp/jscl
David Vázquez [Sat, 4 May 2013 11:35:48 +0000 (12:35 +0100)]
Merge branch 'master' of github.com:davazp/jscl

Conflicts:
src/read.lisp

11 years agoFix failing test
David Vázquez [Sat, 4 May 2013 11:31:13 +0000 (12:31 +0100)]
Fix failing test

11 years agoRename some functions
David Vázquez [Sat, 4 May 2013 11:13:09 +0000 (12:13 +0100)]
Rename some functions

11 years agoMerge branch 'print' of https://github.com/6502/jscl into 6502-print
David Vázquez [Sat, 4 May 2013 10:42:30 +0000 (11:42 +0100)]
Merge branch 'print' of https://github.com/6502/jscl into 6502-print

11 years agoMerge pull request #74 from 6502/dotted-pair-read
David Vázquez [Sat, 4 May 2013 10:30:27 +0000 (03:30 -0700)]
Merge pull request #74 from 6502/dotted-pair-read

Fix pair reading with trailing whitespaces

Example: `(1 . 2 )`

11 years agoMerge pull request #73 from Strigoides/list-stuff
David Vázquez [Sat, 4 May 2013 10:15:02 +0000 (03:15 -0700)]
Merge pull request #73 from Strigoides/list-stuff

More list functions

11 years agobetter error reporting for (1 . 2 <EOF>
Andrea Griffini [Sat, 4 May 2013 08:22:59 +0000 (10:22 +0200)]
better error reporting for (1 . 2 <EOF>

11 years agoremoved unused function
Andrea Griffini [Sat, 4 May 2013 08:08:51 +0000 (10:08 +0200)]
removed unused function

11 years agofixed detection of multiple objects after . in list
Andrea Griffini [Sat, 4 May 2013 08:07:02 +0000 (10:07 +0200)]
fixed detection of multiple objects after . in list

11 years agomerged trunk
Andrea Griffini [Sat, 4 May 2013 07:59:15 +0000 (09:59 +0200)]
merged trunk