An open API service indexing awesome lists of open source software.

https://github.com/justintime50/muffinscript-vscode

Syntax highlighting for the MuffinScript programming language.
https://github.com/justintime50/muffinscript-vscode

extension highlighting language muffin muffinscript programming syntax vscode

Last synced: 19 days ago
JSON representation

Syntax highlighting for the MuffinScript programming language.

Awesome Lists containing this project

README

          

# MuffinScript VS Code Extension

The [MuffinScript VS Code Extension](https://marketplace.visualstudio.com/items?itemName=JustinHammond.muffinscript) adds syntax highlighting support to VS Code for the [MuffinScript programming language](https://github.com/justintime50/muffinscript).

MuffinScript files may look something like this:

```ms
// Variable assignment and printing
foo = "hello world"
p(foo)

// Simple arithmetic (add, subtract, multiply, divide, modulo)
p(2 + 2.5)

// Concatenate strings
p(cat("I say ", foo))

// If statements
if (foo == bar) {
p(true)
} else {
p(false)
}

// For loops
for (item in [1, 2, 3]) {
p(item + 1)
}
```

## Installation

### Marketplace Installation

1. Open VS Code
2. Go to the Extensions menu
3. Search for "MuffinScript"
4. Install

Alternatively, [install directly from this link](https://marketplace.visualstudio.com/items?itemName=JustinHammond.muffinscript).

### Manual Installation

1. Open VS Code
2. Go to the Extensions menu
3. Select 3 dots in the menu bar, select `Install from VSIX`
4. Select available VSIX file (extension packaged up) or build from source (see [Development](#development)) below

If you need a screenshot of this, checkout

## Development

```shell
# Install the `vsce` tool
npm install -g @vscode/vsce

# Package the extension
vsce package

# Release the extension (pre-releases must have different versions than GA releases)
vsce publish --pre-release
vsce publish
```