Skip to content

Commit

Permalink
Add categories to a lot of uncategorized grammars
Browse files Browse the repository at this point in the history
  • Loading branch information
allejo committed Nov 13, 2023
1 parent bc3ed30 commit 7bcf01e
Show file tree
Hide file tree
Showing 54 changed files with 54 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/languages/abnf.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Language: Augmented Backus-Naur Form
Author: Alex McKibben <alex@nullscope.net>
Website: https://tools.ietf.org/html/rfc5234
Category: syntax
Audit: 2020
*/

Expand Down
1 change: 1 addition & 0 deletions src/languages/arduino.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Language: Arduino
Author: Stefania Mellai <s.mellai@arduino.cc>
Description: The Arduino® Language is a superset of C++. This rules are designed to highlight the Arduino® source code. For info about language see http://www.arduino.cc.
Website: https://www.arduino.cc
Category: system
*/

import cPlusPlus from './cpp.js';
Expand Down
1 change: 1 addition & 0 deletions src/languages/aspectj.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Language: AspectJ
Author: Hakan Ozler <ozler.hakan@gmail.com>
Website: https://www.eclipse.org/aspectj/
Description: Syntax Highlighting for the AspectJ Language which is a general-purpose aspect-oriented extension to the Java programming language.
Category: system
Audit: 2020
*/

Expand Down
1 change: 1 addition & 0 deletions src/languages/awk.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Language: Awk
Author: Matthew Daly <matthewbdaly@gmail.com>
Website: https://www.gnu.org/software/gawk/manual/gawk.html
Description: language definition for Awk scripts
Category: scripting
*/

/** @type LanguageFn */
Expand Down
2 changes: 1 addition & 1 deletion src/languages/bash.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Language: Bash
Author: vah <vahtenberg@gmail.com>
Contributrors: Benjamin Pannell <contact@sierrasoftworks.com>
Website: https://www.gnu.org/software/bash/
Category: common
Category: common, scripting
*/

/** @type LanguageFn */
Expand Down
1 change: 1 addition & 0 deletions src/languages/basic.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Language: BASIC
Author: Raphaël Assénat <raph@raphnet.net>
Description: Based on the BASIC reference from the Tandy 1000 guide
Website: https://en.wikipedia.org/wiki/Tandy_1000
Category: system
*/

/** @type LanguageFn */
Expand Down
1 change: 1 addition & 0 deletions src/languages/bnf.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
Language: Backus–Naur Form
Website: https://en.wikipedia.org/wiki/Backus–Naur_form
Category: syntax
Author: Oleg Efimov <efimovov@gmail.com>
*/

Expand Down
1 change: 1 addition & 0 deletions src/languages/cal.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Language: C/AL
Author: Kenneth Fuglsang Christensen <kfuglsang@gmail.com>
Description: Provides highlighting of Microsoft Dynamics NAV C/AL code files
Website: https://docs.microsoft.com/en-us/dynamics-nav/programming-in-c-al
Category: enterprise
*/

/** @type LanguageFn */
Expand Down
1 change: 1 addition & 0 deletions src/languages/ceylon.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Language: Ceylon
Author: Lucas Werkmeister <mail@lucaswerkmeister.de>
Website: https://ceylon-lang.org
Category: system
*/

/** @type LanguageFn */
Expand Down
1 change: 1 addition & 0 deletions src/languages/cmake.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Language: CMake
Description: CMake is an open-source cross-platform system for build automation.
Author: Igor Kalnitsky <igor@kalnitsky.org>
Website: https://cmake.org
Category: build-system
*/

/** @type LanguageFn */
Expand Down
1 change: 1 addition & 0 deletions src/languages/crystal.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Language: Crystal
Author: TSUYUSATO Kitsune <make.just.on@gmail.com>
Website: https://crystal-lang.org
Category: system
*/

/** @type LanguageFn */
Expand Down
1 change: 1 addition & 0 deletions src/languages/csp.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Language: CSP
Description: Content Security Policy definition highlighting
Author: Taras <oxdef@oxdef.info>
Website: https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP
Category: web
vim: ts=2 sw=2 st=2
*/
Expand Down
1 change: 1 addition & 0 deletions src/languages/d.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Author: Aleksandar Ruzicic <aleksandar@ruzicic.info>
Description: D is a language with C-like syntax and static typing. It pragmatically combines efficiency, control, and modeling power, with safety and programmer productivity.
Version: 1.0a
Website: https://dlang.org
Category: system
Date: 2012-04-08
*/

