aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* tests: 7 through 8 working.Kaz Kylheku2023-05-281-15/+14
| | | | * test/simple.tl: Port tests 7 through 8 and move (exit).
* Fix attribute bugs: tests 1 to 7 working.Kaz Kylheku2023-05-282-44/+46
| | | | | | | | | | | * who.tl (convert-attributes): In the run-time case, we must generate code to print the calculated string, not just to calculate it. (convert-tag-to-string-list): Test the original tag keyword against the *html-empty-tags*, not the transformed string. * test/simple.tl: Port and enable tests 1 to 7.
* Starting TL-WHO tests.Kaz Kylheku2023-05-281-14/+26
| | | | | | | * test/simple: renamed to simple.tl. Just a self-contained file we can run. The first test has been rewritten to TL. After that we (exit). The first test is failing; it is not rendering any attributes.
* Add markdown README.Kaz Kylheku2023-05-283-0/+168
| | | | | | * README.md, LICENSE: New files. * who.tl: Add copyright notice.
* Fix (htm ...) output resetting indentation to zero.Kaz Kylheku2023-05-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is an issue present in the original Common Lisp implementation. When the (htm ...) inner macros are being expanded, they are not receiving the *indent* level. We address this by adding yet another unreleased feature to TXR Lisp that will appear in TXR 287: expander-let. * who.tl (tree-to-template): Here, instead of generating a ^(let ((*indent* , *indent*)) ...) which does nothing, we use expander-let. All the expansion of the structured code to HTML text fragments happens at macro-expansion time. But macro-expansion time will not execute a binding form like (let ((*indent* <value>)) ...). It will just expand it! The (htm ...) subforms get expanded in a context in which all the functions that expanded the outer macro have already terminated and undone their own local binding of *indent*. The expander-let construct causes the macro expander itself to do the binding. So it will pick up the indentation where the previous expansion pass left off. (with-html-output): The previous fix isn't enough, because the way the local html macro is defined also wrecks indentation. htm expands to an invocation of with-html-output which copies the :indent argument value from the surrouning with-html-output. If that is 0 or t, it will reset the indentation to zero. The htm macro should just leave the indentation alone; not pass that keyword argument so that the current *indent* value gets propagated.
* First cut at TXR Lisp translation.Kaz Kylheku2023-05-288-759/+455
| | | | | | This relies on an improvement in TXR Lisp that will be released in TXR 287: parameter macros like :key being expanded inside nested macro parameter lists.
* Fix keyword bloating in DEFPACKAGE clauses (#33)masterKilian M. Haemmerle2022-02-232-30/+30
| | | | | * Fix keyword bloating in DEFPACKAGE :EXPORT clauses * Fix keyword bloating in DEFPACKAGE :SHADOW clause
* downcase a tag only when it is in the same case (useful for some camel case ↵Manuel Giraud2019-06-073-6/+17
| | | | XML tags).
* Adapt defconstant for clasp (behaving like sbcl)Karsten Poeck2019-05-212-3/+3
|
* Update index.htmlStas Boukarev2019-01-121-1/+1
|
* Stop listing usersStas Boukarev2019-01-121-9/+6
| | | Can't keep up with them going away and listing new ones.
* moved doc/ to docs/Vityok2017-12-211-0/+0
|
* Add license information to the ASDF filePhilipp Marek2017-01-191-0/+1
|
* Fix a typo in the documentation.Stas Boukarev2016-10-041-1/+1
| | | | Reported by @gptix in #21
* Update documentation for *empty-attribute-syntax*Knut Olav Bøhmer2016-07-291-2/+17
|
* Special variable to enable empty attribute syntaxKnut Olav Bøhmer2016-07-293-12/+21
| | | | | See https://www.w3.org/TR/html-markup/syntax.html#syntax-attr-empty for spesification.
* release 1.1.4Hans Huebner2014-11-282-1/+5
|
* update support infoHans Huebner2014-11-281-11/+9
|
* release 1.1.3Hans Huebner2013-11-170-0/+0
|
* bump version numbers againHans Huebner2013-11-173-2/+6
|
* Merge pull request #15 from stassats/masterHans Hübner2013-11-171-0/+1
|\ | | | | Add a type-check for a stream in with-html-output.
| * Add a type-check for a stream in with-html-output.Stas Boukarev2013-11-171-0/+1
|/ | | | Avoids confusion caused in Issue #14.
* release 1.1.2Hans Huebner2013-11-170-0/+0
|
* bump version numberHans Huebner2013-11-173-2/+7
|
* Merge branch 'master' of github.com:edicl/cl-whoHans Huebner2013-11-171-1/+1
|\
| * Merge pull request #13 from jkcunningham/masterHans Hübner2013-11-171-1/+1
| |\ | | | | | | Adding missing comma
| | * Added missing comma to fmt attrJeffrey Cunningham2013-03-011-1/+1
| |/
* / fix a style-warningHans Huebner2012-12-271-1/+2
|/
* release 1.1.1Hans Huebner2012-09-040-0/+0
|
* fix file modeHans Huebner2012-09-041-0/+0
|
* update versionHans Huebner2012-09-041-1/+1
|
* update versionHans Huebner2012-09-041-1/+1
|
* update changelogHans Huebner2012-09-041-1/+5
|
* Fix problems with declaration processing (Stas Boukarev)Hans Huebner2012-09-042-3/+8
|
* release 1.1.0Hans Huebner2012-09-020-0/+0
|
* release 1.1.0Hans Huebner2012-09-020-0/+0
|
* release 1.1.0Hans Huebner2012-09-020-0/+0
|
* release 1.1.0Hans Huebner2012-09-020-0/+0
|
* update version number in .asd fileHans Huebner2012-09-021-1/+1
|
* doc & CHANGELOG update for release 1.1.0Hans Huebner2012-09-022-12/+9
|
* update CHANGELOGHans Huebner2012-05-011-1/+7
|
* changed the implementation of extract-declarations as per Hans request - to ↵Ala'a Mohammad Alawi2012-05-011-9/+7
| | | | be more readable/easier to reason about.
* corrected a typo, and changed the implementation of extract declarations ↵Ala'a Mohammad Alawi2012-05-011-7/+9
| | | | from using cl:do to using cl:loop
* declaration are supported per cl-who docs. This patch detect them and put ↵Ala'a Mohammad Alawi2012-04-272-2/+16
| | | | them in proper place
* Merge pull request #5 from nikodemus/masterHans Hübner2012-04-102-46/+62
|\ | | | | Documentation updates for Nikodemus' changes
| * document *HTML-NO-INDENT-TAGS*Nikodemus Siivola2012-04-101-12/+27
| |
| * order special variables in the documentation alphabeticallyNikodemus Siivola2012-04-101-10/+10
| |
| * delete trailing whitespace from documentationNikodemus Siivola2012-04-101-22/+22
| |
| * add :TEXTAREA to *HTML-NO-INDENT-TAGS*Nikodemus Siivola2012-04-101-2/+3
| | | | | | | | Also make the docstring follow the phrasing used elsewhere more closely.
* | Merge pull request #4 from nikodemus/masterHans Hübner2012-04-104-17/+55
|\| | | | | Test portability fixes / indentation suppression from Nikodemus