Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Comment parser.go | Thomas Voss | 2023-10-21 | 1 | -2/+20 |
| | |||||
* | Add tests for the formatter | Thomas Voss | 2023-10-21 | 1 | -0/+258 |
| | |||||
* | Escape runes in class names | Thomas Voss | 2023-10-21 | 1 | -8/+12 |
| | | | | | | I cannot think of a single situation where you’d ever end up in this situation, and I also am not even sure if it’s even meant to be legal HTML. Better to be on the safe side I guess. | ||||
* | Add tests for reader.go | Thomas Voss | 2023-10-20 | 1 | -0/+178 |
| | |||||
* | Document reader.go | Thomas Voss | 2023-10-20 | 1 | -0/+18 |
| | |||||
* | Improve the implementation of peekRune() | Thomas Voss | 2023-10-20 | 1 | -17/+12 |
| | |||||
* | Make use of the ‘./...’ wildcard | Thomas Voss | 2023-10-20 | 1 | -1/+1 |
| | |||||
* | Add a target to run tests | Thomas Voss | 2023-10-20 | 1 | -0/+3 |
| | |||||
* | Mark Makefile as being POSIX compliant | Thomas Voss | 2023-10-20 | 1 | -0/+2 |
| | |||||
* | Fix printing classes and attrsv1.0.2 | jturtle | 2023-10-20 | 1 | -1/+1 |
| | | | | | | | | | Well well well, here we are again. Iterate over the `nClasses` list instead of every attr after printing the classes. With all due respect, you should consider writing a test suite to catch silly errors like this. | ||||
* | Don’t use lambdas, and just use a damn for-loop | Thomas Voss | 2023-10-10 | 1 | -9/+10 |
| | |||||
* | Detail how to have empty non-void tagsv1.0.1 | Thomas Voss | 2023-10-02 | 1 | -1/+10 |
| | |||||
* | Remove whitespace | Thomas Voss | 2023-10-02 | 1 | -2/+0 |
| | |||||
* | Fix class/attribute mixup bug | jturtle | 2023-10-02 | 1 | -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.0 | Thomas Voss | 2023-09-11 | 1 | -1/+1 |
| | | | | I forgot to update the date last time I changed this. | ||||
* | Minor refactoring | Thomas Voss | 2023-09-11 | 1 | -15/+10 |
| | |||||
* | Correct errors in README | Thomas Voss | 2023-09-11 | 1 | -4/+4 |
| | |||||
* | Run ‘go fmt’ | Thomas Voss | 2023-09-11 | 1 | -9/+9 |
| | |||||
* | Add the ‘=’ node for whitespace trimming | Thomas Voss | 2023-09-11 | 3 | -53/+38 |
| | |||||
* | Wrap example code to 73 columns | Thomas Voss | 2023-09-11 | 1 | -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 example | Thomas Voss | 2023-09-11 | 1 | -4/+7 |
| | |||||
* | Add the ‘>’ node modifier | Thomas Voss | 2023-09-11 | 3 | -29/+65 |
| | |||||
* | Specify constant type | Thomas Voss | 2023-09-11 | 1 | -1/+1 |
| | |||||
* | Fix a panic | Thomas Voss | 2023-09-10 | 1 | -1/+1 |
| | |||||
* | Remove useless escapes | Thomas Voss | 2023-09-10 | 1 | -3/+3 |
| | |||||
* | Support multiple root-level nodes | Thomas Voss | 2023-09-10 | 1 | -10/+19 |
| | |||||
* | Add a ‘Documentation’ section to the README | Thomas Voss | 2023-09-10 | 1 | -0/+5 |
| | |||||
* | Remove all XML support | Thomas Voss | 2023-09-10 | 6 | -150/+42 |
| | |||||
* | Add the ‘-x’ command-line option | Thomas Voss | 2023-09-10 | 4 | -3/+26 |
| | |||||
* | Rework some of the formatting- and parsing code | Thomas Voss | 2023-09-10 | 3 | -86/+95 |
| | |||||
* | Write the initial gsp(5) manual | Thomas Voss | 2023-09-10 | 1 | -1/+267 |
| | |||||
* | Bump date | Thomas Voss | 2023-09-10 | 1 | -1/+1 |
| | |||||
* | Mention XML in the README | Thomas Voss | 2023-09-10 | 1 | -0/+5 |
| | |||||
* | Update manual with XML information | Thomas Voss | 2023-09-10 | 1 | -4/+13 |
| | |||||
* | Add a skeleton for an initial gsp(5) | Thomas Voss | 2023-09-09 | 1 | -0/+11 |
| | |||||
* | Install gsp(5) manual | Thomas Voss | 2023-09-09 | 1 | -1/+4 |
| | |||||
* | Remove slash | Thomas Voss | 2023-09-09 | 1 | -1/+1 |
| | |||||
* | Add an initial manual page for gsp(1) | Thomas Voss | 2023-09-09 | 1 | -0/+41 |
| | |||||
* | Add new doctype syntax to README | Thomas Voss | 2023-09-09 | 1 | -0/+2 |
| | |||||
* | Add primitive support for doctypes and XML | Thomas Voss | 2023-09-09 | 2 | -16/+104 |
| | |||||
* | Fix bug when key has no value | Thomas Voss | 2023-09-09 | 1 | -1/+1 |
| | |||||
* | Add a README | Thomas Voss | 2023-09-09 | 1 | -0/+53 |
| | |||||
* | Fix Makefile | Thomas Voss | 2023-09-09 | 1 | -1/+6 |
| | |||||
* | Support reading from stdin and multiple inputs | Thomas Voss | 2023-09-09 | 1 | -7/+21 |
| | |||||
* | Run ‘go fmt’ | Thomas Voss | 2023-09-09 | 2 | -15/+18 |
| | |||||
* | Consistent code style | Thomas Voss | 2023-09-09 | 1 | -1/+1 |
| | |||||
* | Add a Makefile | Thomas Voss | 2023-09-09 | 1 | -0/+13 |
| | |||||
* | Simplify ‘die()’ | Thomas Voss | 2023-09-09 | 1 | -6/+2 |
| | |||||
* | Genesis commit | Thomas Voss | 2023-09-08 | 8 | -0/+594 |