./textproc/hs-skylighting-core, Syntax highlighting library core

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.14.6nb3, Package name: hs-skylighting-core-0.14.6nb3, Maintainer: pho

Skylighting is a syntax highlighting library. It derives its
tokenizers from XML syntax definitions used by KDE's
KSyntaxHighlighting framework, so any syntax supported by that
framework can be added. An optional command-line program is
provided. Skylighting is intended to be the successor to
highlighting-kate. This package provides the core highlighting
functionality under a permissive license.


Required to run:
[devel/hs-utf8-string] [converters/hs-base64-bytestring] [devel/hs-safe] [textproc/hs-case-insensitive] [textproc/hs-attoparsec] [converters/hs-aeson] [devel/hs-colour] [textproc/hs-xml-conduit] [lang/ghc94]

Master sites:

Filesize: 893.045 KB

Version history: (Expand)


CVS history: (Expand)


   2025-08-13 13:07:47 by Masatake Daimon | Files touched by this commit (1263)
Log message:
Bump all Haskell because lang/ghc910 has got a library change
   2025-03-05 04:40:14 by Masatake Daimon | Files touched by this commit (1173)
Log message:
recursive revbump after patching lang/ghc910
   2025-02-02 14:06:08 by Masatake Daimon | Files touched by this commit (1173)
Log message:
Bump all Haskell packages after switching the default compiler.
   2025-01-30 13:28:55 by Masatake Daimon | Files touched by this commit (3) | Package updated
Log message:
textproc/hs-skylighting-core: update to skylighting-core-0.14.6

## 0.14.6

  * Export Skylighting.Format.Typst from Skylighting [API change] (#201).
    Allow typst as an output format in the cli executable.

## 0.14.5

  * Update xml syntax definitions for bash, cmake, commonlisp, isocpp,
    javascript-react, julia, latex, lua, markdown, modelines, nix, orgmode,
    php, python, rhtml, ruby, swift, xml, yaml, zig, zsh. Add odin (required
    by orgmode).

  * Update JSON syntax definition from upstream. (#203)

## 0.14.4

  * Add `gdscript`, `typst`, `tlaplus` syntax (#184, #199).

## 0.14.3

  * Add crystal, racket, zip syntax (#194).

## 0.14.2

  * Add `loadValidSyntaxesFromDir` (Kevin Quick) [API change].
    The `loadSyntaxesFromDir` function is an all-or-nothing function:
    a single invalid file results in a error and *no* loaded syntaxes.
    This adds the `loadValidSyntaxesFromDir`, which is resilient
    against individual syntax file load failures.  It returns a map
    of the failure messages, and the SyntaxMap that is created from
    all the successful parsing.

## 0.14.1.2

  * Add terraform syntax (#190).
   2024-05-09 03:32:57 by Masatake Daimon | Files touched by this commit (1137)
Log message:
Recursive revbump after changing the default Haskell compiler
   2023-11-02 07:37:49 by Masatake Daimon | Files touched by this commit (1141)
Log message:
Revbump all Haskell after updating lang/ghc96
   2023-10-30 13:59:07 by Masatake Daimon | Files touched by this commit (4) | Package updated
Log message:
textproc/hs-skylighting-core: Update to 0.14

0.14
* Add rWeakDeliminators field to Rule. [API change]
* Make WordDetect sensitive to weakDeliminator. This fixes parsing of
  floats beginning with '0.' in C (#174).
* Add debiancontrol syntax (#173).

0.13.4.1
* Update syntax definitions: ada, bash, cmake, css, html, isocpp, java,
  javascript, kotlin, latex, makefile, markdown, php, python, qml, r, sass,
  scss, typescript, zsh.
* Don't require word boundary at end of Int, Float, HlCHex, HlCOct
  (#170). KDE does not. This fixes things like 7L in R.

0.13.4
* Add dosbat syntax (MS DOS batch file) (#169).
* Derive Bounded Instance for TokenType (#168, Pavan Pikhi). Add Bounded to
  the derived instances for the TokenType type. This allows consumers to
  use [minBound .. maxBound] to generate a list of all token types when
  writing a Style.
* Require xml-conduit >= 1.9.1.3. This fixes a bug that prevents parsing
  certain DOCTYPE declarations, e.g. in agda.xml.
* Updated cmake syntax definition.

0.13.3
* Add gap language (#167).
* Update syntax definitions.
* Add patches for agda.xml and dtd.xml, to wor around a bug in xml-conduit:
  https://github.com/snoyberg/xml/pull/187
* Store compiled regexes in RE (#166, Jonathan Coates). This changes the RE
  type to (lazily) compile the regex when constructed, rather than in the
  tokenizer. This allows us to avoid re-compiling regexes for each separate
  tokenize call, instead sharing them globally. We try to hide the
  internals of this, exposing the previous interface (RE { reString,
  reCaseSensitive }) with pattern synonyms.
* ConTeXt: fix handling of spaces in non-normal tokens (Albert
  Krewinkel). This ensures that multiple spaces won't be collapsed into a
  single space.

0.13.2.1
* Update tango style for new token types (#164). The original tango style
  didn't have colors defined for many token types that have been added
  since it was added. This commit updates the style to support them. Thanks
  to @danbraswell for providing the values needed.
   2023-10-09 06:55:01 by Masatake Daimon | Files touched by this commit (988)
Log message:
Bump Haskell packages after updating lang/ghc94