Skip to content

Atom language support for nsL Assembler, including grammar, snippets and build system

License

Notifications You must be signed in to change notification settings

idleberg/atom-language-nsl

Repository files navigation

atom-language-nsl

License Release Downloads CI

Atom language support for nsL Assembler, including grammar, snippets and build system

Screenshot

Installation

Note

The following guide assumes that you're by now using Pulsar, a community-driven fork of the Atom editor. Should you still be using Atom, use apm command instead of ppm.

Package Manager

Install language-nsl from the editor's Package Manager or the command-line equivalent:

$ ppm install language-nsl

Using Git

Change to your Atom packages directory:

Windows

# Powershell
$ cd $Env:USERPROFILE\.pulsar\packages
:: Command Prompt
$ cd %USERPROFILE%\.pulsar\packages

Linux & macOS

$ cd ~/.pulsar/packages/

Clone repository as language-nsl:

$ git clone https://github.com/idleberg/atom-language-nsl language-nsl

Inside the cloned directory, install its dependencies:

$ ppm ci

Build the source:

$ ppm run build

Package Dependencies

This package automatically installs third-party packages it depends on. You can prevent this by disabling the Manage Dependencies option in the package settings.

Usage

Building

As of recently, this package contains a build system to translate nsL code into NSIS script and transpile it. To do so, select Nsl Assembler: Save & Transpile” from the command-palette or use the keyboard shortcut.

Make sure to specify the path for nsL.jar in the package settings. There you can also customize the flags for the transpiler.

Example:

"language-nsl":
  pathToJar: "%PROGRAMFILES(X86)%\\NSIS\\NSL\\nsL.jar"
  customArguments: ["/nopause", "/nomake"]

Third-party packages

Should you already use the build package, you can install the build-nsl provider to build your code.

License

This work is licensed under The MIT License.

About

Atom language support for nsL Assembler, including grammar, snippets and build system

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Contributors 3

  •  
  •  
  •