summary refs log tree commit diff
path: root/bin/hilex (follow)
Commit message (Collapse)AuthorAge
* Clean up make lexerJune McEnroe2021-01-02
| | | | Still feels pretty messy though.
* Tag top-level typedefs the same way as function definitionsJune McEnroe2021-01-02
|
* Add make lexerJune McEnroe2020-12-29
| | | | | This is kind of a mess and needs to be cleaned up against more careful reading of the make grammar.
* Clean up C lexerJune McEnroe2020-12-29
| | | | This ordering of rules feels much cleaner.
* Clean up hilex code somewhatJune McEnroe2020-12-29
|
* Match lex/yacc %% %{ %} lines as MacroJune McEnroe2020-12-29
|
* Match top-level C definitions as IdentifierTagJune McEnroe2020-12-29
|
* Match C type declarations as IdentifierTagJune McEnroe2020-12-29
|
* Match function-like macro definitions as IdentifierTagJune McEnroe2020-12-29
|
* Reconfigure C macro start conditionsJune McEnroe2020-12-29
|
* Document HTML class namesJune McEnroe2020-12-29
|
* Rename Tag class to IdentifierTagJune McEnroe2020-12-29
|
* Change HTML class from hi to hilexJune McEnroe2020-12-29
| | | | You can tell I was just copying the HTML code huh.
* Add hilex HTML outputJune McEnroe2020-12-29
|
* Add hilex manual pageJune McEnroe2020-12-29
|
* Match Objective-C #import in C lexerJune McEnroe2020-12-29
|
* Add hilex IRC formatterJune McEnroe2020-12-28
|
* Generate Tag tokens for mdoc headingsJune McEnroe2020-12-28
|
* Add mdoc lexerJune McEnroe2020-12-28
|
* Lex strings inside macrosJune McEnroe2020-12-28
|
* Add initial version of hilexJune McEnroe2020-12-28
hilex is meant to replace hi, based on lex rather than a mess of overlapping regexps. I want to preserve hi's tagging abilities, but that will require some amount of parsing/post-processing, which I'm not sure how to approach yet. Macro lexing for C still needs work, as I want to match strings and comments inside macros.
/commit/bin/hi.c?id=9de0fd86e861c2b3a06a0d9ac7063a428d8a691c&follow=1'>Fix matching make tags with no sourcesJune McEnroe 2019-12-19Avoid matching := assignments as tagsJune McEnroe 2019-12-18Hide line numbers when rendering mdocJune McEnroe Hack: output an extra <td> after rendering mdoc so that line numbers can be hidden based on there being three. This required splitting source-filter and about-filter since on about pages there is no table. 2019-12-18Customize cgit CSSJune McEnroe 2019-12-18Use :target rather than :focus pseudo-classJune McEnroe :target persists after you click on something else. 2019-12-18Copy cgit auxiliary binaries properlyJune McEnroe 2019-12-18Add git.causal.agency cgit configJune McEnroe 2019-12-18Bail from hi if input is binaryJune McEnroe NULs in the input cause an infinite loop in htmlEscape, not to mention regexes obviously not working, etc. 2019-12-16Post "cgit setup"June McEnroe