aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix class/attribute mixup bugjturtle 2023-10-021-1/+4
| | | | | | | | | | | | | | | | | | There's a bug in the current version of GSP where an element like this: p .class attribute="value" {-} would be transpiled as this: <p class="value" attribute="value"></p> The `classes` slice in `func printAttrs` (`formatter.go`, line 50) was the cause. I fixed it by making a deep copy of the `attrs` slice. I'm not a Go programmer, there might be a nicer way to make a deep copy of a slice. But it does, indeed, work. P.S. thanks for making this, writing HTML by hand is now slightly less painful!
* Bump manual datev1.0.0Thomas Voss 2023-09-111-1/+1
| | | | I forgot to update the date last time I changed this.
* Minor refactoringThomas Voss 2023-09-111-15/+10
|
* Correct errors in READMEThomas Voss 2023-09-111-4/+4
|
* Run ‘go fmt’Thomas Voss 2023-09-111-9/+9
|
* Add the ‘=’ node for whitespace trimmingThomas Voss 2023-09-113-53/+38
|
* Wrap example code to 73 columnsThomas Voss 2023-09-111-8/+9
| | | | | | Normally I wrap code and stuff to 80 columns, but I’m going to use 73 for the examples in the manuals as manual page readers are probably indenting stuff quite a bit.
* Fix invalid markup in exampleThomas Voss 2023-09-111-4/+7
|
* Add the ‘>’ node modifierThomas Voss 2023-09-113-29/+65
|
* Specify constant typeThomas Voss 2023-09-111-1/+1
|
* Fix a panicThomas Voss 2023-09-101-1/+1
|
* Remove useless escapesThomas Voss 2023-09-101-3/+3
|
* Support multiple root-level nodesThomas Voss 2023-09-101-10/+19
|
* Add a ‘Documentation’ section to the READMEThomas Voss 2023-09-101-0/+5
|
* Remove all XML supportThomas Voss 2023-09-106-150/+42
|
* Add the ‘-x’ command-line optionThomas Voss 2023-09-104-3/+26
|
* Rework some of the formatting- and parsing codeThomas Voss 2023-09-103-86/+95
|
* Write the initial gsp(5) manualThomas Voss 2023-09-101-1/+267
|
* Bump dateThomas Voss 2023-09-101-1/+1
|
* Mention XML in the READMEThomas Voss 2023-09-101-0/+5
|
* Update manual with XML informationThomas Voss 2023-09-101-4/+13
|
* Add a skeleton for an initial gsp(5)Thomas Voss 2023-09-091-0/+11
|
* Install gsp(5) manualThomas Voss 2023-09-091-1/+4
|
* Remove slashThomas Voss 2023-09-091-1/+1
|
* Add an initial manual page for gsp(1)Thomas Voss 2023-09-091-0/+41
|
* Add new doctype syntax to READMEThomas Voss 2023-09-091-0/+2
|
* Add primitive support for doctypes and XMLThomas Voss 2023-09-092-16/+104
|
* Fix bug when key has no valueThomas Voss 2023-09-091-1/+1
|
* Add a READMEThomas Voss 2023-09-091-0/+53
|
* Fix MakefileThomas Voss 2023-09-091-1/+6
|
* Support reading from stdin and multiple inputsThomas Voss 2023-09-091-7/+21
|
* Run ‘go fmt’Thomas Voss 2023-09-092-15/+18
|
* Consistent code styleThomas Voss 2023-09-091-1/+1
|
* Add a MakefileThomas Voss 2023-09-091-0/+13
|
* Simplify ‘die()’Thomas Voss 2023-09-091-6/+2
|
* Genesis commitThomas Voss 2023-09-088-0/+594