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

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

13 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

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

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

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

13 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

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

13 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

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

13 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

13 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

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

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

13 years agoimproved symbol printing
Andrea Griffini [Sat, 4 May 2013 14:14:38 +0000 (16:14 +0200)]
improved symbol printing

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

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

13 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

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

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

13 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

13 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 )`

13 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

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

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

13 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

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

13 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

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

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

13 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

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

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

13 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

13 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

13 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

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

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

13 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

13 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

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

13 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

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

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

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

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

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

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

13 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

13 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

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

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

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

13 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

13 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

13 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

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

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

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

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

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

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

13 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

13 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

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

13 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

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

13 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

13 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

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

13 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

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

13 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

13 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

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

13 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

13 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

13 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

13 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

13 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

13 years agowip printer
Andrea Griffini [Thu, 2 May 2013 17:57:49 +0000 (19:57 +0200)]
wip printer

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

13 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

13 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

13 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

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

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

13 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

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

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

13 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

13 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

13 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

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

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

13 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

13 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

13 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

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

13 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