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

11 years agoremoved unused function and added detection for multiple objects following a dot...
Andrea Griffini [Sat, 4 May 2013 07:52:58 +0000 (09:52 +0200)]
removed unused function and added detection for multiple objects following a dot when reading a list

11 years agoADJOIN
Owen Rodley [Sat, 4 May 2013 06:39:05 +0000 (18:39 +1200)]
ADJOIN

11 years agoINTERSECTION
Owen Rodley [Sat, 4 May 2013 06:34:48 +0000 (18:34 +1200)]
INTERSECTION

11 years agoAdd KEY and TEST args to MEMBER
Owen Rodley [Sat, 4 May 2013 06:30:06 +0000 (18:30 +1200)]
Add KEY and TEST args to MEMBER

11 years agoRASSOC
Owen Rodley [Sat, 4 May 2013 06:18:26 +0000 (18:18 +1200)]
RASSOC

11 years agoCOPY-ALIST
Owen Rodley [Sat, 4 May 2013 06:14:08 +0000 (18:14 +1200)]
COPY-ALIST

11 years agoRewrite ACONS and PAIRLIS tests using dotted lists
Owen Rodley [Sat, 4 May 2013 06:03:27 +0000 (18:03 +1200)]
Rewrite ACONS and PAIRLIS tests using dotted lists

11 years agoMerge branch 'master' of https://github.com/davazp/jscl into list-stuff
Owen Rodley [Sat, 4 May 2013 05:58:20 +0000 (17:58 +1200)]
Merge branch 'master' of https://github.com/davazp/jscl into list-stuff

11 years agoDefine custom symbol object in prelude instead of plain objects
David Vázquez [Sat, 4 May 2013 02:50:19 +0000 (03:50 +0100)]
Define custom symbol object in prelude instead of plain objects

11 years agoMore progresses in FFI
David Vázquez [Sat, 4 May 2013 02:38:07 +0000 (03:38 +0100)]
More progresses in FFI

11 years agoFFI conversion
David Vázquez [Sat, 4 May 2013 02:20:56 +0000 (03:20 +0100)]
FFI conversion

11 years agoString and function FFI conversion
David Vázquez [Sat, 4 May 2013 01:38:13 +0000 (02:38 +0100)]
String and function FFI conversion

11 years agoMove FFI code to src/ffi.lisp
David Vázquez [Sat, 4 May 2013 01:18:53 +0000 (02:18 +0100)]
Move FFI code to src/ffi.lisp

11 years agoFix lambda funcall ((lambda (x) x) 20)
David Vázquez [Sat, 4 May 2013 00:58:31 +0000 (01:58 +0100)]
Fix lambda funcall ((lambda (x) x) 20)

11 years agoFix dotted notation and incomplete input error reporting
David Vázquez [Sat, 4 May 2013 00:54:23 +0000 (01:54 +0100)]
Fix dotted notation and incomplete input error reporting

Fixes #72

11 years agoPAIRLIS
Owen Rodley [Sat, 4 May 2013 00:25:42 +0000 (12:25 +1200)]
PAIRLIS

11 years agoACONS
Owen Rodley [Fri, 3 May 2013 23:49:41 +0000 (11:49 +1200)]
ACONS

11 years agoTAILP
Owen Rodley [Fri, 3 May 2013 23:26:05 +0000 (11:26 +1200)]
TAILP

11 years agoFIFTH to TENTH
Owen Rodley [Fri, 3 May 2013 22:56:59 +0000 (10:56 +1200)]
FIFTH to TENTH

11 years agoTREE-EQUAL
Owen Rodley [Fri, 3 May 2013 22:44:25 +0000 (10:44 +1200)]
TREE-EQUAL

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 agobugfix for reading uninterned symbols in repl
Andrea Griffini [Fri, 3 May 2013 21:34:20 +0000 (23:34 +0200)]
bugfix for reading uninterned symbols in repl

11 years agobetter symbol printing
Andrea Griffini [Fri, 3 May 2013 21:10:14 +0000 (23:10 +0200)]
better symbol printing

11 years agomerged trunk
Andrea Griffini [Fri, 3 May 2013 17:49:03 +0000 (19:49 +0200)]
merged trunk

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