<commit_before># nsL Assembler for SublimeText

[![The MIT License](https://img.shields.io/badge/license-MIT-orange.svg?style=flat-square)](http://opensource.org/licenses/MIT)
[![GitHub release](https://img.shields.io/github/release/idleberg/nsL-Assembler-Sublime-Text.svg?style=flat-square)](https://github.com/idleberg/nsL-Assembler-Sublime-Text/releases)
[![Travis](https://img.shields.io/travis/idleberg/nsL-Assembler-Sublime-Text.svg?style=flat-square)](https://travis-ci.org/idleberg/nsL-Assembler-Sublime-Text)

[nsL Assembler](http://sourceforge.net/projects/nslassembler/) syntax definitions, command completions and build system for [Sublime Text](http://www.sublimetext.com/).

nsL is a new C-like programming language for writing [NSIS](http://nsis.sourceforge.net) installation wizards. The nsL assembler takes nsL code and translates it into original NSIS script which can then be compiled.

![Screenshot](https://raw.github.com/idleberg/nsL-Assembler-Sublime-Text/master/screenshot.png)

## Installation

### Package Control

1. Make sure you already have [Package Control](http://wbond.net/sublime_packages/package_control/) installed
2. Choose “*Install Package*” from the Command Palette (<kbd>Super</kbd>+<kbd>Shift</kbd>+<kbd>p</kbd>)
3. Type “*nsL Assembler*” and press <kbd>Enter</kbd>

With [auto_upgrade](http://wbond.net/sublime_packages/package_control/settings/) enabled, Package Control will keep all installed packages up-to-date!

### GitHub

1. Change to your Sublime Text `Packages` directory
2. Clone repository `git clone https://github.com/idleberg/nsL-Assembler-Sublime-Text.git 'nsL Assembler'`

### Manual installation

1. Download the latest [stable release](https://github.com/idleberg/nsL-Assembler-Sublime-Text/releases)
2. Unzip the archive to your Sublime Text `Packages` directory

## Usage

### Completions

You can complete all nsL (and NSIS) commands using the `Tab` key. Hit `Tab` again to jump between fields.

### Scaffolding

Scaffolding snippets start with the prefix scaffold followed by the type of script you'd like to build:

* Basic Script
* MUI2 Script

Example:

With Sublime Text's fuzzy search in mind, you could for instance type `scaffBasic` to trigger the `scaffold:Basic Script`snippet and create the following script:<commit_msg>update Package Control link<commit_after># nsL Assembler for SublimeText

[![The MIT License](https://img.shields.io/badge/license-MIT-orange.svg?style=flat-square)](http://opensource.org/licenses/MIT)
[![GitHub release](https://img.shields.io/github/release/idleberg/nsL-Assembler-Sublime-Text.svg?style=flat-square)](https://github.com/idleberg/nsL-Assembler-Sublime-Text/releases)
[![Travis](https://img.shields.io/travis/idleberg/nsL-Assembler-Sublime-Text.svg?style=flat-square)](https://travis-ci.org/idleberg/nsL-Assembler-Sublime-Text)

[nsL Assembler](http://sourceforge.net/projects/nslassembler/) syntax definitions, command completions and build system for [Sublime Text](http://www.sublimetext.com/).

nsL is a new C-like programming language for writing [NSIS](http://nsis.sourceforge.net) installation wizards. The nsL assembler takes nsL code and translates it into original NSIS script which can then be compiled.

![Screenshot](https://raw.github.com/idleberg/nsL-Assembler-Sublime-Text/master/screenshot.png)

## Installation

### Package Control

1. Make sure you already have [Package Control](https://packagecontrol.io/) installed
2. Choose “*Install Package*” from the Command Palette (<kbd>Super</kbd>+<kbd>Shift</kbd>+<kbd>p</kbd>)
3. Type “*nsL Assembler*” and press <kbd>Enter</kbd>

With [auto_upgrade](http://wbond.net/sublime_packages/package_control/settings/) enabled, Package Control will keep all installed packages up-to-date!

### GitHub

1. Change to your Sublime Text `Packages` directory
2. Clone repository `git clone https://github.com/idleberg/nsL-Assembler-Sublime-Text.git 'nsL Assembler'`

### Manual installation

1. Download the latest [stable release](https://github.com/idleberg/nsL-Assembler-Sublime-Text/releases)
2. Unzip the archive to your Sublime Text `Packages` directory

## Usage

### Completions

You can complete all nsL (and NSIS) commands using the `Tab` key. Hit `Tab` again to jump between fields.

### Scaffolding

Scaffolding snippets start with the prefix scaffold followed by the type of script you'd like to build:

* Basic Script
* MUI2 Script

Example:

With Sublime Text's fuzzy search in mind, you could for instance type `scaffBasic` to trigger the `scaffold:Basic Script`snippet and create the following script:
{'fraction_non_alphanumeric': 0.12701876909646442, 'fraction_numerical': 0.003491924923614142, 'mean_word_length': 5.383008356545961, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, 'https://': 17, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2416437', 'n_tokens_mistral': 1536, 'n_tokens_neox': 1495, 'n_words': 392}