Expand Down
1 change: 1 addition & 0 deletions src/languages/delphi.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
Language: Delphi
Website: https://www.embarcadero.com/products/delphi
Category: system
*/

/** @type LanguageFn */
Expand Down
1 change: 1 addition & 0 deletions src/languages/dos.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Language: Batch file (DOS)
Author: Alexander Makarov <sam@rmcreative.ru>
Contributors: Anton Kochkov <anton.kochkov@gmail.com>
Website: https://en.wikipedia.org/wiki/Batch_file
Category: scripting
*/

/** @type LanguageFn */
Expand Down
1 change: 1 addition & 0 deletions src/languages/ebnf.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Language: Extended Backus-Naur Form
Author: Alex McKibben <alex@nullscope.net>
Website: https://en.wikipedia.org/wiki/Extended_Backus–Naur_form
Category: syntax
*/

/** @type LanguageFn */
Expand Down
1 change: 1 addition & 0 deletions src/languages/excel.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Language: Excel formulae
Author: Victor Zhou <OiCMudkips@users.noreply.github.com>
Description: Excel formulae
Website: https://products.office.com/en-us/excel/
Category: enterprise
*/

/** @type LanguageFn */
Expand Down
1 change: 1 addition & 0 deletions src/languages/gcode.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Contributors: Adam Joseph Cook <adam.joseph.cook@gmail.com>
Description: G-code syntax highlighter for Fanuc and other common CNC machine tool controls.
Website: https://www.sis.se/api/document/preview/911952/
Category: hardware
*/

