{"id":27721345,"url":"https://github.com/idleberg/sublime-nsl-assembler","last_synced_at":"2026-01-30T12:32:56.125Z","repository":{"id":15828965,"uuid":"18568829","full_name":"idleberg/sublime-nsl-assembler","owner":"idleberg","description":"nsL Assembler syntax definitions and build system for Sublime Text","archived":false,"fork":false,"pushed_at":"2020-08-11T13:39:12.000Z","size":618,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-10T20:35:27.982Z","etag":null,"topics":["bridlensis","nsis","nsl","nsl-assembler","sublime-build","sublime-completions","sublime-syntax","sublime-text","tmlanguage","transpiler"],"latest_commit_sha":null,"homepage":"","language":"Batchfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/idleberg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-04-08T17:53:41.000Z","updated_at":"2023-06-20T12:05:21.000Z","dependencies_parsed_at":"2022-08-25T15:02:33.999Z","dependency_job_id":null,"html_url":"https://github.com/idleberg/sublime-nsl-assembler","commit_stats":null,"previous_names":[],"tags_count":49,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idleberg%2Fsublime-nsl-assembler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idleberg%2Fsublime-nsl-assembler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idleberg%2Fsublime-nsl-assembler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idleberg%2Fsublime-nsl-assembler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/idleberg","download_url":"https://codeload.github.com/idleberg/sublime-nsl-assembler/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idleberg%2Fsublime-nsl-assembler/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259048952,"owners_count":22797839,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bridlensis","nsis","nsl","nsl-assembler","sublime-build","sublime-completions","sublime-syntax","sublime-text","tmlanguage","transpiler"],"created_at":"2025-04-27T10:06:09.852Z","updated_at":"2026-01-30T12:32:56.119Z","avatar_url":"https://github.com/idleberg.png","language":"Batchfile","readme":"# nsL Assembler for SublimeText\n\n[![The MIT License](https://img.shields.io/badge/license-MIT-orange.svg?style=flat-square)](http://opensource.org/licenses/MIT)\n[![Package Control](https://packagecontrol.herokuapp.com/downloads/nsL%20Assembler.svg?style=flat-square)](https://packagecontrol.io/packages/nsL%20Assembler)\n[![GitHub release](https://img.shields.io/github/release/idleberg/sublime-nsl-assembler.svg?style=flat-square)](https://github.com/idleberg/sublime-nsl-assembler/releases)\n[![Travis](https://img.shields.io/travis/idleberg/sublime-nsl-assembler.svg?style=flat-square)](https://travis-ci.org/idleberg/sublime-nsl-assembler)\n[![Gitter](https://img.shields.io/badge/chat-Gitter-ed1965.svg?style=flat-square)](https://gitter.im/NSIS-Dev/SublimeText)\n\n[nsL Assembler](http://sourceforge.net/projects/nslassembler/) syntax definitions, command completions and build system for [Sublime Text](http://www.sublimetext.com/).\n\nnsL 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.\n\n**Note**: This package is compatible with Sublime Text 3 ([Build 3103](http://www.sublimetext.com/blog/articles/sublime-text-3-build-3103) or higher). Click [here](https://github.com/idleberg/sublime-nsl-assembler/tree/subl2) for a Sublime Text 2 version of this package.\n\n![Screenshot](https://raw.github.com/idleberg/sublime-nsl-assembler/master/screenshot.png)\n\n*Screenshot using [Hopscotch](https://github.com/idleberg/Hopscotch) color scheme*\n\n## Installation\n\n### Package Control\n\n1. Make sure you already have [Package Control](https://packagecontrol.io/) installed\n2. Choose *“Install Package”* from the Command Palette (\u003ckbd\u003eSuper\u003c/kbd\u003e+\u003ckbd\u003eShift\u003c/kbd\u003e+\u003ckbd\u003ep\u003c/kbd\u003e)\n3. Type *“nsL Assembler”* and press \u003ckbd\u003eEnter\u003c/kbd\u003e\n\nWith [auto_upgrade](http://wbond.net/sublime_packages/package_control/settings/) enabled, Package Control will keep all installed packages up-to-date!\n\n### Using Git\n\n1. Change to your Sublime Text `Packages` directory\n2. Clone repository `git clone https://github.com/idleberg/sublime-nsl-assembler.git 'nsL Assembler'`\n\n### Manual installation\n\n1. Download the latest [stable release](https://github.com/idleberg/sublime-nsl-assembler/releases)\n2. Unzip the archive to your Sublime Text `Packages` directory\n\n## Usage\n\n### Completions\n\nYou can complete all nsL (and NSIS) commands using the `Tab` key. Hit `Tab` again to jump between fields.\n\n### Scaffolding\n\nScaffolding snippets start with the prefix scaffold followed by the type of script you'd like to build:\n\n* Basic Script\n* MUI2 Script\n\nExample:\n\nWith 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:\n\n```cpp\n// Scaffolding by https://github.com/idleberg/sublime-nsl-assembler\n\n// Settings ---------------------------------\nName(\"installer_name\");\nOutFile(\"installer_name.exe\");\nRequestExecutionLevel(user);\nInstallDir($PROGRAMFILES . \"\\\\installer_name\");\n\n// Includes ---------------------------------\n\n\n// Pages ------------------------------------\npage Components();\npage Directory();\npage InstFiles();\n\n// Sections ---------------------------------\nsection section_index(\"section_name\") {\n\n\t// your code here\n\n}\n\n// Functions --------------------------------\n```\n\nUse Tab to jump to the next relevant bit of code you might want to change, Shift-Tab to jump back.\n\n### Building\n\nYou can build your script using the default shortcut or from the Tools menu. Output scripts will be placed in the same folder as your input. Note that as of Windows Vista you need administrative rights to compile scripts in `%PROGRAMFILES%`, which is the default location for nsL example scripts!\n\nShould the build system be unable to locate the compiler, you should probably re-install NSIS to make sure required registry keys are created. Alternatively, you can specify the install location in the [environment variable](http://superuser.com/a/284351/195953) `%NSIS_HOME%`. In case of a *Permission denied* error, change the permissions of the Bash script: `chmod +x build.sh`.\n\n## License\n\nThis work is licensed under the [The MIT License](LICENSE).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidleberg%2Fsublime-nsl-assembler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fidleberg%2Fsublime-nsl-assembler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidleberg%2Fsublime-nsl-assembler/lists"}