clinton/parenscript.git
17 years agodocs updated for new setf optimization
Henrik Hjelte [Wed, 15 Nov 2006 23:54:41 +0000 (23:54 +0000)]
docs updated for new setf optimization

17 years agobugfix method-call problem
Henrik Hjelte [Wed, 15 Nov 2006 23:41:44 +0000 (23:41 +0000)]
bugfix method-call problem

17 years agomoretests for method-call (dot-notation) syntax
Henrik Hjelte [Wed, 15 Nov 2006 22:40:45 +0000 (22:40 +0000)]
moretests for method-call (dot-notation) syntax

17 years agobugfix commutative plus and minus
Henrik Hjelte [Wed, 15 Nov 2006 21:35:02 +0000 (21:35 +0000)]
bugfix commutative plus and minus

17 years agotests for some bugs
Henrik Hjelte [Wed, 15 Nov 2006 20:44:56 +0000 (20:44 +0000)]
tests for some bugs

Reported by: Marijn Haverbeke <marijnh@gmail.com>

17 years agoasdf test-op added
Henrik Hjelte [Wed, 15 Nov 2006 19:27:20 +0000 (19:27 +0000)]
asdf test-op added

(asdf:operate 'asdf:test-op :parenscript)

17 years agoupdated pdf manual for new with syntax
Henrik Hjelte [Wed, 15 Nov 2006 16:46:03 +0000 (16:46 +0000)]
updated pdf manual for new with syntax

17 years agobuild.sh for documentation
Henrik Hjelte [Wed, 15 Nov 2006 16:43:39 +0000 (16:43 +0000)]
build.sh for documentation

17 years agoUpdated documentation to reflect the new syntax of the with statement
Henrik Hjelte [Wed, 15 Nov 2006 16:13:03 +0000 (16:13 +0000)]
Updated documentation to reflect the new syntax of the with statement

17 years agomake the test escape-sequences-in-string work again
Henrik Hjelte [Wed, 15 Nov 2006 15:58:46 +0000 (15:58 +0000)]
make the test escape-sequences-in-string work again

17 years agoAdded evenp and oddp
Attila Lendvai [Tue, 3 Oct 2006 13:49:55 +0000 (13:49 +0000)]
Added evenp and oddp

17 years agoAdded assert for simple catch forms
Attila Lendvai [Tue, 3 Oct 2006 13:49:23 +0000 (13:49 +0000)]
Added assert for simple catch forms

17 years agoKilled the feature (js:js* '(let (a b) (+ a b))) => "var a = b; a + b;"
Attila Lendvai [Fri, 1 Sep 2006 16:02:49 +0000 (16:02 +0000)]
Killed the feature (js:js* '(let (a b) (+ a b))) => "var a = b; a + b;"

17 years agodocs/pbook.py: correct faulty check for PDF output
Luca Capello [Mon, 2 Oct 2006 21:55:16 +0000 (21:55 +0000)]
docs/pbook.py: correct faulty check for PDF output

Frank K[_\c3_][_\bc_]ster discovered that docs/pbook.py produces buggy
LaTeX code, a faulty check for PDF output.  It doesn't show up if you
only try to create PDF.

But if you want to go the traditional route and produce dvi files (and
from that PostScript and maybe finally again PDF), this will fail and
still produce PDF.  The script itself doesn't do that (or rather, it
does that in fact but ignores the output in this first run), but it's
still an uglyness.

Moreover, it's completely useless, because the only package that uses
the information, graphicx, will detect the output format itself (and
in a proper way).

  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=390629

17 years agoUse symbol-name for op matching to fix various bugs/surprises
Attila Lendvai [Mon, 21 Aug 2006 09:57:00 +0000 (09:57 +0000)]
Use symbol-name for op matching to fix various bugs/surprises

(e.g. `(foo::% 4 2))

17 years agoAllow strings and numbers as slot names in object literals
Marijn Haverbeke [Fri, 21 Jul 2006 07:50:06 +0000 (07:50 +0000)]
Allow strings and numbers as slot names in object literals

17 years agoDrop unused js2.lisp
Marco Baringer [Sun, 16 Jul 2006 17:07:49 +0000 (17:07 +0000)]
Drop unused js2.lisp

17 years agoFix compilation of (.call (lambda () ...) arg1 ...), add missing ()'s around the...
Attila Lendvai [Sun, 16 Jul 2006 16:47:17 +0000 (16:47 +0000)]
Fix compilation of (.call (lambda () ...) arg1 ...), add missing ()'s around the lambda

17 years agoFix compilation of ((foo) bar) -> foo()(bar)
Attila Lendvai [Sun, 16 Jul 2006 16:46:30 +0000 (16:46 +0000)]
Fix compilation of ((foo) bar) -> foo()(bar)

17 years agoFixed js-with
Attila Lendvai [Sun, 16 Jul 2006 16:39:46 +0000 (16:39 +0000)]
Fixed js-with

WARNING: this involves syntax change

Previously the syntax of with was this:
  (with (object)
    body)

now it's:
  (with object
    body)

It was also broken when 'object' was an expression...

17 years agobugfix sometimes missing semicolons when joining js-body
Henrik Hjelte [Sat, 15 Jul 2006 20:13:44 +0000 (20:13 +0000)]
bugfix sometimes missing semicolons when joining js-body

17 years agoRebind var in dolist to make also clisp happy
Attila Lendvai [Tue, 11 Jul 2006 21:17:50 +0000 (21:17 +0000)]
Rebind var in dolist to make also clisp happy

import-macros-from-lisp was broken due to this.

17 years agoregex patch
Henrik Hjelte [Tue, 11 Jul 2006 13:47:05 +0000 (13:47 +0000)]
regex patch

Suggested by: Lou Vanek <vanek@acd.net>

17 years agodocumentation updated about dollar char
Henrik Hjelte [Tue, 11 Jul 2006 10:09:52 +0000 (10:09 +0000)]
documentation updated about dollar char

17 years agoMade ref2test work with cl-launch
Henrik Hjelte [Tue, 11 Jul 2006 08:49:15 +0000 (08:49 +0000)]
Made ref2test work with cl-launch

17 years agoFix screwed-up asd file
Attila Lendvai [Fri, 7 Jul 2006 22:37:11 +0000 (22:37 +0000)]
Fix screwed-up asd file

17 years agoFixed instanceof
Attila Lendvai [Fri, 7 Jul 2006 15:18:26 +0000 (15:18 +0000)]
Fixed instanceof

17 years agoAdded src/lib/functional.lisp
Attila Lendvai [Fri, 7 Jul 2006 15:13:21 +0000 (15:13 +0000)]
Added src/lib/functional.lisp

This is a first element of an parenscript library. The contents of
this file is to be compiled with parenscript and the result js
included in the host environment in one way or another.

17 years agoAdded :eval-forms-p to compile-parenscript-file
Attila Lendvai [Fri, 7 Jul 2006 15:12:31 +0000 (15:12 +0000)]
Added :eval-forms-p to compile-parenscript-file

17 years agoFix the return value of map-into
Attila Lendvai [Thu, 6 Jul 2006 22:55:47 +0000 (22:55 +0000)]
Fix the return value of map-into

17 years agoMoved some macros towards the top of the file due to dependencies
Attila Lendvai [Thu, 6 Jul 2006 22:51:47 +0000 (22:51 +0000)]
Moved some macros towards the top of the file due to dependencies

In the long run we should cut js.lisp into several files. One dealing
with the basic infrastructure like macro expansion, and the rest
implementing the compiler based on this infrastructure/utilities.

17 years agoAdded map and map-into
Attila Lendvai [Wed, 5 Jul 2006 18:23:51 +0000 (18:23 +0000)]
Added map and map-into

17 years agoShortened default gensym constant
Attila Lendvai [Wed, 5 Jul 2006 18:20:46 +0000 (18:20 +0000)]
Shortened default gensym constant

17 years agoDon't use loop's initially clause to avoid a clisp bug
Attila Lendvai [Tue, 4 Jul 2006 00:33:15 +0000 (00:33 +0000)]
Don't use loop's initially clause to avoid a clisp bug

For details see: http://sourceforge.net/tracker/index.php?func=detail&aid=1516684&group_id=1355&atid=101355

17 years agoMake defjsmacro rend's docstring a comment so clisp will stop complaining
Marco Baringer [Sat, 27 May 2006 09:31:59 +0000 (09:31 +0000)]
Make defjsmacro rend's docstring a comment so clisp will stop complaining

18 years agoMove undefine-js-compiler-macro into an eval-when.
Attila Lendvai [Sat, 13 May 2006 09:30:31 +0000 (09:30 +0000)]
Move undefine-js-compiler-macro into an eval-when.

Reported by: William Halliburton <whalliburton@gmail.com>

18 years agoAdded import-macros-from-lisp that bring lisp macros into the js macroexpansion
Attila Lendvai [Fri, 12 May 2006 15:29:54 +0000 (15:29 +0000)]
Added import-macros-from-lisp that bring lisp macros into the js macroexpansion

18 years agoMove compile-parenscript code into a separate file so that it complies cleanly
Marco Baringer [Wed, 10 May 2006 12:54:47 +0000 (12:54 +0000)]
Move compile-parenscript code into a separate file so that it complies cleanly

The problew is that compile-parenscript-file-to-string contains a call
to the macro js:js* this macro needs to be defined before we compile
the compile-parenscript-file-to-string function.

18 years agoUse an explicit asdf:perform :after method instead of :perform (load-op :after ...)
Marco Baringer [Wed, 10 May 2006 12:54:22 +0000 (12:54 +0000)]
Use an explicit asdf:perform :after method instead of :perform (load-op :after ...)

18 years agoAdded compile-parenscript-file
Attila Lendvai [Mon, 8 May 2006 11:08:34 +0000 (11:08 +0000)]
Added compile-parenscript-file

18 years agoAdded character type conversion
Attila Lendvai [Mon, 8 May 2006 11:06:11 +0000 (11:06 +0000)]
Added character type conversion

18 years agoAdded a rebind js macro that rebinds variables on the js side
Attila Lendvai [Sun, 16 Apr 2006 18:18:25 +0000 (18:18 +0000)]
Added a rebind js macro that rebinds variables on the js side

18 years agoExport defjsmacro
Marco Baringer [Sat, 1 Apr 2006 11:39:18 +0000 (11:39 +0000)]
Export defjsmacro

18 years agoAdded docstring for *js-quote-char*
Marco Baringer [Sat, 1 Apr 2006 11:35:03 +0000 (11:35 +0000)]
Added docstring for *js-quote-char*

18 years agoAdd variable *js-quote-char*
Xan Lopez [Sat, 1 Apr 2006 11:28:58 +0000 (11:28 +0000)]
Add variable *js-quote-char*

Signed-off-by: Marco Baringer <mb@bese.it>
18 years agoImplement js-to-strings for the regex class
Marco Baringer [Sun, 26 Feb 2006 17:05:27 +0000 (17:05 +0000)]
Implement js-to-strings for the regex class

18 years ago#\$ is not a special javascript character.
Marco Baringer [Sat, 25 Feb 2006 17:07:51 +0000 (17:07 +0000)]
#\$ is not a special javascript character.

Reported by: Richard Morse <pukku@mac.com>

18 years agoremove docs/images and relative references in tutorial.lisp
Luca Capello [Thu, 16 Feb 2006 08:42:59 +0000 (08:42 +0000)]
remove docs/images and relative references in tutorial.lisp

18 years agoremove docs/reference.pdf, already included in manual.pdf
Luca Capello [Fri, 27 Jan 2006 13:25:11 +0000 (13:25 +0000)]
remove docs/reference.pdf, already included in manual.pdf

18 years agoThe #\Form is not a standard character name, use #.(code-char 12) instead.
Marco Baringer [Sun, 5 Feb 2006 16:04:44 +0000 (16:04 +0000)]
The #\Form is not a standard character name, use #.(code-char 12) instead.

18 years agoproper escape sequences in strings
Henrik Hjelte [Thu, 2 Feb 2006 12:39:12 +0000 (12:39 +0000)]
proper escape sequences in strings

18 years agoref2test finds reference.lisp in docs dir
Henrik Hjelte [Wed, 1 Feb 2006 11:17:12 +0000 (11:17 +0000)]
ref2test finds reference.lisp in docs dir

18 years agomerge parenscript-test.asd into parenscript.asd
Luca Capello [Fri, 27 Jan 2006 08:57:09 +0000 (08:57 +0000)]
merge parenscript-test.asd into parenscript.asd

18 years agomove doc files to docs/
Luca Capello [Mon, 23 Jan 2006 22:25:48 +0000 (22:25 +0000)]
move doc files to docs/

18 years agomove test files to t/ and modify parenscript-test.asd as well
Luca Capello [Mon, 23 Jan 2006 21:50:26 +0000 (21:50 +0000)]
move test files to t/ and modify parenscript-test.asd as well

18 years agomove source files to src/ and modify parenscript.asd as well
Luca Capello [Mon, 23 Jan 2006 21:31:52 +0000 (21:31 +0000)]
move source files to src/ and modify parenscript.asd as well

18 years agoremove trailing spaces at endlines in *.lisp
Luca Capello [Mon, 23 Jan 2006 21:19:27 +0000 (21:19 +0000)]
remove trailing spaces at endlines in *.lisp

18 years agoremove trailing spaces at empty lines in *.lisp
Luca Capello [Sun, 22 Jan 2006 21:57:42 +0000 (21:57 +0000)]
remove trailing spaces at empty lines in *.lisp

18 years agopbook.py: convert endlines to Unix format
Luca Capello [Sun, 22 Jan 2006 21:17:04 +0000 (21:17 +0000)]
pbook.py: convert endlines to Unix format

18 years agocss-inline compiles with cmucl
Henrik Hjelte [Mon, 9 Jan 2006 11:36:02 +0000 (11:36 +0000)]
css-inline compiles with cmucl

18 years agoNew function gen-js-name-string
Marco Baringer [Mon, 19 Dec 2005 16:04:35 +0000 (16:04 +0000)]
New function gen-js-name-string

This allows you to get a unique javascript name as a string and not
just as a symbol.

18 years agobugfix slot-value
Henrik Hjelte [Mon, 19 Dec 2005 13:19:01 +0000 (13:19 +0000)]
bugfix slot-value

18 years agobug in dwim-join
Henrik Hjelte [Sun, 18 Dec 2005 17:17:24 +0000 (17:17 +0000)]
bug in dwim-join

18 years agocss-inline generator
Henrik Hjelte [Sun, 18 Dec 2005 11:14:26 +0000 (11:14 +0000)]
css-inline generator

18 years agocleaned reference
Henrik Hjelte [Sat, 17 Dec 2005 09:52:57 +0000 (09:52 +0000)]
cleaned reference

18 years agotests from the reference
Henrik Hjelte [Fri, 16 Dec 2005 18:08:44 +0000 (18:08 +0000)]
tests from the reference

18 years agoquotes in introduction
Henrik Hjelte [Fri, 16 Dec 2005 15:39:49 +0000 (15:39 +0000)]
quotes in introduction

18 years agoAdded defgenerics for all the defmethods
Alan-Shields [Thu, 1 Dec 2005 19:17:09 +0000 (19:17 +0000)]
Added defgenerics for all the defmethods

Ze style warnings! Zey drive me craaaazy.

18 years agoenable #+parenscript
Alan-Shields [Tue, 15 Nov 2005 23:53:51 +0000 (23:53 +0000)]
enable #+parenscript

To integrate Parenscript with Araneida without requiring Parenscript,
I had to do some compile conditionals. This would make it much easier.

Marco, eventually I am going to add this to every last one of your
projects.  ;-p

18 years agoneed a function for css-inlining
Alan-Shields [Tue, 15 Nov 2005 23:52:33 +0000 (23:52 +0000)]
need a function for css-inlining

If you have code that needs to inline CSS across an array, it's
difficult to use the current macro.  Having a function helps - mapping
the macro to the function only completes things.

18 years agoProper concatenation of inline CSS
Alan-Shields [Tue, 15 Nov 2005 23:48:12 +0000 (23:48 +0000)]
Proper concatenation of inline CSS

CSS-INLINE does a simple concatenation of the results of CSS
directives.

This looks like:

color:blacksize:200%

Unfortunately, it should look like this:

color:black;size:200%

It now does.

18 years agoadded COPYING file
Luca Capello [Mon, 7 Nov 2005 12:30:47 +0000 (12:30 +0000)]
added COPYING file

18 years agoEscape { and } chars in boring regexps
Marco Baringer [Mon, 7 Nov 2005 10:21:18 +0000 (10:21 +0000)]
Escape { and } chars in boring regexps

18 years agoNeed to escape #\' in javascript strings
Marco Baringer [Wed, 5 Oct 2005 09:09:42 +0000 (09:09 +0000)]
Need to escape #\' in javascript strings

18 years agoFix buf in JS-INLINE causing infinite macro expansion
Marco Baringer [Wed, 5 Oct 2005 08:29:00 +0000 (08:29 +0000)]
Fix buf in JS-INLINE causing infinite macro expansion

18 years agoAdd in checks to deal with functions/macros whose names aren't symbols
Marco Baringer [Mon, 12 Sep 2005 08:17:00 +0000 (08:17 +0000)]
Add in checks to deal with functions/macros whose names aren't symbols

18 years agoUse strings, and not symbols, to name javascript functions/macros
Marco Baringer [Mon, 5 Sep 2005 08:27:35 +0000 (08:27 +0000)]
Use strings, and not symbols, to name javascript functions/macros

This effectivly flattens the namespace of javascript code. While this
change makes js similar to javascript, and removes the need to export
symbols from the JS package, it may break previous code which depended
on, for expample, js:and not being equivalent to js:and.

18 years agoAdded support for literal objects ( "{ ... }" syntax)
Marco Baringer [Mon, 5 Sep 2005 08:17:02 +0000 (08:17 +0000)]
Added support for literal objects ( "{ ... }" syntax)

18 years agoExport cen-js-names and with-unique-js-names
Marco Baringer [Wed, 31 Aug 2005 11:58:20 +0000 (11:58 +0000)]
Export cen-js-names and with-unique-js-names

18 years agoAdded docstrings to previous patch
Marco Baringer [Mon, 15 Aug 2005 13:51:28 +0000 (13:51 +0000)]
Added docstrings to previous patch

18 years agoAdded GEN-JS-NAME and WITH-UNIQUE-JS-NAMES
Marco Baringer [Mon, 15 Aug 2005 13:49:40 +0000 (13:49 +0000)]
Added GEN-JS-NAME and WITH-UNIQUE-JS-NAMES

18 years agoFixes the infinite loop problems of `dotimes' and `dolist'.
Ivan Toshkov [Mon, 15 Aug 2005 08:09:06 +0000 (08:09 +0000)]
Fixes the infinite loop problems of `dotimes' and `dolist'.

18 years agoParenscript, documentation not withstandanding, does not depend on htmlgen
Marco Baringer [Mon, 15 Aug 2005 08:00:53 +0000 (08:00 +0000)]
Parenscript, documentation not withstandanding, does not depend on htmlgen

18 years agoAttempt to improve the conversion of (js ((lambda ...) ...))
Marco Baringer [Mon, 15 Aug 2005 07:49:02 +0000 (07:49 +0000)]
Attempt to improve the conversion of (js ((lambda ...) ...))

18 years agoIntroduce the JS-LAMBDA class. Make JS-DEFUN a subclass of JS-LAMBDA
Marco Baringer [Mon, 15 Aug 2005 07:48:36 +0000 (07:48 +0000)]
Introduce the JS-LAMBDA class. Make JS-DEFUN a subclass of JS-LAMBDA

18 years agoImplement JS and JS-INLINE in terms of JS* and JS-INLINE*
Marco Baringer [Mon, 15 Aug 2005 06:39:21 +0000 (06:39 +0000)]
Implement JS and JS-INLINE in terms of JS* and JS-INLINE*

18 years agoSymbols starting with #\: are left as is, no case conversion or other mangling
Marco Baringer [Sun, 14 Aug 2005 14:16:29 +0000 (14:16 +0000)]
Symbols starting with #\: are left as is, no case conversion or other mangling

18 years agoAdded JS* and JS-INLINE*.
Marco Baringer [Sun, 14 Aug 2005 13:45:34 +0000 (13:45 +0000)]
Added JS* and JS-INLINE*.

18 years agoJavascript strings need to be quated with ' and not " to avoid interfering with the...
Marco Baringer [Sun, 14 Aug 2005 13:43:44 +0000 (13:43 +0000)]
Javascript strings need to be quated with ' and not " to avoid interfering with the surrounding HTML.

18 years agoUgly hack to support ((lambda ...) ...)
Marco Baringer [Sat, 13 Aug 2005 14:20:23 +0000 (14:20 +0000)]
Ugly hack to support ((lambda ...) ...)

18 years agoMention that I'm maintaining this version of parenscript
Marco Baringer [Sat, 13 Aug 2005 13:52:38 +0000 (13:52 +0000)]
Mention that I'm maintaining this version of parenscript

18 years agoRename the system/package in the system definition.
Marco Baringer [Sat, 13 Aug 2005 13:51:07 +0000 (13:51 +0000)]
Rename the system/package in the system definition.

Just renaming the file doesn't cut it :(.

18 years agoAdded images used in documentation
Marco Baringer [Sat, 13 Aug 2005 13:44:41 +0000 (13:44 +0000)]
Added images used in documentation

18 years agoAdded the pbook.py file used to generate the documentation
Marco Baringer [Sat, 13 Aug 2005 13:37:32 +0000 (13:37 +0000)]
Added the pbook.py file used to generate the documentation

18 years agoAdded declare ignore forms for unused function arguments
Marco Baringer [Mon, 8 Aug 2005 15:48:43 +0000 (15:48 +0000)]
Added declare ignore forms for unused function arguments

18 years agoRename system def
Marco Baringer [Mon, 8 Aug 2005 15:48:36 +0000 (15:48 +0000)]
Rename system def

18 years agoSetup boringfile
Marco Baringer [Tue, 26 Jul 2005 10:05:49 +0000 (10:05 +0000)]
Setup boringfile

18 years agoAdded files from parenscript 0.1.0 as distributed by Manuel Odendahl
Marco Baringer [Tue, 26 Jul 2005 10:04:16 +0000 (10:04 +0000)]
Added files from parenscript 0.1.0 as distributed by Manuel Odendahl

18 years agoInitial commit.
Travis Cross [Tue, 26 Jul 2005 10:04:16 +0000 (10:04 +0000)]
Initial commit.