export default function(hljs) {
Expand Down
1 change: 1 addition & 0 deletions src/languages/golo.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Language: Golo
Author: Philippe Charriere <ph.charriere@gmail.com>
Description: a lightweight dynamic language for the JVM
Website: http://golo-lang.org/
Category: system
*/

export default function(hljs) {
Expand Down
1 change: 1 addition & 0 deletions src/languages/gradle.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Language: Gradle
Description: Gradle is an open-source build automation tool focused on flexibility and performance.
Website: https://gradle.org
Author: Damian Mee <mee.damian@gmail.com>
Category: build-system
*/

export default function(hljs) {
Expand Down
1 change: 1 addition & 0 deletions src/languages/groovy.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Author: Guillaume Laforge <glaforge@gmail.com>
Description: Groovy programming language implementation inspired from Vsevolod's Java mode
Website: https://groovy-lang.org
Category: system
*/

function variants(variants, obj = {}) {
Expand Down
1 change: 1 addition & 0 deletions src/languages/haxe.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Description: Haxe is an open source toolkit based on a modern, high level, stric
Author: Christopher Kaster <ikasoki@gmail.com> (Based on the actionscript.js language file by Alexander Myadzel)
Contributors: Kenton Hamaluik <kentonh@gmail.com>
Website: https://haxe.org
Category: system
*/

export default function(hljs) {
Expand Down
1 change: 1 addition & 0 deletions src/languages/inform7.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Language: Inform 7
Author: Bruno Dias <bruno.r.dias@gmail.com>
Description: Language definition for Inform 7, a DSL for writing parser interactive fiction.
Website: http://inform7.com
Category: gaming
*/

export default function(hljs) {
Expand Down
1 change: 1 addition & 0 deletions src/languages/julia-repl.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Description: Julia REPL sessions
Author: Morten Piibeleht <morten.piibeleht@gmail.com>
Website: https://julialang.org
Requires: julia.js
Category: system
The Julia REPL code blocks look something like the following:
Expand Down
1 change: 1 addition & 0 deletions src/languages/julia.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Description: Julia is a high-level, high-performance, dynamic programming langua
Author: Kenta Sato <bicycle1885@gmail.com>
Contributors: Alex Arslan <ararslan@comcast.net>, Fredrik Ekre <ekrefredrik@gmail.com>
Website: https://julialang.org
Category: system
*/

export default function(hljs) {
Expand Down
1 change: 1 addition & 0 deletions src/languages/lasso.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Language: Lasso
Author: Eric Knibbe <eric@lassosoft.com>
Description: Lasso is a language and server platform for database-driven web applications. This definition handles Lasso 9 syntax and LassoScript for Lasso 8.6 and earlier.
Website: http://www.lassosoft.com/What-Is-Lasso
Category: database, web
*/

export default function(hljs) {
Expand Down
2 changes: 1 addition & 1 deletion src/languages/lua.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Language: Lua
Description: Lua is a powerful, efficient, lightweight, embeddable scripting language.
Author: Andrew Fedorov <dmmdrs@mail.ru>
Category: common, scripting
Category: common, gaming, scripting
Website: https://www.lua.org
*/

Expand Down
2 changes: 1 addition & 1 deletion src/languages/makefile.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Language: Makefile
Author: Ivan Sagalaev <maniac@softwaremaniacs.org>
Contributors: Joël Porquet <joel@porquet.org>
Website: https://www.gnu.org/software/make/manual/html_node/Introduction.html
Category: common
Category: common, build-system
*/

export default function(hljs) {
Expand Down
1 change: 1 addition & 0 deletions src/languages/mercury.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Language: Mercury
Author: mucaho <mkucko@gmail.com>
Description: Mercury is a logic/functional programming language which combines the clarity and expressiveness of declarative programming with advanced static analysis and error detection features.
Website: https://www.mercurylang.org
Category: functional
*/

export default function(hljs) {
Expand Down
1 change: 1 addition & 0 deletions src/languages/monkey.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Language: Monkey
Description: Monkey2 is an easy to use, cross platform, games oriented programming language from Blitz Research.
Author: Arthur Bikmullin <devolonter@gmail.com>
Website: https://blitzresearch.itch.io/monkey2
Category: gaming
*/

export default function(hljs) {
Expand Down
1 change: 1 addition & 0 deletions src/languages/n1ql.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Contributors: Rene Saarsoo <nene@triin.net>
Description: Couchbase query language
Website: https://www.couchbase.com/products/n1ql
Category: database
*/

export default function(hljs) {
Expand Down
1 change: 1 addition & 0 deletions src/languages/nix.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Language: Nix
Author: Domen Kožar <domen@dev.si>
Description: Nix functional language
Website: http://nixos.org/nix
Category: system
*/

export default function(hljs) {
Expand Down
1 change: 1 addition & 0 deletions src/languages/nsis.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Language: NSIS
Description: Nullsoft Scriptable Install System
Author: Jan T. Sott <jan.sott@gmail.com>
Website: https://nsis.sourceforge.io/Main_Page
Category: scripting
*/

import * as regex from '../lib/regex.js';
Expand Down
1 change: 1 addition & 0 deletions src/languages/oxygene.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Language: Oxygene
Author: Carlo Kok <ck@remobjects.com>
Description: Oxygene is built on the foundation of Object Pascal, revamped and extended to be a modern language for the twenty-first century.
Website: https://www.elementscompiler.com/elements/default.aspx
Category: build-system
*/

export default function(hljs) {
Expand Down
1 change: 1 addition & 0 deletions src/languages/pgsql.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Description:
- Function names deliberately are not highlighted. There is no way to tell function
call from other constructs, hence we can't highlight _all_ function names. And
some names highlighted while others not looks ugly.
Category: database
*/

export default function(hljs) {
Expand Down
1 change: 1 addition & 0 deletions src/languages/pony.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Author: Joe Eli McIlvain <joe.eli.mac@gmail.com>
Description: Pony is an open-source, object-oriented, actor-model,
capabilities-secure, high performance programming language.
Website: https://www.ponylang.io
Category: system
*/

export default function(hljs) {
Expand Down
1 change: 1 addition & 0 deletions src/languages/powershell.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Description: PowerShell is a task-based command-line shell and scripting languag
Author: David Mohundro <david@mohundro.com>
Contributors: Nicholas Blumhardt <nblumhardt@nblumhardt.com>, Victor Zhou <OiCMudkips@users.noreply.github.com>, Nicolas Le Gall <contact@nlegall.fr>
Website: https://docs.microsoft.com/en-us/powershell/
Category: scripting
*/

export default function(hljs) {
Expand Down
1 change: 1 addition & 0 deletions src/languages/prolog.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Language: Prolog
Description: Prolog is a general purpose logic programming language associated with artificial intelligence and computational linguistics.
Author: Raivo Laanemets <raivo@infdot.com>
Website: https://en.wikipedia.org/wiki/Prolog
Category: functional
*/

export default function(hljs) {
Expand Down
1 change: 1 addition & 0 deletions src/languages/purebasic.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Author: Tristano Ajmone <tajmone@gmail.com>
Description: Syntax highlighting for PureBASIC (v.5.00-5.60). No inline ASM highlighting. (v.1.2, May 2017)
Credits: I've taken inspiration from the PureBasic language file for GeSHi, created by Gustavo Julio Fiorenza (GuShH).
Website: https://www.purebasic.com
Category: system
*/

// Base deafult colors in PB IDE: background: #FFFFDF; foreground: #000000;
Expand Down
1 change: 1 addition & 0 deletions src/languages/q.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Description: Q is a vector-based functional paradigm programming language built
(K/Q/Kdb+ from Kx Systems)
Author: Sergey Vidyuk <svidyuk@gmail.com>
Website: https://kx.com/connect-with-us/developers/
Category: enterprise, functional, database
*/

export default function(hljs) {
Expand Down
1 change: 1 addition & 0 deletions src/languages/routeros.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Language: MikroTik RouterOS script
Author: Ivan Dementev <ivan_div@mail.ru>
Description: Scripting host provides a way to automate some router maintenance tasks by means of executing user-defined scripts bounded to some event occurrence
Website: https://wiki.mikrotik.com/wiki/Manual:Scripting
Category: scripting
*/

// Colors from RouterOS terminal:
Expand Down
2 changes: 1 addition & 1 deletion src/languages/ruby.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Description: Ruby is a dynamic, open source programming language with a focus on
Website: https://www.ruby-lang.org/
Author: Anton Kovalyov <anton@kovalyov.net>
Contributors: Peter Leonov <gojpeg@yandex.ru>, Vasily Polovnyov <vast@whiteants.net>, Loren Segal <lsegal@soen.ca>, Pascal Hurni <phi@ruby-reactive.org>, Cedric Sohrauer <sohrauer@googlemail.com>
Category: common
Category: common, system
*/

export default function(hljs) {
Expand Down
1 change: 1 addition & 0 deletions src/languages/sas.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Language: SAS
Author: Mauricio Caceres <mauricio.caceres.bravo@gmail.com>
Description: Syntax Highlighting for SAS
Category: scientific
*/

/** @type LanguageFn */
Expand Down
1 change: 1 addition & 0 deletions src/languages/smali.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Language: Smali
Author: Dennis Titze <dennis.titze@gmail.com>
Description: Basic Smali highlighting
Website: https://github.com/JesusFreke/smali
Category: assembler
*/

export default function(hljs) {
Expand Down
1 change: 1 addition & 0 deletions src/languages/smalltalk.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Language: Smalltalk
Description: Smalltalk is an object-oriented, dynamically typed reflective programming language.
Author: Vladimir Gubarkov <xonixx@gmail.com>
Website: https://en.wikipedia.org/wiki/Smalltalk
Category: system
*/

export default function(hljs) {
Expand Down
1 change: 1 addition & 0 deletions src/languages/step21.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Language: STEP Part 21
Contributors: Adam Joseph Cook <adam.joseph.cook@gmail.com>
Description: Syntax highlighter for STEP Part 21 files (ISO 10303-21).
Website: https://en.wikipedia.org/wiki/ISO_10303-21
Category: syntax
*/

export default function(hljs) {
Expand Down
1 change: 1 addition & 0 deletions src/languages/subunit.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Language: SubUnit
Author: Sergey Bronnikov <sergeyb@bronevichok.ru>
Website: https://pypi.org/project/python-subunit/
Category: protocols
*/

export default function(hljs) {
Expand Down
1 change: 1 addition & 0 deletions src/languages/taggerscript.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Language: Tagger Script
Author: Philipp Wolfer <ph.wolfer@gmail.com>
Description: Syntax Highlighting for the Tagger Script as used by MusicBrainz Picard.
Website: https://picard.musicbrainz.org
Category: scripting
*/
export default function(hljs) {
const NOOP = {
Expand Down
1 change: 1 addition & 0 deletions src/languages/tcl.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Language: Tcl
Description: Tcl is a very simple programming language.
Author: Radek Liska <radekliska@gmail.com>
Website: https://www.tcl.tk/about/language.html
Category: scripting
*/

export default function(hljs) {
Expand Down
Loading

0 comments on commit 7bcf01e

Please sign in to comment.