Syntax highlighting configuration for Logic Development Language + (LDL+), a proprietary language developed by Unisys Corporation. LDL+ is the evolution of LDL, introduced with Unisys's Agile Business Suite (AB Suite aka ABS). It extends LDL with object-oriented features and runs within a Microsoft Visual Studio-based IDE. AB Suite targets Unisys ClearPath systems as well as Java and .NET platforms. Keywords were sourced directly from the official Unisys language documentation.
- Sublime Text (.sublime-syntax)
- Notepad++ (.XML)
- VSCode (.tmLanguage.json)
- Clone the ldlplus/sublime-text repo to your local machine. Take note of where you cloned it to or the location you downloaded it to.
- Open Sublime Text.
- Navigate to Preferences -> Browse Packages

- This will open a new file explorer window. Use it to create a new folder called "ldlplus" in this directory. This will contain all the configurations for the LDL+ syntax.

- Copy "ldlplus.sublime-syntax" and "ldlplus.tmPreferences" into this new "Packages\ldlplus" folder.

- Your Sublime Text editor should be enabled to use LDL+ syntax. You will be able to see it listed as "LDL+" in the slideout dropdown menu View -> Syntax, labeled alphabetically. You can start using the LDL+ syntax on documents by naming them with the .ldlp file extension or selecting the Syntax from the Syntax Menu.

- Clone the ldlplus/notepad-plus-plus repo to your local machine. Take note of where you cloned it to or the location you downloaded it to.
- Open Notepad++.
- Navigate to the menu bar and click Language.

- Slide your mouse down to hover on "User Defined Language" which should open a separate menu of options. Click "Define your Language..." and a new window will pop up.

- Click the "Import..." button. This will open a window that allows you to search for the repo you cloned in step 1.

- Within that repo, select the ldlplus.xml file and click Open.

- You should have a successful import. You will be able to see it listed as "LDL+" in the dropdown menu labeled "User language" in the top left. You can close out of the window and start using the LDL+ syntax on documents by naming them with the .ldlp file extension.

- If the import failed, return to step 3 and try the step sequence again.
LDL+ supports inline comments denoted by a colon (:), which comment out only the word or phrase directly following the colon rather than the remainder of the line. Due to constraints in the Notepad++ User Defined Language (UDL) system, which does not support regex-based token boundaries, comment highlighting in Notepad++ will highlight everything following a colon to the end of the line. This means the assignment operator (:=) will be highlighted as a comment. This is a limitation of the UDL format and not a bug in the configuration itself. For slightly more accurate inline comment highlighting, use the Sublime Text configuration included in this repository, or the Agile Business Suite (ABS) IDE.
LDL+ supports inline comments denoted by a colon (:), which comments out only the word or phrase directly following the colon rather than the remainder of the line. Due to constraints in the Sublime Syntax system, comment highlighting in Sublime Text will highlight everything following a colon to the end of the line unless the colon is followed by an "=" equals sign. This is due to LDL+ assignment operation being represented by ":=". This is a limitation of the format and not a bug in the configuration itself. For accurate inline comment highlighting, use the Agile Business Suite (ABS) IDE.
Sublime Text scope was created based on scope naming conventions found here Notepad++ scope was created using UDL definitions found here ~