https://github.com/gered/prism4j-languages
An assortment of pre-packaged language grammars for use with Prism4j, for my own personal use.
https://github.com/gered/prism4j-languages
Last synced: about 1 month ago
JSON representation
An assortment of pre-packaged language grammars for use with Prism4j, for my own personal use.
- Host: GitHub
- URL: https://github.com/gered/prism4j-languages
- Owner: gered
- License: apache-2.0
- Created: 2022-01-17T22:43:02.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-01-17T22:51:19.000Z (over 4 years ago)
- Last Synced: 2025-07-20T05:47:21.242Z (11 months ago)
- Language: Java
- Size: 30.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Prism4j Pre-packaged Language Grammars
This is a library that I threw together quickly to make it easier to quickly get a bunch of [Prism4j](https://github.com/noties/Prism4j)
languages up and running in my own personal projects which use Prism4j. This is to replace the somewhat weird "bundler"
thing that Prism4j has.
Plus, I've manually ported over some language definitions from [prism-js](https://prismjs.com/) to meet my own needs.
## Maven
```xml
ca.blarg
prism4j-languages
1.0.0
```
## Usage
Either use the `GrammarLocator` provided by this library (`ca.blarg.prism4j.languages.Prism4jGrammarLocator`) during
construction of your `Prism4j` object, or create a new one and add all the languages you want from this library found
under the `ca.blarg.prism4j.languages` package.