Skip to content

sinclairday/dylan-bbedit-clm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Dylan CLM

Codeless Language Module for BBEdit.

Features

  • Syntax coloring
  • Function menu population
  • Code folding
  • Recognizes class, function, method, macro definitions
  • Assigns Dylan language to files with ".dylan" extension

Installation

  1. Clone this repo or download the Dylan.plist CLM file

  2. Install CLM into BBEdit

    cp Dylan.plist "~/Library/Application\ Support/BBEdit/Language\ Modules"
    
  3. Restart BBEdit

  4. Check BBEdit's Language settings, verifying Dylan is listed and enabled.

Usage

  1. For reliable code folding, the final end must echo the type declaration.

  2. For example, use end method; instead of end;.

    define method generate-id (val :: <string>) => (id :: <integer>)
        // code...
    end method;
  3. The CLM will recognize macro DSL's that follow a similar "define" form. Example:

    define token-handler header
        // code...
    end token-handler;

Reference

About

BBEdit CLM (Codeless Language Module) for Dylan

Topics

Resources

Stars

Watchers

Forks