Skip to content

About

CuffScript syntax highlighting extension for VSCode

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

CuffScript Syntax Highlighting VSCode Extension

Syntax highlighting vscode extension for CuffScript, a lightweight scripting language with readable, natural-language-like syntax.

use DLC:string

class Greeter do:
    str name = "World"

    func greet(str person) do:
        return f"Hello, {person}!"
    end
end

Greeter g = Greeter()
note: prints Hello, Ann!
print(g.greet("Ann"))

Features

  • Colours .cuff files: keywords, types, functions, classes, numbers, comments and strings, including f-strings.
  • Colours pattern literals (p"[num]+"i) down to their tokens, groups, repeats and flags.
  • Knows the built-in functions and those of the libraries (use DLC:...) as of CuffScript 6.4.
  • Sets up comments (note:), brackets and quotes for the language.

Install

Download the .vsix file, then in VS Code open the Extensions view, choose the ... menu and Install from VSIX.... Or from a terminal:

code --install-extension cuffscript-v[version number].vsix

License

Apache License 2.0, like CuffScript. See LICENSE.

Note

If CuffScript's syntax or keywords change, this extension will change as well.

About

CuffScript syntax highlighting extension for VSCode

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Contributors