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

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 agowip printer
Andrea Griffini [Thu, 2 May 2013 17:57:49 +0000 (19:57 +0200)]
wip printer

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